ID:               30160
 Updated by:       [EMAIL PROTECTED]
 Reported By:      tessarek at evermeet dot cx
-Status:           Open
+Status:           Feedback
-Bug Type:         Unknown/Other Function
+Bug Type:         Compile Failure
 Operating System: AIX 5.x and Redhat Linux 8.0 / 9
 PHP Version:      5.0.0
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

Also check that your grep is working (install GNU grep!)



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

[2004-10-22 11:04:52] Bjorn dot Wiberg at its dot uu dot se

My libphp5.la does not get overwritten when running 'make install', as
it seems.

Regarding the "255 error", please see
http://bugs.php.net/bug.php?id=30011 for a possible temporary
work-around.

Best regards,
Björn

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

[2004-09-30 18:13:46] tessarek at evermeet dot cx

This does not work, because libphp5.la is overwritten each time you run
'make install'.
So I tried to change it during the make install process from another
session. This worked, but then I get the following error message:


Wrote PEAR system config file at: /opt/php/etc/pear.conf
You may want to add: /opt/php/lib/php to your php.ini include_path
make: 1254-004 The error code from the last command is 255.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.

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

[2004-09-20 08:36:36] tessarek at evermeet dot cx

Description:
------------
This problem came with PHP 5.0.0 and is still there in 5.0.1.

The make of PHP 5.0.x works fine, but when running the 'make install',
I get following error:

Installing PHP SAPI module:       apache2filter
/opt/apache/build/instdso.sh SH_LIBTOOL='/opt/apache/build/libtool'
libphp5.la /opt/apache/modules
rm -f /opt/apache/modules/libphp5.so
/opt/apache/build/libtool --mode=install cp libphp5.la
/opt/apache/modules/
cp .libs/libphp5.a /opt/apache/modules/libphp5.a
cp .libs/libphp5.lai /opt/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/ext/php-5.0.1/libs'
chmod 755 /opt/apache/modules/libphp5.so
chmod: /opt/apache/modules/libphp5.so: A file or directory in the path
name does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.

There seems something wrong with the makefile.
With PHP 4.x.x I never had this problem.

My Apache version is 2.0.51, but the problem is also reproducable with
older versions.

It is kind of funny, because there is a libphp5.so file in the
/ext/php-5.0.1/.libs directory, where /ext/php-5.0.1/ is my compilation
directory.
I can copy the file manually to my Apache modules directory and
everything works fine.
The only problem is that when I do it manually, there is nothing in my
PHP target (/opt/php) directory.

My configure line is as follows:

./configure --prefix=/opt/php --with-config-file-path=/etc
--with-apxs2filter=/opt/apache/bin/apxs --without-mysql
--with-ibm-db2=/usr/opt/db2_08_01 --with-xml --enable-cli
--disable-ipv6 --enable-force-cgi-redirect --disable-debug --enable-pic
--enable-inline-optimization --with-ncurses --with-iconv
--with-regex=system --enable-bcmath --enable-exif --enable-ftp
--enable-magic-quotes --enable-sockets --enable-sysvsem
--enable-sysvshm --enable-track-vars --enable-trans-sid --enable-wddx
--without-oci8 --enable-ucd-snmp-hack --enable-memory-limit
--enable-shmop --enable-versioning --enable-calendar --enable-dbx
--enable-dio --enable-mcal --with-gettext --with-dom --with-zlib
--with-zlib-dir=/usr/lib --with-imap --with-openssl=/opt/freeware
--with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib
--with-pdflib --without-sqlite --with-bz2

The problem occurs under AIX 5.1 / AIX 5.2 / Redhat 8.0 / Redhat 9.0
and Redhat Enterprise Server 3.0.
(These are the systems I've tested it on.)

I hope that this bug has not already been submitted, because I haven't
found anything in the bug database.



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


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

Reply via email to