Hi.
I've tried to do the configure -Script of midgard-php4-1.4.1-7 after
building the libs and module and
got the following results.
The System is based on Suse 7.2 with missing php-devel, so I had to
rebuild a new phpsource.
sun:/#cd midgard-php4-1.4.1-7
sun:/#export CFLAGS="$CFAGS -DHAVE_MIDGARD=1 -DCOMPILE_DL_MIDGARD=1"
sun:/#phpize
phpize
aclocal: macro `AC_ADD_LIBPATH' 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_LIBRARY' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_INCLUDE' defined in acinclude.m4 but never used
You should update your `aclocal.m4' by running aclocal.
Something seems to be wrong?!
./configure --with-apxs=/usr/sbin/apxs
--with-mysql=/usr/
--with-midgard=/usr/local/midgard
--with-xml
--with-system-regex
--enable-track-vars
....
compiler cannot create executables
______________________________________________________
extract from config.log
return __CYGWIN__;
; return 0; }
configure:2059: checking for mingw32 environment
configure:2071: gcc -c -DHAVE_MIDGARD=1 -DCOMPILE_DL_MIDGARD=1
-I/usr/include/glib-1.2 -I/usr/lib/glib/include conftest.c 1>&5
configure: In function `main':
configure:2067: `__MINGW32__' undeclared (first use in this function)
configure:2067: (Each undeclared identifier is reported only once
configure:2067: for each function it appears in.)
configure: failed program was:
#line 2064 "configure"
#include "confdefs.h"
int main() {
return __MINGW32__;
; return 0; }
configure:2163: checking host system type
configure:2184: checking build system type
configure:2213: checking for ld used by GCC
configure:2281: checking if the linker (/usr/i486-suse-linux/bin/ld) is
GNU ld
GNU ld version 2.10.91 (with BFD 2.10.91.0.4)
configure:2298: checking for /usr/i486-suse-linux/bin/ld option to
reload object files
configure:2310: checking for BSD-compatible nm
configure:2348: checking whether ln -s works
configure:2369: checking how to recognise dependant libraries
configure:2542: checking for object suffix
configure:2548: gcc -c -DHAVE_MIDGARD=1 -DCOMPILE_DL_MIDGARD=1
-I/usr/include/glib-1.2 -I/usr/lib/glib/include conftest.c 1>&5
configure:2568: checking for executable suffix
configure:2578: gcc -o conftest -DHAVE_MIDGARD=1 -DCOMPILE_DL_MIDGARD=1
-I/usr/include/glib-1.2 -I/usr/lib/glib/include conftest.c -l
-L/usr/lib -lglib 1>&5
/usr/i486-suse-linux/bin/ld: cannot find -l--library=glib
collect2: ld returned 1 exit status
________________________________________________
Any ideas? The glib and the develpackage is installed, but don't no
exactly to analyze the message.
With regards
Andreas Niemeyer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]