Bitcoin Forum

Other => Beginners & Help => Topic started by: tuaris on October 10, 2012, 09:13:47 PM



Title: Problem Building PushPoold in FreeBSD
Post by: tuaris on October 10, 2012, 09:13:47 PM
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?


Title: Re: Problem Building PushPoold
Post by: tuaris on October 11, 2012, 09:47:34 AM
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 (ftp://ftp.morante.net/pub/FreeBSD/extra/bitcoin/i386/pushpoold-0.5.1.tbz)

You're Welcome.  ;)
Donations accepted at: 1B6eyXVRPxdEitW5vWrUnzzXUy6o38P9wN


Title: Re: Problem Building PushPoold in FreeBSD
Post by: tuaris on October 12, 2012, 12:05:11 AM
Here is the 64-bit package for FreeBSD 9.0

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

You're Welcome.   ;)
Donations accepted at: 1B6eyXVRPxdEitW5vWrUnzzXUy6o38P9wN