php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13798 Compilation error with oracle
Submitted: 2001-10-23 07:30 UTC Modified: 2002-04-11 00:00 UTC
From: sylvie dot minchella at momecam dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.0.6 OS: SYSTEM V
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sylvie dot minchella at momecam dot com
New email:
PHP Version: OS:

 

 [2001-10-23 07:30 UTC] sylvie dot minchella at momecam dot com
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-03 02:53 UTC] kalowsky@php.net
To properly diagnose this bug, we need a backtrace to see what is
happening behind the scenes. To find out how to generate a backtrace,
please read http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open".

can you please try a recent release?
 [2002-04-11 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2007-11-09 08:57 UTC] sudheer at sib dot co dot in
Sir
   when report created in windows98 will not be worked properly in windows Xp,ie inside the report space between line is doubled.
         
                          Sudheer A
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC