dear maintainers, I've got a problem compiling php-4.0.3pl1 on Irix 6.5.12 with gcc 2.95.2 and gmake 3.79.1. I've also tried out earlier and older versions with gcc and the native Irix compiler. I can't get it running. This one is debug.log : CONFIGURE: './configure' '--prefix=/usr/local/www' '--with-apxs=/usr/local/www/bin/apxs' '--with-db3' '--enabl e-ftp' '--enable-libgcc' '--with-ldap' '--with-tsrm-pthreads' CC: gcc -mabi=n32 CFLAGS: -g -O2 CPPFLAGS: CXX: CXXFLAGS: INCLUDES: -I/usr/local/www/include -I$(top_builddir)/Zend -I$(top_srcdir ) -I/usr/local/src/php-4.0.3pl1/ext/ mysql/libmysql LDFLAGS: -L/usr/local/BerkeleyDB.3.2static -L/usr/lib32 -Wl,-rpath,/usr/f reeware/lib/gcc-lib/mips-sgi-irix6.2 /2.95.2 -L/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2 LIBS: -l -lm -ldl -lcrypt -lsocket -lpthread -lsocket -lgcc DLIBS: SAPI: apache PHP_RPATHS: /usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2 uname -a: IRIX gps 6.5 04131232 IP22 gcc -mabi=n32 -o conftest -g -O2 -L/usr/local/BerkeleyDB.3.2static -L/usr/lib32 -Wl,-rpath,/ usr/freeware/lib/gc c-lib/mips-sgi-irix6.2/2.95.2 -L/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2 .95.2 conftest.c -l -lm -ldl -lcrypt -lsocket -lpthread -lsocket -lgcc 1>&5 ld32: FATAL 9 : I/O error (-l-lm): No such file or directory collect2: ld returned 32 exit status What means -l & -lm ? Is it the standard /usr/lib32/libc.so.1 or the math library or both ? The strange thing is when removing the complete directory and recopying the source the message dissapears but when once running simply gmake it says : Making all in Zend gmake[1]: Entering directory `/usr/local/src/php-4.0.3pl1/Zend'/bin/sh ../libtool --silent --mode=compile c -DHAVE_CONFIG_H -I. -I. -I.. -DXML_BYTE_ORDER=12 -g -O2 -c zend-scanner.c /bin/sh ../libtool --silent --mode=link gcc -g -O2 -o libZend_c.la zend-scanner.lo ../libtool[3315]: ranlib: not found gmake[1]: *** [libZend_c.la] Error 127 gmake[1]: Leaving directory `/usr/local/src/php-4.0.3pl1/Zend' gmake: *** [all-recursive] Error 1 I've set these enviroment varibables before running ./configure --prefix=/usr/local/www --with-apxs=/usr/local/www/bin/apxs --wi th-db3 --enable-ftp --enable-libgcc --with-ldap --with-tsrm-pthreads : LIBS="-lpthread" CC="gcc -mabi=n32 " LDFLAGS="-L/usr/local/BerkeleyDB.3.2static -L/usr/lib32" And when ignoring the -l -lm warning in debug.log it stops after a while with these lines : my_getwd.c:58: #error "No way to get current directory" gmake[4]: *** [my_getwd.lo] Error 1 gmake[4]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext/mysql/libmysql' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext/mysql/libmysql' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext/mysql' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext' gmake: *** [all-recursive] Error 1 Can you please help my out ? I really need Apache and php with ldap-support to run LDAP-Explorer on that damned Irix 6.5.12 machine. best regards, Jan Zeller -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]