php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #773 Errnonous Makefiles for new php release
Submitted: 1998-09-23 11:35 UTC Modified: 1998-09-23 11:39 UTC
From: chabotc at ism dot nl Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.4 OS: Linux-glibc-2.0.35
Private report: No CVE-ID: None
 [1998-09-23 11:35 UTC] chabotc at ism dot nl
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-09-23 11:39 UTC] rasmus
No, you are wrong.  libphp3.a is not supposed to exist.  The Apache build-process will create that.  You should trust and follow the instructions as written.  (This is question 4.9 in the FAQ)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 09 10:01:31 2024 UTC