Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Needs more build notes #5

Open
ChristopherA opened this issue Jul 8, 2017 · 3 comments
Open

Needs more build notes #5

ChristopherA opened this issue Jul 8, 2017 · 3 comments

Comments

@ChristopherA
Copy link

The three build commands worked fine on my Mac, but on a default install of Debian 8 (and probably Ubuntu) it needs more details.

By default autoconf is not installed, so sudo apt-get install autoconf is required.

Then when try autogenI get:

$ ./autogen.sh
configure.ac:20: installing 'build-aux/compile'
configure.ac:5: installing 'build-aux/config.guess'
configure.ac:5: installing 'build-aux/config.sub'
configure.ac:9: installing 'build-aux/install-sh'
configure.ac:9: installing 'build-aux/missing'
Makefile.am:3: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:3:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:3:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:3:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:3:   its definition is in aclocal's search path.
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
autoreconf: automake failed with exit status: 1

I have tried running $ aclocal but unfortunately it does not fix the problem. Not a debian expert so not sure what I'm missing.

@jonasschnelli
Copy link
Owner

Is libtool installed?
sudo apt-get install libtool

@ChristopherA
Copy link
Author

Yes, that was what was missing. Thanks!

BTW, do you have any example C code that demonstrates using libbtc anywhere?

@jonasschnelli
Copy link
Owner

There are no well documented examples.
The most educative parts are the tests (test/*.c) and the tools (src/tools/*.c) which are basically examples how to use libbtc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants