Trying out libbitcoin (currently not compiling on ubuntu pangolin)

Amir’s sx, which is build on libbitcoin, sounds cool.

https://pay.reddit.com/r/Bitcoin/comments/1ixeh0/sx_bitcoin_utilities_new_installation/

I tried building it. Failed on make. Any advice? (Posting here with link from above reedit.)

—–
UPDATE: works on debian wheezy ootb. I’ll leave the failure messages for others who encountered same problem.

root@freedman:/etc# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.1 (wheezy)

—–

Failed on the make:

thomas@foxtail:~/libbitcoin-git$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"

unedited script, failed with

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libboost-all-dev : Depends: libboost-dev but it is not going to be installed
Depends: libboost-date-time-dev but it is not going to be installed
Depends: libboost-filesystem-dev but it is not going to be installed
Depends: libboost-graph-dev but it is not going to be installed
Depends: libboost-graph-parallel-dev but it is not going to be installed
Depends: libboost-iostreams-dev but it is not going to be installed
Depends: libboost-math-dev but it is not going to be installed
Depends: libboost-mpi-dev but it is not going to be installed
Depends: libboost-mpi-python-dev but it is not going to be installed
Depends: libboost-program-options-dev but it is not going to be installed
Depends: libboost-python-dev but it is not going to be installed
Depends: libboost-regex-dev but it is not going to be installed
Depends: libboost-serialization-dev but it is not going to be installed
Depends: libboost-signals-dev but it is not going to be installed
Depends: libboost-system-dev but it is not going to be installed
Depends: libboost-test-dev but it is not going to be installed
Depends: libboost-thread-dev but it is not going to be installed
Depends: libboost-wave-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Script edited following advice in libbitcoin read me

thomas@foxtail:~$ diff install-sx.sh install-sx-edited.sh
36c36
apt-get install build-essential autoconf libtool libboost1.48-all-dev pkg-config libcurl4-openssl-dev libleveldb-dev
thomas@foxtail:~$ diff install-sx.sh install-sx-edited.sh
# libboost-all-dev changed to libboost1.48-all-dev

Now fails on the make libbitcoin step

libtool: compile: g++ -DPACKAGE_NAME=\"libbitcoin\" -DPACKAGE_TARNAME=\"libbitcoin\" -DPACKAGE_VERSION=\"1.0.10\" "-DPACKAGE_STRING=\"libbitcoin 1.0.10\"" -DPACKAGE_BUGREPORT=\"amir@unsystem.net\
\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHA\
VE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"libbitcoin\" -DVERSION=\"1.0.10\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs\
/\" -DHAVE_CXX11=1 "-DHAVE_BOOST=/**/" -I. -I./../include -g -O2 -std=c++0x -MT getx_responder.lo -MD -MP -MF .deps/getx_responder.Tpo -c getx_responder.cpp -fPIC -DPIC -o .libs/getx_responder.o
In file included from ./../include/bitcoin/network/channel.hpp:22:0,

Advertisements

About thomashartman1

I am a crypto currency enthusiast, trader, and software developer. Contact: thomas AT standardcrypto DOT com.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s