Bug #773: Errnonous Makefiles for new php release

From: Date: Wed, 23 Sep 1998 15:35:25 +0000
Subject: Bug #773: Errnonous Makefiles for new php release
Groups: php.dev 
Request: Send a blank email to php-dev+get-1441@lists.php.net to get a copy of this message
From: chabotc@ism.nl Operating system: Linux-glibc-2.0.35 PHP version: 3.0.4 PHP Bug Type: Compile Failure Bug description: Errnonous Makefiles for new php release After downloading the new php (3.0.4) and the new apache deamon (1.3.2) i tried to install the whole thing ... and im no greeny when it comes to installing php/apache :P After folowing the usual process (eg apache config, php setup, make etc) i did the normal config line for the apache deamon .. eg --with...etc then i found the libphp3.a is not made by the normal php make scripts only a libmodphp3.a and a libphp3.module ... After some searching in the makefiles in the src/modules/php3 dir i found that the folowing command fixed my situation: make libphp3.a ======================= gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX -DSERVER_SUBVERSION=\"PHP/3.0.4\" ../../apaci mod_php3.c cp libmodphp3.a libphp3.a ar r libphp3.a mod_php3.o ranlib libphp3.a ====================== Now it all compiled fine ... But any users whom are less experianced with hacking makefiles will asuredly run into problems .. Specialy since this is not the normal behaviour, nor is it documented in the readme/install files... Hope this big report helps, Chris Chabot -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1441) next »