Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Feb 2005 11:50:30 -0800
From:      Tim Traver <tt-list@simplenet.com>
To:        freebsd-questions@freebsd.org
Subject:   Trouble Compiling 4.3.10 on FreeBSD 5.X
Message-ID:  <4220D306.2010802@simplenet.com>

next in thread | raw e-mail | index | archive | help
Hi all,

for some reason, I cannot get php to compile a shared object to work
with apache 1.3.33...

Here are the config commands that I used for apache and php :

EAPI_MM=SYSTEM ./configure --enable-module=so --enable-module=info
--enable-module=status --enable-module=rewrite --enable-module=ssl
--enable-shared=ssl --disable-rule=SSL_COMPAT

apache installs and works just fine.

I use this for php :

./configure --with-apxs=/usr/local/apache/bin/apxs --enable-ftp
--with-mcrypt=/usr/local -with-openssl -enable-url-fopen-wrapper
--enable-ftp --with-gd --with-zlib --with-jpeg-dir=/usr/local/lib
--with-png-dir=/usr/local/lib --with-ttf --enable-gd-native-ttf
--with-freetype-dir=/usr/local/lib --enable-shared

It compiles ok, but when I go to install it, it gives an error :

Installing PHP SAPI module:       apache
[activating module `php4' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
cp: libs/libphp4.so: No such file or directory
apxs:Break: Command failed with rc=1
*** Error code 1

Stop in /dev/php-4.3.10.

and there is no shared object file in the libs directory.

This works just fine on a FreeBSD 4.10 client, but for some reason it
doesn't create the shared object on this 5.3 system.

More info :

System is a Dual Opteron AMD architecture, running a fresh install of
FreeBSD 5.3...

thanks,

Tim.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4220D306.2010802>