Re: irix compile error (4.0.4pl1): libpq

From: Date: Thu, 22 Mar 2001 00:37:44 +0000
Subject: Re: irix compile error (4.0.4pl1): libpq
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45038@lists.php.net to get a copy of this message
Do you have llibpq in your system? Is it under path /usr/lib or /usr/local/lib? If not, get PostgreSQL source, create lib, specify Pgsql install location for configure. If this does not help, I don't know.... Regards, -- Yasuo Ohgaki "Paul Schreiber" <pjschrei@undergrad.math.uwaterloo.ca> wrote in message news:200103212312.SAA05724@imprint2.uwaterloo.ca... > 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" > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#45038) next »