From owner-freebsd-questions@FreeBSD.ORG Sat Feb 26 20:17:12 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 620EF16A4E0 for ; Sat, 26 Feb 2005 20:17:12 +0000 (GMT) Received: from mail1.simplenet.com (mailer.simplenet.com [209.132.1.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21A9443D1F for ; Sat, 26 Feb 2005 20:17:12 +0000 (GMT) (envelope-from tt-list@simplenet.com) Received: from [192.168.1.106] (24.25.210.244) by mail1.simplenet.com (7.0.016) (authenticated as tt@simplenet.com) id 4220574D0001A386 for freebsd-questions@freebsd.org; Sat, 26 Feb 2005 11:50:23 -0800 Message-ID: <4220D306.2010802@simplenet.com> Date: Sat, 26 Feb 2005 11:50:30 -0800 From: Tim Traver User-Agent: Mozilla Thunderbird 1.0 - [MOOX M3] (Windows/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Trouble Compiling 4.3.10 on FreeBSD 5.X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2005 20:17:13 -0000 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.