php4.0.4pl1 & pgsql7.1b4 compile error

From: Date: Sat, 17 Mar 2001 01:25:20 +0000
Subject: php4.0.4pl1 & pgsql7.1b4 compile error
Groups: php.install 
Request: Send a blank email to php-install+get-2436@lists.php.net to get a copy of this message
hello. today i've been trying to compile apache 1.3.19, mod_ssl 2.8.1, php 4.0.4pl1, IMAP and pgsql 7.1b4 and have been getting the following error: <cut> Making all in pgsql make[2]: Entering directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' make[3]: Entering directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' /bin/sh /usr/local/src/TAR/php-4.0.4pl1/libtool --silent --mode=compile gcc -I. -I/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql -I/usr/local/src/TAR/php-4.0.4pl1/m ain -I/usr/local/src/TAR/php-4.0.4pl1 -I/usr/local/apache-1.3.19/include -I/usr/ local/src/TAR/php-4.0.4pl1/Zend -I/usr/local/src/TAR/imap-2001.BETA.SNAP-0103150 052/c-client -I/usr/local/include -I/usr/local/src/TAR/php-4.0.4pl1/ext/xml/expa t/xmltok -I/usr/local/src/TAR/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr/local/s rc/TAR/php-4.0.4pl1/TSRM -I/usr/local/pgsql/include -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2 -c pgsql. c In file included from php_pgsql.h:33, from pgsql.c:29: /usr/local/pgsql/include/libpq-fe.h:29: openssl/ssl.h: No such file or directory make[3]: *** [pgsql.lo] Error 1 make[3]: Leaving directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/TAR/php-4.0.4pl1/ext/pgsql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/TAR/php-4.0.4pl1/ext' make: *** [all-recursive] Error 1 bash$ </cut> i configured php using the following: <cut> ./configure --with-apxs=/usr/local/apache-1.3.19/bin/apxs --with-imap=/usr/local/src/TAR/imap-2001.BETA.SNAP-0103150052 --with-mm=/usr/local/ --with-pgsql=/usr/local/pgsql --without-mysql </cut> i believe that possible adding the path to this ssl.h would help ex. -I/usr/local/ssl/include/openssl in the compile command. i attempted to add this to the line which failed but this threw even more errors. does anyone have any suggestions?? thx. -- mike hanulec http://www.hanulec.com aol im: hanulec EFnet irc: hanulec

« previous php.install (#2436) next »