ok, and to add a few more things I just saw when doing a make of php:

/bin/sh /opt/build/php-4.2.0/libtool --silent --mode=compile
gcc  -I. -I/opt/build/php-4.2.0/sapi/apache -I/opt/build/php-4.2.0/main -I/o
pt/build/php-4.2.0 -I/software/apache/include -I/opt/build/php-4.2.0/Zend -I
/software/mysql/include/mysql -I/software/pgsql/include -I/opt/build/php-4.2
.0/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -D_REENTRANT -D_
LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_PERL_SSI -D_REENTRANT -D_LARGE
FILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL -I/opt/build/php-4.2.0/TSRM -g
 -O2 -prefer-pic  -c sapi_apache.c
In file included from /software/apache/include/httpd.h:72,
                 from sapi_apache.c:32:
/software/apache/include/ap_config.h:1386: warning: `XtOffsetOf' redefined
/opt/build/php-4.2.0/main/php.h:346: warning: this is the location of the
previous definition

/bin/sh /opt/build/php-4.2.0/libtool --silent --mode=compile
gcc  -I. -I/opt/build/php-4.2.0/sapi/apache -I/opt/build/php-4.2.0/main -I/o
pt/build/php-4.2.0 -I/software/apache/include -I/opt/build/php-4.2.0/Zend -I
/software/mysql/include/mysql -I/software/pgsql/include -I/opt/build/php-4.2
.0/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -D_REENTRANT -D_
LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_PERL_SSI -D_REENTRANT -D_LARGE
FILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL -I/opt/build/php-4.2.0/TSRM -g
 -O2 -prefer-pic  -c mod_php4.c
In file included from /software/apache/include/httpd.h:72,
                 from mod_php4.c:32:
/software/apache/include/ap_config.h:1386: warning: `XtOffsetOf' redefined
/opt/build/php-4.2.0/main/php.h:346: warning: this is the location of the
previous definition

/bin/sh /opt/build/php-4.2.0/libtool --silent --mode=compile
gcc  -I. -I/opt/build/php-4.2.0/sapi/apache -I/opt/build/php-4.2.0/main -I/o
pt/build/php-4.2.0 -I/software/apache/include -I/opt/build/php-4.2.0/Zend -I
/software/mysql/include/mysql -I/software/pgsql/include -I/opt/build/php-4.2
.0/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -D_REENTRANT -D_
LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_PERL_SSI -D_REENTRANT -D_LARGE
FILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL -I/opt/build/php-4.2.0/TSRM -g
 -O2 -prefer-pic  -c php_apache.c
In file included from php_apache_http.h:6,
                 from php_apache.c:45:
/software/apache/include/ap_config.h:1386: warning: `XtOffsetOf' redefined
/opt/build/php-4.2.0/main/php.h:346: warning: this is the location of the
previous definition

Dunno if this will help any, but I guess better safe than sorry.

Dan
----- Original Message -----
From: "Dan Stilts" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 12:00 PM
Subject: PHP 4.2.0 install problems


> Hi all,
>
> I am currently trying to compile PHP 4.2.0 as an .so for Apache. First,
some
> system info:
>
> PHP 4.2.0
> Apache 1.3.24 w/modperl 1.26 compiled in.
> Solaris 8 Sparc
>
> Here is the configure command I ran:
>
>
./configure --with-mysql=/software/mysql --enable-calendar --with-apxs=/soft
>
ware/apache/bin/apxs --with-db3=/usr/local/BerkeleyDB --with-pgsql=/software
> /pgsql --with-gettext
>
> Now everything looks good when I configure, make and make install, but the
> problem comes when I try to fire up Apache. I recieve the following:
>
> Syntax error on line 17 of /usr/local/apache/conf/httpd.conf:
> Cannot load /software/apache/libexec/libphp4.so into server: ld.so.1:
> /software/apache/bin/httpd: fatal: relocation error: file
> /software/apache/libexec/libphp4.so: symbol __cmpdi2: referenced symbol
not
> found
>
> Line 17 of the httpd.conf file reads:
>
> LoadModule php4_module        libexec/libphp4.so
>
> I think that covers it all. Any help would be great.
>
> Thanks,
> Dan
>
>
>


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to