Re: php4.0.4pl1 & pgsql7.1b4 compile error

From: Date: Mon, 19 Mar 2001 02:20:25 +0000
Subject: Re: php4.0.4pl1 & pgsql7.1b4 compile error
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2498@lists.php.net to get a copy of this message
i tried that.. but still no dice. i also tried build a static version of the php binary but i got the following error upon performing a 'make' on the apache 1.3.19 directory: <cut> ===> src/modules/php4 make[4]: *** No rule to make target `all'. Stop. make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/usr/local/src/TAR/apache_1.3.19/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/usr/local/src/TAR/apache_1.3.19' make: *** [build] Error 2 </cut> a 'make clean' on the apache directory also creates the following error: <cut> ===> src/modules/php4 make[4]: *** No rule to make target `clean'. Stop. make[3]: *** [clean] Error 1 make[2]: *** [clean] Error 1 make[2]: Leaving directory `/usr/local/src/TAR/apache_1.3.19/src' make[1]: *** [clean-std] Error 2 make[1]: Leaving directory `/usr/local/src/TAR/apache_1.3.19' make: *** [clean] Error 2 </cut> possibly my problem is that i have a previous install of php (4.0 beta) installed on this machine. for the record, the apache and the php directories are fresh from tar archives. also, more importantly, i would like to have the DSO install work which was outputting the following error upon 'apachectl startssl' (or even just 'apachectl start'): <cut> Syntax error on line 207 of /usr/local/apache-1.3.19/conf/httpd.conf: Cannot load /usr/local/apache-1.3.19/libexec/libphp4.so into server: /usr/local/apache-1.3.19/libexec/libphp4.so: undefined symbol: PQoidValue /usr/local/apache-1.3.19/bin/apachectl startssl: httpd could not be started </cut> pls help. -- mike hanulec http://www.hanulec.com aol im: hanulec EFnet irc: hanulec On Sat, 17 Mar 2001, Jani Taskinen wrote: > > Try adding '--with-openssl=/path/to/openssl/' into your configure line. > > --Jani > > > On Fri, 16 Mar 2001, Michael R Hanulec wrote: > > > > >i also failed to mention i'm attempting this compile on a linux box > >originally based on Red Hat 6.2 > > > >-- > >mike hanulec http://www.hanulec.com > >aol im: hanulec EFnet irc: hanulec > > > >On Fri, 16 Mar 2001, Michael R Hanulec wrote: > > > >> 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 > >> > >> > >> > >> > >> -- > >> PHP Install Mailing List (http://www.php.net/) > >> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > >> For additional commands, e-mail: php-install-help@lists.php.net > >> To contact the list administrators, e-mail: php-list-admin@lists.php.net > >> > >> > > > > > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.install (#2498) next »