Bug #18068: Trouble with Make failing
| From: | turbog at teamknightrider dot com | Date: | Sun, 30 Jun 2002 04:10:32 +0000 |
| Subject: | Bug #18068: Trouble with Make failing | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-12565@lists.php.net to get a copy of this message | ||
From: turbog@teamknightrider.com
Operating system: Redhat 7.3
PHP version: 4.1.2
PHP Bug Type: Compile Failure
Bug description: Trouble with Make failing
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 bug report at http://bugs.php.net/?id=18068&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18068&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18068&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18068&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18068&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18068&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18068&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18068&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18068&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18068&r=globals