ID: 12909
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Critical
Bug Type: Compile Failure
Operating System: RedHat Linux 6.2-7.1
PHP Version: 4.0CVS-2001-08-22
New Comment:

Marked as FIX before release (4.0.7 !!)


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

[2001-08-28 05:05:37] [EMAIL PROTECTED]

It seems that extensions as dso's and cgi sapi don't mix well in PHP 4.0.7 RC1.

I've tried to reduce the example to the smallest possible:

So this is what I do:

1. CVS checkout of PHP_4_0_7 branch
2. ./buildconf
3. ./configure \
    --with-recode=shared \
    --without-mysql \
    --without-gd \
    --without-xml \
4. make

I get the compilation error:

Making all in .
make[1]: Entering directory `/home/ek/compile/cvs-php'
gcc -I. -I/home/ek/compile/cvs-php/ -I/home/ek/compile/cvs-php/main 
-I/home/ek/compile/cvs-php -I/home/ek/compile/cvs-php/Zend  
-I/home/ek/compile/cvs-php/TSRM -g -O2  -c stub.c && touch stub.lo
/bin/sh /home/ek/compile/cvs-php/libtool --silent --mode=link gcc -I. 
-I/home/ek/compile/cvs-php/ -I/home/ek/compile/cvs-php/main -I/home/ek/compile/cvs-php 
-I/home/ek/compile/cvs-php/Zend  -I/home/ek/compile/cvs-php/TSRM -g -O2   -o 
libphp4.la -rpath /home/ek/compile/cvs-php/libs    stub.lo  Zend/libZend.la 
sapi/cgi/libsapi.la main/libmain.la regex/libregex.la ext/pcre/libpcre.la 
ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la 
TSRM/libtsrm.la -lpam -ldl -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt
stub.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/home/ek/compile/cvs-php'
make: *** [all-recursive] Error 1

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

[2001-08-22 15:56:08] [EMAIL PROTECTED]

./configure \
--prefix=/data/php \
--with-config-file-path=/data/php \
--disable-debug \
--enable-sigchild 
--disable-magic-quotes \
--disable-short-tags \
--enable-dba=shared \
--with-gdbm=shared,/usr \
--enable-ftp=shared \
--with-gd=shared,/usr \
--with-gettext=shared,/usr \
--with-mysql=shared,/usr/local/mysql \
--with-oci8=shared,/ora01/app/oracle/product/8.1.6 \
--with-pcre-regex=shared \
--with-pgsql=shared,/usr \
--with-recode=shared,/usr \
--enable-shmop \
--with-regex=system \
--enable-sysvsem \
--enable-sysvshm \
--disable-memory-limit \
--with-ldap=shared,/ora01/app/oracle/product/8.1.6/ \
--with-imap=shared,/data/src/imap \
--with-zlib=shared,/usr \
--enable-sockets=shared \
--with-apxs=/data/apache/bin/apxs

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

[2001-08-22 15:47:42] [EMAIL PROTECTED]

And your configure line was..?

--Jani


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

[2001-08-22 15:40:24] [EMAIL PROTECTED]

I did a checkout with -r PHP_4_0_7 so I'm talking about that branch of the cvs tree.

The error message:

Making all in .
make[1]: Entering directory `/data/src/cvs-php'
gcc -I. -I/data/src/cvs-php/ -I/data/src/cvs-php/main -I/data/src/cvs-php 
-I/data/src/cvs-php/Zend -I/data/src/imap/c-client 
-I/ora01/app/oracle/product/8.1.6//ldap/public -I/usr/local/mysql/include/mysql 
-I/ora01/app/oracle/product/8.1.6/rdbms/public 
-I/ora01/app/oracle/product/8.1.6/rdbms/demo 
-I/ora01/app/oracle/product/8.1.6/network/public -I/data/src/cvs-php/ext/xml/expat  
-I/data/src/cvs-php/TSRM -g -O2  -c stub.c && touch stub.lo
/bin/sh /data/src/cvs-php/libtool --silent --mode=link gcc -I. -I/data/src/cvs-php/ 
-I/data/src/cvs-php/main -I/data/src/cvs-php -I/data/src/cvs-php/Zend 
-I/data/src/imap/c-client -I/ora01/app/oracle/product/8.1.6//ldap/public 
-I/usr/local/mysql/include/mysql -I/ora01/app/oracle/product/8.1.6/rdbms/public 
-I/ora01/app/oracle/product/8.1.6/rdbms/demo 
-I/ora01/app/oracle/product/8.1.6/network/public -I/data/src/cvs-php/ext/xml/expat
 -I/data/src/cvs-php/TSRM -g -O2   -o libphp4.la -rpath /data/src/cvs-php/libs    
stub.lo  Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la  ext/posix/libposix.la 
ext/session/libsession.la ext/shmop/libshmop.la ext/standard/libstandard.la 
ext/sysvsem/libsysvsem.la ext/sysvshm/libsysvshm.la ext/xml/libxml.la TSRM/libtsrm.la 
-lpam -ldl -lcrypt -lpam -lgd -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt
stub.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/data/src/cvs-php'
make: *** [all-recursive] Error 1

builconf says:

./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4 (ok)
buildconf: libtool version 1.4 (ok)
rebuilding Makefile templates
automake: configure.in: installing `Zend/ylwrap'
rebuilding configure
rebuilding acconfig.h
rebuilding main/php_config.h.in

Apache sapi version compiles and builds fine

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



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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to