Bug #18068 Updated: Trouble with Make failing
| From: | sniper@php.net | Date: | Sun, 30 Jun 2002 04:15:35 +0000 |
| Subject: | Bug #18068 Updated: Trouble with Make failing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12566@lists.php.net to get a copy of this message | ||
ID: 18068
Updated by: sniper@php.net
Reported By: turbog@teamknightrider.com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Redhat 7.3
PHP Version: 4.1.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-06-30 00:10:30] turbog@teamknightrider.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18068&edit=1