ID:               14245
 Comment by:       emre at asper dot org
 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'm experiencing the same problem with Apache 2.0.46+PHP 4.3.2 on
NetBSD.  The .so file is not being created, even with the libtool
workaround.  The .libs directory only contains libphp4.a, libphp4.la
and libphp4.la.  I'm having the same problem with 4.3.1 as well.


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

[2003-06-12 01:47:10] eelcon at xs4all dot nl

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.

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

[2003-06-12 01:47:07] eelcon at xs4all dot nl

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.

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

[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.



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

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