[PHP-DEV] HELP! Compiling mod_php 3.0.{5,6,7} failing on Solaris From: Rob Payne (repayne <email protected>)
Date: 03/29/99

Hello, all,

I am attempting to build the PHP module for apache on Solaris 2.5.1
and am receiving the following error, apparently no matter what
version I try:

/usr/local/apache/bin/apxs -c -o libphp3.so -L/usr/local/lib -Wl,-R'/usr/local/lib/mysql' -L/usr/local/lib/mysql -lmysqlclient -lz -ldb -lm -ldl -lsocket -lnsl -lresolv mod_php3.c libmodphp3-so.a

gcc -DSOLARIS2=251 -I/usr/local/apache/include -c mod_php3.c -o libphp3.so mod_php3.o libmodphp3-so.a -R/usr/local/lib/mysql -L/usr/local/lib -L/usr/local/lib/mysql -lmysqlclient -lz -ldb -lm -ldl -lsocket -lnsl -lresolv

apxs:Break: Command failed with rc=16711680
make: *** [libphp3.so] Error 1

I have attempted to compile PHP 3.0.5 through 3.0.7 all with the same
error message. I am building with the following configure line:

./configure \
        --with-apxs=/usr/local/apache/bin/apxs \
        --prefix=/usr/local/ \
        --with-zlib \
        --with-mysql=/usr/local \
        --shared \
        --disable-debug \
        --enable-magic-quotes \
        --enable-debugger \
        --enable-bcmath \
        --enable-sysvsem \
        --enable-sysvshm \
        --enable-track-vars

This is the first module that I have built using Apache, so it could
be a problem with my apache build, but the rest of the Apache install
seems to go fine and everything else appears to work. I have taken a
look through the mailing list archives for similar problems, but there
doesn't appear to be anything like this mentioned on Solaris.

I would appreciate any help that you can offer. Thanks, in advance.

                                -rob

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>