ID: 31461
User updated by: hendlerman at yahoo dot com
Reported By: hendlerman at yahoo dot com
-Status: Bogus
+Status: Open
Bug Type: Compile Failure
Operating System: Red Hat 9
PHP Version: 5.0.3
New Comment:
I was able to reproduce the bug with a clean install of the os and the
httpd from an rpm.
Everythin was gotten from up2date except the libxml2 and libxslt-devel
and mysql 4.1-devel
[EMAIL PROTECTED] php-5.0.3]# locate libphp5
/root/php-5.0.3/sapi/apache/libphp5.module.in
/root/php-5.0.3/sapi/apache_hooks/libphp5.module.in
kernel-2.4.20-8
libxml2-devel-2.6.16-1
perl-libxml-perl-0.07-28
libxml2-2.6.16-1
libxml-devel-1.8.17-8
perl-libxml-enno-1.02-29
libxml-1.8.17-8
libxml2-python-2.6.16-1
libxslt-1.0.27-3
libxslt-devel-1.0.27-3
[EMAIL PROTECTED] php-5.0.3]# ./configure --with-apsx2="/usr/sbin/apxs"
--with-xsl --with-mysql --with-ldap --with-xmlrpc --enable-dio
--enable-magic-quote --enable-calendar --enable-sockets --with-zlib
--with-openssl --enable-wddx
-enable-soap 2> ../php_configure_errors.txt
no error messages (return2) I could find there OR in the make or make
install
:(
Previous Comments:
------------------------------------------------------------------------
[2005-01-10 02:27:49] hendlerman at yahoo dot com
might this happen if the xml2 library is too new for redhat 9?
I had libxml2-2.6.16-1.i386.rpm
------------------------------------------------------------------------
[2005-01-10 02:16:41] hendlerman at yahoo dot com
not sure why you are mentioning that -
note the code below
make install 2> ../make_install_php_errors.txt
------------------------------------------------------------------------
[2005-01-10 02:14:22] [EMAIL PROTECTED]
libphp5.so is 'generated' by 'make install'.
------------------------------------------------------------------------
[2005-01-09 23:00:30] hendlerman at yahoo dot com
Description:
------------
No libphp5.so created and no errors produced
I'm trying to find which --with[-*] in the configure causes the build
to fail because I get no warnings.
Reproduce code:
---------------
compiled from source
httpd-2.0.52
./configure --enable-so
confirmed location of apxs
First did a simple and successful ./configure make and make install
./configure --with-apxs2=/usr/local/apache2/bin/apxs 2> errors.txt
./configure --with-apsx2="/usr/local/apache2/bin/apxs" --with-mysql
--with-ldap --with-zlib --enable-magic-quotes --with-mhash
--enable-calendar --enable-sockets --with-ncurses --enable-dio
--with-openssl --with-xmlrpc --enable-wddx --enable-soap 2>
../php_configure_errors.txt
tried the above also with --with-xsl
make clean
make 2> ../make_php_errors.txt
make install 2> ../make_install_php_errors.txt
Expected result:
----------------
I would expect the simple install to produce no errors because it
generated the phplib5.so, and the more inclusive ./configure to give me
errors - as it did not produce a phplib5.so
Actual result:
--------------
when I did a simple make and make install from the simple configure
make produced in the
/root/installPHP/php-5.0.3/main/php_sprintf.c: In function
`php_sprintf':
/root/installPHP/php-5.0.3/main/php_sprintf.c:40: warning: assignment
makes pointer from integer without a cast
make install produced
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la
/usr/local/apache2/modules
libtool: install: warning: remember to run `libtool --finish
/root/installPHP/php-5.0.3/libs'
chmod 755 /usr/local/apache2/modules/libphp5.so
[activating module `php5' in /usr/local/apache2/conf/httpd.conf]
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31461&edit=1