Bug #18047 Updated: "make install" fails

From: Date: Mon, 01 Jul 2002 15:15:52 +0000
Subject: Bug #18047 Updated: "make install" fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12661@lists.php.net to get a copy of this message
ID: 18047 Updated by: chris@phi-web.co.uk Reported By: chris@phi-web.co.uk Status: Feedback Bug Type: Compile Failure Operating System: PS2 Linux PHP Version: 4.2.1 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-06-30 09:32:13] chris@phi-web.co.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-06-30 08:39:05] chris@phi-web.co.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-29 23:36:43] 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-29 21:59:35] chris@phi-web.co.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-28 11:07:50] chris@phi-web.co.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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18047&edit=1

« previous php.bugs (#12661) next »