Closed kramer65 closed 8 years ago
As far as I know I've got all dependencies installed correctly
How did install all dependencies?
Note that how to build is described here
@joachimmetz - I first installed the dependencies using brew. Since that obviously didn't work, I just installed the dependencies using the suggested method with macports. They all installed without a problem, so then I ran ./autogen.sh
, which ends in:
glibtoolize: putting auxiliary files in '.'.
glibtoolize: copying file './ltmain.sh'
.libtoolize: error: AC_CONFIG_MACRO_DIRS([m4]) conflicts with ACLOCAL_AMFLAGS=-I m4
autoreconf: glibtoolize failed with exit status: 1
So I then tried on a simple Ubuntu server (on both 14.04 and 16.04). There I immediately have a problem with installing the dependencies:
$ sudo apt-get install aclocal autoconf automake libtoolize pkg-config
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package aclocal
E: Unable to locate package libtoolize
I tried continuing without installing aclocal
and libtoolize
, but when running ./autogen.sh
it ends in:
configure.ac:22: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:31: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1
Any ideas how I can continue on either OSX or Linux?
Any ideas how I can continue on either OSX or Linux?
FYI the Travis-CI build does directly build from source: https://travis-ci.org/libyal/libpff
.libtoolize: error: AC_CONFIG_MACRO_DIRS([m4]) conflicts with ACLOCAL_AMFLAGS=-I m4
Google search for this error, some explanations indicate that there might be carriage return where they don't belong due to the configuration of the git client.
E: Unable to locate package aclocal E: Unable to locate package libtoolize
Find the right package names that contain these tools, try build-essential
I tried continuing without installing aclocal and libtoolize, but when running ./autogen.sh it ends in:
You cannot
I looked at the travis.yml
file and I have no idea how it can build without installing the needed dependencies.
After some fiddling around, I finally did manage to get it working on 14.04 though. For this I had to install the following packages:
sudo apt install git autotools-dev automake autoconf libtool pkg-config make python-dev autopoint
Maybe you could possibly add it to the docs?
For any future reference (both others and myself), these are all the commands that I ran:
sudo apt install git autotools-dev automake autoconf libtool pkg-config make python-dev autopoint
git clone https://github.com/libyal/libpff.git
cd libpff/
./synclibs.sh
./autogen.sh
./configure --enable-python
make
sudo make install
sudo ldconfig
I looked at the travis.yml file and I have no idea how it can build without installing the needed dependencies.
They come pre installed ;)
Maybe you could possibly add it to the docs?
I can and will, thx for providing the list in the issue. The idea is that most people use the distribution source package, but I'll add that to a documentation update as well.
I'm trying to build libpff on OSX from the latest sources. As far as I know I've got all dependencies installed correctly, but I now get an error when running
make
:A paste of the full output for
./configure
is here: http://pastebin.com/Q4QGV2gaDoes anybody know what could possibly be wrong here? All tips are welcome!