irix compile error (4.0.4pl1): libpq

From: Date: Wed, 21 Mar 2001 23:24:40 +0000
Subject: irix compile error (4.0.4pl1): libpq
Groups: php.general 
Request: Send a blank email to php-general+get-45026@lists.php.net to get a copy of this message
okay, i'm trying to compile on an irix 5.3 box ... configure gives some sort of warning/error, and this is what's in debug.log: --------------------------------------------------------------------------- - CONFIGURE: './configure' '--with-mysql' '--with-apache=../apache_1.3.19/' '--w ith-openssl' '--with-imap' '--enable-magic-quotes' '--with-curl' '--enable-ftp' '--with-pgsql' '--enable-trans-sid' CC: gcc CFLAGS: -O2 CPPFLAGS: CXX: CXXFLAGS: INCLUDES: -I/disk2/usr/people/paul/apache_1.3.19/src/include -I/disk2/usr/peo ple/paul/apache_1.3.19/src/os/unix -I$(top_builddir)/Zend -I/usr/local/ssl/incl ude -I/usr/local/include -I/disk2/usr/people/paul/php-4.0.4pl1/ext/mysql/libmysq l LDFLAGS: -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/ local/lib -L/usr/local/lib -Wl,-rpath,/lib -L/lib LIBS: -lpq -lcurl -lcrypto -lssl -lm -ldl -lcrypt -lsocket -lsocket DLIBS: -lc-client SAPI: apache PHP_RPATHS: /usr/local/ssl/lib /usr/local/lib /lib uname -a: IRIX imprint 5.3 02091401 IP22 mips gcc -o conftest -O2 -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rp ath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/lib -L/lib conftest.c -lpq -lcur l -lcrypto -lssl -lm -ldl -lcrypt -lsocket -lsocket 1>&5 /usr/bin/../lib/ld: Can't locate file for: -lpq collect2: ld returned 1 exit status --------------------------------------------------------------------------- - make gives a different error: main.c: In function `php_message_handler_for_zend': main.c:582: too few arguments to function `asctime_r' make[2]: *** [main.lo] Error 1 make[2]: Leaving directory `/disk2/usr/people/paul/php-4.0.4pl1/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/disk2/usr/people/paul/php-4.0.4pl1/main' make: *** [all-recursive] Error 1 --------------------------------------------------------------------------- - anyone know how to fix this? Paul shad 96c / 4B CS / mac activist / eda / fumbler fan of / jewel / sophie b. / sarah slean / steve poltz / emm gryner / / x-files / buffy / dawson's creek / habs / bills / 49ers / t h i n k d i f f e r e n t. i chained my angel to the eavestrough / it was november and i think i pissed him off / -- Sarah Slean, "Angel"

« previous php.general (#45026) next »