From: [EMAIL PROTECTED] Operating system: SYSTEM V PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: Compilation error with oracle
I want to install PHP-4.0.6 on my system (SYSTEM V NCR) with apache-1.3.19. I use this command : ./configure --without-mysql --with-oracle --with-apache=../apache_1.3.19 --enable-track-vars This product this debug.log : -------------------------------------------- m -ldl -lnsl -lsocket 1>&5 NCR High Performance C Compiler R3.0c (c) Copyright 1994-98, NCR Corporation (c) Copyright 1987-98, MetaWare Incorporated UX:ld: WARNING: /usr/lib/libresolv.so: warning: attempted multiple inclusion of file UX:ld: WARNING: /usr/lib/libresolv.so: warning: attempted multiple inclusion of file UX:ld: WARNING: /usr/lib/libnsl.so: warning: attempted multiple inclusion of fil e UX:ld: WARNING: /usr/lib/libsocket.so: warning: attempted multiple inclusion of file dynamic linker : ./conftest : error opening libclntsh.so.1.0 -------------------------------------------- And produce this errors in the config.log file : ---------------------------------------------- configure:1916: checking whether cc accepts -g configure:1948: checking how to run the C preprocessor configure:1969: cc -E conftest.c >/dev/null 2>conftest.out NCR High Performance C Compiler R3.0c (c) Copyright 1994-98, NCR Corporation (c) Copyright 1987-98, MetaWare Incorporated configure: failed program was: #line 1963 "configure" #include "confdefs.h" #include <assert.h> Syntax Error configure:1986: cc -E -traditional-cpp conftest.c >/dev/null 2>conftest.out (cc:) Warning: -a (within -traditional-cpp) is not a recognizable option. (cc:) Warning: -d (within -traditional-cpp) is not a recognizable option. (cc:) Warning: -i (within -traditional-cpp) is not a recognizable option. (cc:) Warning: -i (within -traditional-cpp) is not a recognizable option. (cc:) Warning: -o (within -traditional-cpp) is not a recognizable option. (cc:) Warning: -n (within -traditional-cpp) is not a recognizable option. (cc:) Warning: -a (within -traditional-cpp) is not a recognizable option. (cc:) Warning: -l (within -traditional-cpp) is not a recognizable option. .... And next : configure:2455: cc -c conftest.c 1>&5 NCR High Performance C Compiler R3.0c (c) Copyright 1994-98, NCR Corporation (c) Copyright 1987-98, MetaWare Incorporated configure:2572: cc -o conftest conftest.c 1>&5 NCR High Performance C Compiler R3.0c (c) Copyright 1994-98, NCR Corporation (c) Copyright 1987-98, MetaWare Incorporated E "/usr/include/pthread.h",L110/C1: Can't open "dce/cma.h": No such file or directory w (#657): (info) How referenced files were included: | File /usr/include/pthread.h from configure. Unable to proceed Aborting(21)... configure: failed program was: #line 2554 "configure" ------------------------------------------------------ When I run make, i have this mistake ------------------------------------------------------- Making all in posix cc -I. -I/app/apache/php-4.0.6/ext/posix -I/app/apache/php-4.0.6/main - I/app/apache/php-4.0.6 -I/app/apache/apache_1.3.19/src/include -I/app/apache/apa che_1.3.19/src/os/unix -I/app/apache/php-4.0.6/Zend -I/app/oracle/product/734/rd bms/public -I/app/oracle/product/734/rdbms/demo -I/app/oracle/product/734/networ k/public -I/app/apache/php-4.0.6/ext/xml/expat/xmltok -I/app/apache/php-4.0.6/ex t/xml/expat/xmlparse -I/app/apache/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORD ER=21 -c posix.c && touch posix.lo NCR High Performance C Compiler R3.0c (c) Copyright 1994-98, NCR Corporation (c) Copyright 1987-98, MetaWare Incorporated w "/app/apache/php-4.0.6/Zend/zend_execute.h",L185/C5(#257): '=' encountered where '==' may have been intended. w "/app/apache/php-4.0.6/Zend/zend_execute.h",L198/C4(#257): '=' encountered where '==' may have been intended. w "/app/apache/php-4.0.6/ext/standard/php_string.h",L125/C5(#257): '=' enco untered where '==' may have been intended. E "posix.c",L357/C17(#237): NGROUPS_MAX: Identifier is undeclared. E "posix.c",L357/C9(#445): gidlist | Type of variable is an array of zero length. E "posix.c",L361/C21(#237): NGROUPS_MAX: Identifier is undeclared. w (#657): (info) How referenced files were included: | File /app/apache/php-4.0.6/Zend/zend_execute.h from /app/apache/php-4.0.6/Zend/zend_API.h from /app/apache/php-4.0.6/main/php.h from posix.c. | File /app/apache/php-4.0.6/ext/standard/php_string.h from posix.c. 3 user errors 4 warnings *** Error code 3 (bu21) make: fatal error. *** Error code 1 (bu21) make: fatal error. *** Error code 1 (bu21) make: fatal error. *** Error code 1 (bu21) make: fatal error. ----------------------------------------------------- What can I do to have a nice compilation ???? Can you help me ? Thanks Sylvie MINCHELLA. -- Edit bug report at: http://bugs.php.net/?id=13798&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]