Bug #17313 Updated: PHP4.1.2 won't get through make install
| From: | sniper@php.net | Date: | Sat, 29 Jun 2002 01:01:54 +0000 |
| Subject: | Bug #17313 Updated: PHP4.1.2 won't get through make install | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12467@lists.php.net to get a copy of this message | ||
ID: 17313
Updated by: sniper@php.net
Reported By: ari.kuorikoski@finebyte.com
-Status: Feedback
+Status: Closed
Bug Type: Compile Failure
Operating System: RedHat 7.3
PHP Version: 4.2.1
New Comment:
Should be fixed in the stable snapshots too.
(that 'make clean' thing)
Previous Comments:
------------------------------------------------------------------------
[2002-06-28 13:59:51] dswhite42@yahoo.com
I think I have the answer to this bug. I have experienced the same
thing, compiling PHP 4.2.1 under RedHat 7.3, though I couldn't figure
out why creating the "libs" directory under $srcdir (see bug #17203)
worked *sometimes*, but not always.
Further investigation has revealed why:
1) Running "configure ..." creates the "libs" directory.
2) Running "make clean" REMOVES the "libs" directory.
3) Running "make install" fails, because the "libs" directory no longer
exists, which causes the command:
/bin/sh /usr/local/src/php-4.2.1/libtool --silent --silent
--mode=install cp libphp4.la /usr/local/src/php-4.2.1/libs/libphp4.la
>/dev/null 2>&1
to die silently and break the installation with the error:
Making install in .
make[1]: Entering directory `/usr/local/src/php-4.2.1'
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.1'
make: *** [install-recursive] Error 1
So the only times it worked for me was when I skipped step 2. I
believe this is because of a change in $srcdir/build/rules.mk in this
PHP version. Line 52 in v4.2.1 is:
rm -rf .libs libs
whereas it used to be the following in v4.1.2:
rm -rf .libs
Perhaps it should be changed to something like "rm -rf .libs libs/*" ?
------------------------------------------------------------------------
[2002-06-15 23:15:06] sniper@php.net
Can you try with this snapshot:
http://snaps.php.net/php4-latest.tar.gz
I still can't reproduce this..
------------------------------------------------------------------------
[2002-05-31 08:58:32] byg@cf1.ru
I've got the same issue on RH6.2 system.
automake (GNU automake) 1.4
Autoconf version 2.13
ltmain.sh (GNU libtool) 1.3.4
GNU Make version 3.78.1
Creating libs dir solves the issue.
BTW, funny enough, the issue didn't appear at all on BC6.2 Linux and
ASPLinux 7.1 (localized and slightly enhanced RH clones).
------------------------------------------------------------------------
[2002-05-24 09:41:37] john77@hotmail.com
You must create "libs" not in the install but in the compile/unpack
directory of php-4.2.1
------------------------------------------------------------------------
[2002-05-23 16:27:19] sniper@php.net
Now I can't reproduce it anymore. Did you do this with clean sources?
If not, please try again.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17313
--
Edit this bug report at http://bugs.php.net/?id=17313&edit=1