Hi,
first, thanks for your work on LibRaw, it is very much appreciated.
Now, i'm running into problems, when trying to build from the latest sources from github. (I used the zip-download from github.)
Some context: I'm on Mac OSX 10.8.5. I could successfully build libraw from latest release version (0.16 from libraw.org) via "./configure, make, make install".
But i could not find the 'configure' script in the github-zip. Is there a documented or recommended way to generate the configure script for Mac?
I tried running autoconf, but got the following errors:
configure.ac:3: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:10: error: possibly undefined macro: AC_PROG_LIBTOOL configure.ac:11: error: possibly undefined macro: AC_ENABLE_SHARED configure.ac:12: error: possibly undefined macro: AC_ENABLE_STATIC configure.ac:13: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL configure.ac:14: error: possibly undefined macro: AC_LIBTOOL_SETUP configure.ac:15: error: possibly undefined macro: AC_SUBST configure.ac:43: error: possibly undefined macro: AC_MSG_WARN configure.ac:135: error: possibly undefined macro: AM_CONDITIONAL
a 'configure' script was generated anyway, but it generates the folowing errors:
./configure: line 2069: syntax error near unexpected token `foreign' ./configure: line 2069: `AM_INIT_AUTOMAKE(foreign no-define)'
I'm not experienced with autoconf, if i'm asking noob questions not related to your software, please tell me so, and i will try to read up on autoconf. I just didn't want to start messing with 'configure.ac' for no reason.
Thanks
Johann
Just use make -f Makefile
Just use make -f Makefile.dist to build LibRaw. You may need to edit Makefile.dist to suit your needs.
./configure script is created by running autoreconf --install
It works fine on my FreeBSD test machine (autoconf 2.69 and automake 1.14), is your autoconf/automake stuff is fresh enough?
-- Alex Tutubalin @LibRaw LLC
Issue closed
You were right, my autoconf/automake stuff was not up to date.
I updated to autoconf 2.69 and automake 1.14, and now i get a working configure script from running
autoreconf --install
Thanks for your quick response, and have a nice day
Johann