Why are you using --with-apxs2 when you are compiling for Apache 1.3.x ? --with-apxs2 is for Apache 2.0.x. Use --with-apxs for Apache 1.3.x
On Wed, 27 Feb 2002, Michael Galloway wrote: > good day ... > > i'm trying to build 4.1.2 for solaris 8/apache 1.3.23. here is the error i > get: > > > make[3]: Entering directory `/usr/local/php-4.1.2/sapi/apache2filter' > /bin/sh /usr/local/php-4.1.2/libtool --silent --mode=compile > /usr/local/php-4.1.2/meta_ccld -I. -I/usr/local/php-4.1.2/sapi/apache2filter > -I/usr/local/php-4.1.2/main -I/usr/local/php-4.1.2 -I/opt/1.3.23/include > -I/usr/local/php-4.1.2/Zend -I/usr/local/php-4.1.2/ext/mysql/libmysql > -I/home/oracle/8.1.7/rdbms/public -I/home/oracle/8.1.7/rdbms/demo > -I/usr/local/php-4.1.2/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS > -DSOLARIS2=280 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT > -I/usr/local/php-4.1.2/TSRM -DTHREAD=1 -g -O2 -pthreads -DZTS -prefer-pic -c > sapi_apache2.c > sapi_apache2.c:31: apr_strings.h: No such file or directory > In file included from sapi_apache2.c:32: > /opt/1.3.23/include/ap_config.h:1386: warning: `XtOffsetOf' redefined > /usr/local/php-4.1.2/main/php.h:342: warning: this is the location of the > previous definition > sapi_apache2.c:33: util_filter.h: No such file or directory > sapi_apache2.c:364: warning: `NO_DATA' redefined > /usr/include/netdb.h:402: warning: this is the location of the previous > definition > make[3]: *** [sapi_apache2.lo] Error 1 > make[3]: Leaving directory `/usr/local/php-4.1.2/sapi/apache2filter' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/usr/local/php-4.1.2/sapi/apache2filter' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/php-4.1.2/sapi' > make: *** [all-recursive] Error 1 > > my configure options were: > > /usr/local/php-4.1.2> ./configure --with-apxs2=/opt/1.3.23/bin/apxs > --with-oci8=/home/oracle/8.1.7 > > i must be doing something silly, but cannot see what it is. thanks for any > help. > > -- michael > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php