Actions
Bug #704
closedautogen.sh fails on Mac OS X
Affected Versions:
Effort:
Difficulty:
Label:
Description
Intel Mac OS X 10.6.8, Xcode 3.2.1, Macports 2.1.2
bash-3.2$ bash autogen.sh Found glibtoolize glibtoolize: putting auxiliary files in `.'. glibtoolize: copying file `./ltmain.sh' glibtoolize: putting macros in `m4'. glibtoolize: copying file `m4/libtool.m4' glibtoolize: copying file `m4/ltoptions.m4' glibtoolize: copying file `m4/ltsugar.m4' glibtoolize: copying file `m4/ltversion.m4' glibtoolize: copying file `m4/lt~obsolete.m4' glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree. autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 configure.ac:5: error: 'AM_CONFIG_HEADER': this macro is obsolete. You should use the 'AC_CONFIG_HEADERS' macro instead. /opt/local/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from... configure.ac:5: the top level autom4te: /opt/local/bin/gm4 failed with exit status: 1 aclocal: error: echo failed with exit status: 1 autoreconf: aclocal failed with exit status: 1
Versions:
bash-3.2$ aclocal --version aclocal (GNU automake) 1.13.1 bash-3.2$ automake --version automake (GNU automake) 1.13.1 bash-3.2$ autoconf --version autoconf (GNU Autoconf) 2.69 bash-3.2$ glibtoolize --version libtoolize (GNU libtool) 2.4.2
Updated by Victor Julien almost 12 years ago
Running this instead of autogen.sh works:
glibtoolize -c AUTOMAKE=/usr/bin/automake-1.10 ACLOCAL=/usr/bin/aclocal-1.10 autoreconf -fvi -I /opt/local/share/aclocal/ ./configure --prefix=/opt/suricata-git && make clean && make
It forces to use the installed 1.10 automake. Also, it manually includes /opt/local/share/aclocal/ where pkg.m4 can be found. Otherwise pkg-config fails to work.
Updated by Jason Ish almost 12 years ago
Pull request sent on github:
https://github.com/inliniac/suricata/pull/302
Tested on Mac, Fedora 18 and CentOS 6.
Updated by Victor Julien almost 12 years ago
- Status changed from New to Closed
- Assignee set to Jason Ish
- Target version set to 1.4.1
Tested Debian 5, OpenBSD 5.2 and Ubuntu 12.10. Think it's safe :) Merged https://github.com/inliniac/suricata/pull/302
Thanks Jason!
Actions