Author

Topic: Latest bitcoin .git not autogenerating with C++ errors on raspberry pi node (Read 1985 times)

newbie
Activity: 29
Merit: 0
there seem to be many errors there for different things, but lets start from the top.

check libtool is installed and autoconf/autotools

sudo apt-get install libtool-dev libtool autoconf autotools-dev

if not add LT_INIT to configure.ac

then try
full member
Activity: 124
Merit: 100
I had a similar problem a long time tormented but I helped one site now try to find it in history.
But my Linux Gentoo
newbie
Activity: 14
Merit: 1
EDIT - Please ignore, figured it out I was missing some dependencies after the fresh install. Anyone who may read this please run this command to fix -
Code:
sudo apt-get install autoconf libtool libssl-dev libboost-all-dev libminiupnpc-dev libevent-dev libncurses5-dev -y

EDIT 2 - added libevent-dev libncurses5-dev to cmd above, was getting missing libevent error.

Trying to upgrade to the latest version but getting a lot of errors. After cloning the git and running ./autogen.sh I get the following output -

Quote
pi@raspberrypi:~/bin/bitcoin $ ./autogen.sh
Makefile.am:8: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:8:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:8:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:8:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:8:   its definition is in aclocal's search path.
/usr/share/automake-1.14/am/depend2.am: error: am__fastdepCXX does not appear in AM_CONDITIONAL
/usr/share/automake-1.14/am/depend2.am:   The usual way to define 'am__fastdepCXX' is to add 'AC_PROG_CXX'
/usr/share/automake-1.14/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again
/usr/share/automake-1.14/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.14/am/depend2.am:   The usual way to define 'AMDEP' is to add one of the compiler tests
/usr/share/automake-1.14/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
/usr/share/automake-1.14/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/usr/share/automake-1.14/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again
Makefile.am: error: C++ source seen but 'CXX' is undefined
Makefile.am:   The usual way to define 'CXX' is to add 'AC_PROG_CXX'
Makefile.am:   to 'configure.ac' and run 'autoconf' again.
autoreconf: automake failed with exit status: 1

After editing configure.ac and adding AC_PROG_CXX to it below AC_INIT I get the same errors, and right above it I get the following errors -

Quote
pi@raspberrypi:~/bin/bitcoin $ ./autogen.sh
configure.ac:11: error: m4_defn: undefined macro: _AC_LANG
../../lib/autoconf/lang.m4:107: AC_LANG_POP is expanded from...
../../lib/autoconf/c.m4:694: AC_PROG_CXX is expanded from...
configure.ac:11: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

I just upgraded my PI 2 to Jessie, 5/10 and did a apt-get update/upgrade before trying to install so the pi is fully up to date. Hopefully one of you wizards can help me as my linux is rusty Smiley

I
Jump to: