Bitcoin Forum
May 11, 2024, 08:09:14 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Problem Building PushPoold in FreeBSD  (Read 930 times)
tuaris (OP)
Hero Member
*****
Offline Offline

Activity: 765
Merit: 500



View Profile WWW
October 10, 2012, 09:13:47 PM
Last edit: October 11, 2012, 09:51:15 AM by tuaris
 #1

I receive the following error when building pushpoold:

Code:
server.o: In function `parse_opt':
/root/pushpoold/work/jgarzik-pushpool-4d959b8/server.c:142: undefined reference to `argp_usage'
/root/pushpoold/work/jgarzik-pushpool-4d959b8/server.c:125: undefined reference to `argp_usage'
server.o: In function `main':
/root/pushpoold/work/jgarzik-pushpool-4d959b8/server.c:1206: undefined reference to `argp_parse'
*** Error code 1


argp.h exists in /usr/local/include/ and libargp.so is in /usr/local/lib
/usr/local/lib/ and /usr/local/include/ have already bee added to the compiler/linker.

What is the problem?

1715458154
Hero Member
*
Offline Offline

Posts: 1715458154

View Profile Personal Message (Offline)

Ignore
1715458154
Reply with quote  #2

1715458154
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715458154
Hero Member
*
Offline Offline

Posts: 1715458154

View Profile Personal Message (Offline)

Ignore
1715458154
Reply with quote  #2

1715458154
Report to moderator
1715458154
Hero Member
*
Offline Offline

Posts: 1715458154

View Profile Personal Message (Offline)

Ignore
1715458154
Reply with quote  #2

1715458154
Report to moderator
tuaris (OP)
Hero Member
*****
Offline Offline

Activity: 765
Merit: 500



View Profile WWW
October 11, 2012, 09:47:34 AM
Last edit: October 12, 2012, 12:03:52 AM by tuaris
 #2

Problem Solved

I have created the port and categorized it under "net-p2p/pushpoold".  It's not part of the mainline ports tree yet, but should be soon.  I spent at least 15 hours getting it to build, and putting together all the components.

My hard work on this makes setting up your own pushpoold server as easy as (Of course this will only work on FreeBSD):

Code:
cd /usr/ports/net-p2p/pushpoold
make install
cp /usr/local/share/examples/pushpoold/pushpool.conf.sample /usr/local/etc/pushpool.conf
echo 'pushpool_enable="YES"' >> /etc/rc.conf
service pushpool start

It's not available in the ports tree yet, but here is a link to the pre-compliled package for FreebSD 9.0 i386:
ftp://ftp.morante.net/pub/FreeBSD/extra/bitcoin/i386/pushpoold-0.5.1.tbz

You're Welcome.  Wink
Donations accepted at: 1B6eyXVRPxdEitW5vWrUnzzXUy6o38P9wN

tuaris (OP)
Hero Member
*****
Offline Offline

Activity: 765
Merit: 500



View Profile WWW
October 12, 2012, 12:05:11 AM
 #3

Here is the 64-bit package for FreeBSD 9.0

ftp://ftp.morante.net/pub/FreeBSD/extra/bitcoin/amd64/pushpoold-0.5.1.tbz

You're Welcome.   Wink
Donations accepted at: 1B6eyXVRPxdEitW5vWrUnzzXUy6o38P9wN

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!