On Saturday 2010-12-18 22:49, Jan Engelhardt wrote: >On Saturday 2010-12-18 20:50, Jozsef Kadlecsik wrote: >>>>> >>>>> ./configure: line 11510: syntax error near unexpected token `[libmnl],' >>>>> ./configure: line 11510: `PKG_CHECK_MODULES([libmnl], [libmnl >= 1])' >>>>> >>>>> CentOS' pkg-config is installed, so, for reference: I copied >>>>> '/usr/share/aclocal/pkg.m4' into the 'm4' directory, ran 'autogen.sh' >>>>> again and after that 'configure' had no problems. >>>> >>>>Autoconf has its own pitfalls... I can't reproduce it so I added >>>>'aclocal -I m4' to autogen.sh. >>> >>>That is not necessary, because we already have ACLOCAL_AMFLAGS = -I m4 >>>in Makefile.am. >> >>Yes, I know. Still I had a little hope that that'd fix the issue. >>Do you have another idea? Should for example /usr/share/aclocal/pkg.m4 be >>unconditionally copied into m4/ by autogen.sh? > >autoreconf normally has /usr/share/aclocal in its search path, >and I can say autoreconf does the job properly in CentOS 4.x. >Ima gonna setup a centos5 vm.. I tried that now, and I see no problems relating to PKG_CHECK_MODULES. Something looks flakey on the OP's machine. What has been a problem in my test is that AC_PROG_GREP is not known... I think I found a new height to RHEL obsolescence. RH5 (2007) ships autoconf 2.59 from Nov 2003. -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html