php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18047 "make install" fails
Submitted: 2002-06-28 11:07 UTC Modified: 2002-07-01 11:25 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: chris at phi-web dot co dot uk Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: PS2 Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chris at phi-web dot co dot uk
New email:
PHP Version: OS:

 

 [2002-06-28 11:07 UTC] chris at phi-web dot co dot uk
Apache 2.0.39 in /usr/local/apache2
MySQL 3.23.51 in /usr/local/mysql

Both work fine.

I ran ./configure --prefix=/usr/local/php4 --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --host=PS2L

Although configure complains about the "PS2L", it fails to autodetect it so I made one up :)

I was using the previous (release) 4.2.1 but I came across a bug suggesting my "make" problem was fixed, so I downloaded the newest from the CVS (200206280000). Now it fails on "make install" with:

mv: cannot move '/usr/local/apache2/modules/' to a subdirectory of itself, '/usr/local/apache2/modules/libphp4.so'
chmod 755 /usr/local/apache2/modules/libphp4.so
chmod: /usr/local/apache2/modules/libphp4.so: No such file or directory
apxs:Error: command failed with rc=65536
.
make: *** [install-sapi] Error 1

That's after about 10 lines of "make install". Any ideas?

Thanks.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-29 21:59 UTC] chris at phi-web dot co dot uk
Well, I've tried switching to Apache 1.3.26, which also compiles the same.

Aside from switching the ./configure line to --with-apxs (no apxs2 of course), no differences. A similar error regarding the non-existence of libphp4.so is produced.

Could this be something to do with the PS2's MIPS architecture? I'm afraid I don't know too much about it.
 [2002-06-29 23:36 UTC] sniper@php.net
Do you get anything in .libs/ or libs/ directories?

And try this snapshot:

http://snaps.php.net/php4-latest.tar.gz

I just updated the bundled libtool to 1.4.2 which
might even fix this?

 [2002-06-30 08:39 UTC] chris at phi-web dot co dot uk
After compiling my current version (the last CVS build I got), in .libs/ I have:
libphp4.a libphp4.la libphp4.lai

... and in libs/ I have nothing at all.

I'll get it to work on that new CVS snapshot now. It takes a while to compile unfortunately (PS2 = 300mhz/32ram).

Thanks for your help.
 [2002-06-30 09:32 UTC] chris at phi-web dot co dot uk
Ok, I've ./configured and compiled the new snapshot, but the result is the same: there's no libphp4.so to copy :( This time it fails a lot quicker than with the release 4.2.1 or the last CVS snapshot I had.

A bit of a strange one, this....
 [2002-07-01 11:15 UTC] chris at phi-web dot co dot uk
And the problem is solved :)

Using --host=mips-linux did the trick, I found it as a recommendation for XMMS compile on the PS2 Linux Forums :)

Thanks for your help anyway.
 [2002-07-01 11:25 UTC] sniper@php.net
Let's close this then. Not worth making it FAQ, PS2 LAMP is not really that common. 

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 14:01:29 2024 UTC