ID:               14245
 Comment by:       eelcon at xs4all dot nl
 Reported By:      david-shafer at uiowa dot edu
 Status:           Closed
 Bug Type:         Compile Failure
 Operating System: AIX 4.3.3
 PHP Version:      4.3.0-dev
 New Comment:

I experience the same problem on debian 3.0 php 4.3.2. It just does not
generate the libphp4.so* anywhere with or without the libtool edit
workaround.


Previous Comments:
------------------------------------------------------------------------

[2003-05-07 19:51:03] aaronjudd at yahoo dot com

Closed?

Or is something similiar still around?

Installing PHP SAPI module
[activating module `php4' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
cp: cannot stat `libs/libphp4.so': No such file or directory
apxs:Break: Command failed with rc=1
make: *** [install-sapi] Error 1


No .so files in either .lib or lib, with or w/o libtool
build_libtool_libs=yes

Redhat 9/2.4.20-9 (gcc3.2.2) / Apache 1.3.27/php 3.1

------------------------------------------------------------------------

[2003-04-08 16:16:54] dpino at krayon dot cl

Compiler:gcc Apple Computer, Inc. GCC version 1175, based on gcc
version 3.1 20020420 
Host: MacOSX 10.2.4
php 4.3.1 last stable snapshot fails in

make install:

libs/libphp4.so /usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp libs/libphp4.so
/usr/local/apache/modules/
cp libs/libphp4.so /usr/local/apache/modules/libphp4.so
cp: libs/libphp4.so: No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1

checking for the .so or so.0 in libs/ and .libs/ and there where not
compiled.(only .a and .la)

Used for configure:(config.nice dump)

/configure' \
'--with-apxs2=/usr/local/apache/bin/apxs' \
'--with-mysql' \
'--with-xml' \
'--with-gd' \
'--sysconfdir=/etc' \
'--with-zlib-dir=/usr/local/include' \
'--man=/usr/local/share/man' \
'--with-jpeg-dir=/us/local/include' \
'--prefix=/usr/local/apache/php' \
'--enable-track-vars' \
'--enable-force-cgi-redirect' \

Workaround, scfrasca's tip :
editing libtool and setting build_libtool_libs=yes.
Hope that someone fixes this, since it's been around for a year.

SAPI module not yet tested on Apache 2.0, i hope it works

------------------------------------------------------------------------

[2003-02-25 00:43:59] [EMAIL PROTECTED]

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


It works now perfectly when using GCC.
Please test that it also works with the other CC too.



------------------------------------------------------------------------

[2002-11-26 04:57:08] sfrasca at deda dot com

I have a workaround about this bag.
I have installed php 4.2.3 under Oracle AS9i on AIX 4.3.3.
The libphp4.so not is created by make because the libtool have a flag
set to no.
The libtool is created by configure; before you launch make, edit
libtool and set build_libtool_libs=yes.
After launched make, under .libs you find libphp4.so.0:move it under
libs as libphp4.so and run make install.
So, php as apache module work fine.

------------------------------------------------------------------------

[2002-09-30 17:12:31] steve at oseda dot missouri dot edu

Same problem.  AIX 4.3.3.10, GCC 2.95, PHP 4.2.3, Gnu Make 3.79

**************************************
Making install in .
make[1]: Entering directory `/oseda/php-4.2.3'
/oseda/php-4.2.3/build/shtool mkdir -p "/usr/local/apache/libexec" &&
/usr/local/apache/bin/apxs -S 

LIBEXECDIR="/usr/local/apache/libexec" -i -a -n php4 libs/libphp4.so
[activating module `php4' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
cp: libs/libphp4.so: A file or directory in the path name does not
exist.
apxs:Break: Command failed with rc=1
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory `/oseda/php-4.2.3'
make: *** [install-recursive] Error 1
**************************************************

The directory "libs" has libphp4.a and libphp4.la only, the directory
".libs" has libphp4.a, .exp, .lai and .so.0 in it.

------------------------------------------------------------------------

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/14245

-- 
Edit this bug report at http://bugs.php.net/?id=14245&edit=1

Reply via email to