(See attached file: config.log)
the log says that cant find glib which is installed i ve modified the configure file removed the line do I need to remove the whole line or the extra -l ________________________________ Stelios Issaias Technical Lead Amaze Ltd Condor House 5-14 St Paul's Churchyard London EC4M 8BE Tel: +44 (0)207 332 5620 Direct : +44 (0)207 332 5646 Fax: +44 (0)207 248 4082 Email: [EMAIL PROTECTED] Web: http://www.amaze.com Martin Hierling To: [EMAIL PROTECTED] <[EMAIL PROTECTED] cc: pe.de> Subject: Re: [midgard-user] php4 mkall issues 28/09/2001 13:12 Please respond to user OK, thats an different error. try sh -x ./configure --with-midgard Have a look in config.log, last 3 or 5 lines, ther should be someting like: configure:2553: checking for executable suffix configure:2563: gcc -o conftest -g -O2 -I/opt/glib-1.2.10/include/glib-1.2 -I/opt/glib-1.2.10/lib/glib/include -I/usr/local/include/mysql -I/usr/local/include -I/opt/midgard-1.4.2/include -I/opt/apache-1.3.20/include conftest.c -l -L/opt/midgard-1.4.2/lib -L/opt/local/lib -R/opt/local/lib -L/usr/local/lib -lmysqlclient -L/usr/local/lib -lexpat -lsocket -lnsl -lm -lz -L/opt/glib-1.2.10/lib -lglib -lmidgard 1>&5 ld: fatal: library -l-lmysqlclient: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status And the Problem is "...nclude conftest.c -l -L/opt/m..." especially the extra "-l" , dont know exactly why but it comes from this part of the confgure script: LIBS="-l $LIBS" It is there 2 times, and looks like it has something to do with thread libs (pthread). So, search for LIBS="-l $LIBS" in the configure script and delete the whole line. Then try it again! But you should only do this when you have found the extra "-l" in the gcc line. I think this is a Unix Problem (or a Problem that anybody develops on Linux). I've made the same intallation on SuSE Linux without problems. So, Emile, you should have a look at that. regards Martin On Fri, Sep 28, 2001 at 12:57:33PM +0100, [EMAIL PROTECTED] wrote: > > I ve installed autocnf, automake, libtoolize > > When I run ./mkall this is what I get: > > > > midgard1# ./mkall > 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 > You should update your `aclocal.m4' by running aclocal. > creating cache ./config.cache > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a > cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking whether gcc and cc understand -c and -o > together... yes > checking for PHP prefix... /usr/local > checking for PHP includes... -I/usr/local/include/php > -I/usr/local/include/php/main -I/usr/loc > al/include/php/Zend -I/usr/local/include/php/TSRM > checking for PHP extension directory... > /usr/local/lib/php/extensions/no-debug-non-zts-2000122 > 2 > checking for bison... no > checking for byacc... byacc > checking how to run the C preprocessor... gcc -E > checking for flex... flex > checking for yywrap in -lfl... yes > checking lex output file root... lex.yy > checking whether yytext is a pointer... yes > checking for flex... (cached) flex > checking for midgard support... yes, shared > checking for apxs... /usr/sbin/apxs > checking for glib-config... /usr/local/bin/glib-config > checking for midgard experimental functions support... no > checking for Cygwin environment... no > checking for mingw32 environment... no > checking host system type... i386-unknown-freebsd4.1.1 > checking build system type... i386-unknown-freebsd4.1.1 > checking for ld used by GCC... /usr/libexec/elf/ld > checking if the linker (/usr/libexec/elf/ld) is GNU ld... > yes > checking for /usr/libexec/elf/ld option to reload object > files... -r > checking for BSD-compatible nm... /usr/bin/nm -B > checking whether ln -s works... yes > checking how to recognise dependant libraries... pass_all > checking for object suffix... o > checking for executable suffix... configure: error: > installation or configuration problem: com > piler cannot create executables. > midgard1# > > > > ________________________________ > > Stelios Issaias > > Technical Lead > > Amaze Ltd > Condor House > 5-14 St Paul's Churchyard > London EC4M 8BE > > Tel: +44 (0)207 332 5620 > Direct : +44 (0)207 332 5646 > Fax: +44 (0)207 248 4082 > > Email: [EMAIL PROTECTED] > Web: http://www.amaze.com > > > > > > Martin > Hierling To: [EMAIL PROTECTED] > <[EMAIL PROTECTED] cc: > pe.de> Subject: Re: [midgard-user] php4 mkall issues > > 28/09/2001 > 12:18 > Please respond > to user > > > > > > > Hi, > > > I am installing midgard-1.4.1 into my freeBSD 4.2 box > > > > everything compiled ok except php4 > > I ve tried both the stable version and the snapshot version. > > > > Any ideas? > > > > midgard1# ./mkall > > aclocal: not found > > autoconf: Undefined macros: > > ***BUG in Autoconf--please report*** AC_ADD_LIBRARY_WITH_PATH > > ***BUG in Autoconf--please report*** AC_ADD_INCLUDE > > ***BUG in Autoconf--please report*** AC_ADD_LIBRARY > > ***BUG in Autoconf--please report*** AC_ADD_INCLUDE > > configure.in:43:AC_PROG_LIBTOOL > > libtoolize: not found > > > You need some gnu tools for that: > http://www.gnu.org/software/libtool/libtool.html > http://www.gnu.org/software/autoconf/autoconf.html > only 2.13 works. 2.50 fails (in my case) > http://www.gnu.org/software/automake/ > > After installion them or downgrade autoconf, try again. > > gruss Martin > > -- > mailto: `echo [EMAIL PROTECTED] | sed 's/[NOSPAM]//g'` > ---------------------------------------------------------------- > Computers All Wait at the Same Speed! > ---------------------------------------------------------------- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Dipl.-Ing. Martin Hierling - DV-Zentrale FH-Lippe - Raum 343 Liebigstr. 87 - 32657 Lemgo - Germany Tel.: +49-(0)5261 - 702-433 - Fax: +49-(0)5261 - 702-467 mailto: `echo [EMAIL PROTECTED] | sed 's/[NOSPAM]//g'` ---------------------------------------------------------------- "C++" should have been called "D" ---------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
config.log
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
