Checked out thrift from the trunk on my ubuntu box ( 9.10 ) .
The first step on the installation was running the program
$ ./bootstrap.sh
It failed with some errors , some fairly obvious (missing autoconf ) - some not so obvious.
The first step is to get autoconf installed.
$ sudo apt-get install autoconf
Then ran into this error.
$ ./bootstrap.sh
configure.ac:44: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:26: installing `./install-sh'
configure.ac:26: installing `./missing'
compiler/cpp/Makefile.am: installing `./depcomp'
configure.ac: installing `./ylwrap'
lib/cpp/Makefile.am:24: Libtool library used but `LIBTOOL' is undefined
lib/cpp/Makefile.am:24: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
lib/cpp/Makefile.am:24: to `configure.ac' and run `aclocal' and `autoconf' again.
lib/cpp/Makefile.am:24: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
lib/cpp/Makefile.am:24: its definition is in aclocal's search path.
test/Makefile.am:30: Libtool library used but `LIBTOOL' is undefined
test/Makefile.am:30: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
test/Makefile.am:30: to `configure.ac' and run `aclocal' and `autoconf' again.
test/Makefile.am:30: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
test/Makefile.am:30: its definition is in aclocal's search path.
The fix was to install libtool.
$ sudo apt-get install libtool
And then comes the boost libraries -
$ sudo apt-get install libboost1.40-dev libboost1.40-doc
(Your boost library version might be different from mine but you get the idea !!).
The first step on the installation was running the program
$ ./bootstrap.sh
It failed with some errors , some fairly obvious (missing autoconf ) - some not so obvious.
The first step is to get autoconf installed.
$ sudo apt-get install autoconf
Then ran into this error.
$ ./bootstrap.sh
configure.ac:44: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:26: installing `./install-sh'
configure.ac:26: installing `./missing'
compiler/cpp/Makefile.am: installing `./depcomp'
configure.ac: installing `./ylwrap'
lib/cpp/Makefile.am:24: Libtool library used but `LIBTOOL' is undefined
lib/cpp/Makefile.am:24: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
lib/cpp/Makefile.am:24: to `configure.ac' and run `aclocal' and `autoconf' again.
lib/cpp/Makefile.am:24: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
lib/cpp/Makefile.am:24: its definition is in aclocal's search path.
test/Makefile.am:30: Libtool library used but `LIBTOOL' is undefined
test/Makefile.am:30: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
test/Makefile.am:30: to `configure.ac' and run `aclocal' and `autoconf' again.
test/Makefile.am:30: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
test/Makefile.am:30: its definition is in aclocal's search path.
The fix was to install libtool.
$ sudo apt-get install libtool
And then comes the boost libraries -
$ sudo apt-get install libboost1.40-dev libboost1.40-doc
(Your boost library version might be different from mine but you get the idea !!).
No comments:
Post a Comment