Problem with installing PHP 4.3.6, Solaris 8 and Apache 2

From: Date: Wed, 19 May 2004 17:23:24 +0000
Subject: Problem with installing PHP 4.3.6, Solaris 8 and Apache 2
Groups: php.install 
Request: Send a blank email to php-install+get-13506@lists.php.net to get a copy of this message
I am trying to set up a system using Solaris 8, Apache 2.0.49 and PHP version 4.3.6. I have searched the mailing list archive for the following options and have not found an answer. Using gcc, I complied PHP successfully using the following arguments: ./configure --with-apxs=/web/apache/bin/apxs --enable-track-vars --with-gd --with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib --with-zlib-dir=/usr/lib/ --with-xml --with-gettext --with-pear --with-pgsql=/usr/pgsql When doing make (/usr/ccs/bin/make) I get the following errors: /bin/sh /export/home/software_pkgs/php-4.3.6/libtool --silent --preserve-dup-deps --mode=compile gcc -I/web/apache/include -Isapi/apache/ -I/export/home/software_pkgs/php-4.3.6/sapi/apache/ -DPHP_ATOM_INC -I/export/home/software_pkgs/php-4.3.6/include -I/export/home/software_pkgs/php-4.3.6/main -I/export/home/software_pkgs/php-4.3.6 -I/export/home/software_pkgs/php-4.3.6/Zend -I/usr/local/include -I/usr/pgsql/include -I/export/home/software_pkgs/php-4.3.6/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -I/export/home/software_pkgs/php-4.3.6/TSRM -g -O2 -prefer-pic -c /export/home/software_pkgs/php-4.3.6/sapi/apache/sapi_apache.c -o sapi/apache/sapi_apache.lo /export/home/software_pkgs/php-4.3.6/sapi/apache/sapi_apache.c: In function `apache_php_module_main': /export/home/software_pkgs/php-4.3.6/sapi/apache/sapi_apache.c:45: error: `NOT_FOUND' undeclared (first use in this function) /export/home/software_pkgs/php-4.3.6/sapi/apache/sapi_apache.c:45: error: (Each undeclared identifier is reported only once /export/home/software_pkgs/php-4.3.6/sapi/apache/sapi_apache.c:45: error: for each function it appears in.) *** Error code 1 make: Fatal error: Command failed for target `sapi/apache/sapi_apache.lo' I checked for the files and found this... # ls sapi/apache/ CREDITS config.m4 mod_php4.exp php4apache.dsp sapi_apache.c apMakefile.libdir libphp4.module.in mod_php4.h php_apache.c apMakefile.tmpl mod_php4.c php.sym php_apache_http.h Where is the sapi_apache.lo files? What am I missing? Thanks in advance... Jim Kerick Quality Engineer Arsenal Digital Solutions office: (919) 466 - 6757 fax: (919) 466 - 6783 cell: (919) 412 - 8615

« previous php.install (#13506) next »