I've been following this thread with interest, as I'm having a similar problem with installing midgard-php4.
I'm using mod_midgard-1.4.1-5.tar with FreeBSD 4.3 My error messages are similar but not identical to the ones that Stelios Issaias quoted at the beginning of this thread. I get: aclocal: macro `AC_ADD_LIBPATH' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_LIBRARY' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_LIBRARY_WITH_PATH' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_INCLUDE' defined in acinclude.m4 but never used ./aclocal.m4:813: error: m4_defn: undefined macro: _m4_divert_diversion ./aclocal.m4:359: PHP_SUBST is expanded from... ./aclocal.m4:813: the top level ./aclocal.m4:813: error: m4_defn: undefined macro: _m4_divert_diversion ./aclocal.m4:359: PHP_SUBST is expanded from... ./aclocal.m4:813: the top level autoconf: tracing failed ./mkall: ./configure: permission denied The reason that ./configure gets a "permission denied" is simply that the configure file is created with 0 bytes. I've examined the mkall script and the line that calls configure consists of several commands: "phpize && ./configure --with-midgard$MIDGARD_PATH && make install" If I just run phpize I get the above error output, except for the last line. Obviously, I cannot follow Martin Hierling's advice, ie " So, search for LIBS="-l $LIBS" in the configure script and delete the whole line" since I don't get as far as creating that file. Any suggestions on what to try? I've had a look at the phpize script but cannot figure out what its purpose is - sorry, could someone explain? I've also tried running aclocal to see if this fixes anything, but I get: aclocal: macro `AC_ADD_LIBPATH' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_LIBRARY' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_LIBRARY_WITH_PATH' defined in acinclude.m4 but never used aclocal: macro `AC_ADD_INCLUDE' defined in acinclude.m4 but never used (I don't know whether this is relevant, but I'm using autoconf 2.52 - I had earlier been using autoconf 2.13 but using it gave me error messages: "checking for executable suffix... configure: error: installation or configuration problem: compiler cannot create executables.") I find all this rather baffling. Any ideas, anyone? Jerry Bate --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
