php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18068 Trouble with Make failing
Submitted: 2002-06-30 00:10 UTC Modified: 2002-06-30 00:15 UTC
From: turbog at teamknightrider dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.1.2 OS: Redhat 7.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: turbog at teamknightrider dot com
New email:
PHP Version: OS:

 

 [2002-06-30 00:10 UTC] turbog at teamknightrider dot com
Hi, I'll make it as detailed as I can

I Have,

Linux Redhat 7.3
Apache 1.3.24
MySql 3.23.49
PHP 4.2.1

doing a LAMP install

1/ have configured Mysql make was fine also make install was fine.

2/ installed PHP with

cd /usr/local/src/php-4.2.1

./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--enable-track-vars \
--disable=debug \
--disable=ftp \
--with-trans-sid \
--enable-session \
--enable-xml
make
make install all fine.

3/ Build Apache with DSO Support 

cd /usr/local/src/apache_1.3.24

./configure \
--prefix=/usr/local/apache \
--enable-shared=max \
--enable-module=so \
--activate-module=src/modules/php4/libphp4.a

Configuring for Apache version 1.3.24
* using installation path layout: Apache (Config.layout)
* activated php3 module (modules/php4/libphp4.a)
Creating Makefile.....

this seems to work fine.

However I noticed a couple things which I checked the directory src/modules/php4 there is no libphp4.a file! so I ignore that fact because nowhere in the INSTALL (in the PHP4.1.2 directory) pages does it say you need that file in there. Also in the INSTALL file it states that you need to add the line

For apache 1.3.x

AddModule modules/php4/libphp4.a 

inside the /usr/local/src/apache_1.3.24/src/Configuration file so thats what I done.

4/ I then run Make in /usr/local/src/apache_1.3.24

which seems to go fine until..

*********
ranlib libstandard.a
==>src/modules/standard
<==src/modules/standard
==>src/modules/php4 
make[4] *** No Rule to make target 'all'. Stop. 
make[3] *** [all] Error 1 
make[2] *** [subdirs] Error 1
make[2] Leaving directory '/usr/local/apache_1.3.24/src'
make[1] *** [Build-std] Error 2
make[1] Leaving directory '/usr/local/apache_1.3.24/'
make *** [Build] Error 2

Theres no files in modules/php4 no Makefile no libphp4.a or libphp4.so or libphp4.al..

I've been pulling my hair out on this one the error message 
I'm new to this so simple instructions and comments will be helpful.

please email me at turbog@teamknightrider.com if possible.

Thanks in advance!:-)

Gordon Van Der Zee

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-30 00:15 UTC] sniper@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.

Please read the INSTALL file once more.
Hint: Don't mix static build with DSO build.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 03:01:27 2024 UTC