ID: 28616 User updated by: post_ravi at yahoo dot com Reported By: post_ravi at yahoo dot com Status: Open Bug Type: OCI8 related Operating System: Linux host 2.4.21-4.ELsmp (ES 3) PHP Version: 4.3.6 Assigned To: tony2001 New Comment:
Hi Please find the queries answered. 1) -------------- START --------------- cimlix002> grep @OCI8 /opt/php-4.3.6/config.status [EMAIL PROTECTED]@%%g [EMAIL PROTECTED]@%/home/oracle/OraHome1/%g [EMAIL PROTECTED]@%9.2%g --------------- END ---------------------- 2) ---------------- START ---------------------- find $ORACLE_HOME -name "oci.h" -print Ans: No such file is found find $ORACLE_HOME -name "oro.h" -print Ans: No such file is found Note : ORACLE_HOME = /home/oracle/OraHome1 By the way these are the only header found when i searched the ORACLE_HOME for *.h cimlix002> find $ORACLE_HOME -name "*.h" -print /home/oracle/OraHome1/xdk/include/oratypes.h /home/oracle/OraHome1/xdk/include/oraxsd.h /home/oracle/OraHome1/xdk/include/oraxml.h /home/oracle/OraHome1/xdk/include/oraxmlcg.h /home/oracle/OraHome1/rdbms/demo/oratypes.h /home/oracle/OraHome1/rdbms/demo/xa.h /home/oracle/OraHome1/ldap/public/oapt.h /home/oracle/OraHome1/ldap/public/gsdsy.h /home/oracle/OraHome1/ldap/public/gsdsd.h /home/oracle/OraHome1/ldap/public/oamst.h /home/oracle/OraHome1/ldap/public/oals.h /home/oracle/OraHome1/ldap/public/oaos.h /home/oracle/OraHome1/ldap/public/ldap.h /home/oracle/OraHome1/ldap/public/dsspid.h /home/oracle/OraHome1/ldap/public/omupi.h /home/oracle/OraHome1/ldap/public/gslpl.h /home/oracle/OraHome1/ldap/public/oacm.h /home/oracle/OraHome1/ldap/public/oaxm.h /home/oracle/OraHome1/ldap/public/oa.h /home/oracle/OraHome1/ldap/public/oamh.h /home/oracle/OraHome1/ldap/public/oodef.h /home/oracle/OraHome1/ldap/public/oaodes.h /home/oracle/OraHome1/ldap/public/gssdom.h /home/oracle/OraHome1/ldap/public/dsid.h /home/oracle/OraHome1/ldap/public/dsec.h /home/oracle/OraHome1/ldap/public/dsi.h /home/oracle/OraHome1/ldap/public/soa.h /home/oracle/OraHome1/precomp/demo/proc/lobdemo1.h /home/oracle/OraHome1/precomp/demo/proc/empclass.h /home/oracle/OraHome1/precomp/public/oraca.h /home/oracle/OraHome1/precomp/public/sqlca.h /home/oracle/OraHome1/precomp/public/sqlda.h /home/oracle/OraHome1/precomp/public/sql2oci.h /home/oracle/OraHome1/precomp/public/sqlapr.h /home/oracle/OraHome1/precomp/public/sqlcpr.h /home/oracle/OraHome1/precomp/public/sqlkpr.h /home/oracle/OraHome1/precomp/public/sqlucs2.h /home/oracle/OraHome1/precomp/syshdr/a.out.h /home/oracle/OraHome1/precomp/syshdr/limits.h /home/oracle/OraHome1/precomp/syshdr/syslimits.h /home/oracle/OraHome1/precomp/syshdr/bits/mathcalls.h /home/oracle/OraHome1/precomp/syshdr/sys/ipc.h /home/oracle/OraHome1/plsql/include/pdtyp.h /home/oracle/OraHome1/plsql/include/pen.h /home/oracle/OraHome1/plsql/include/pn.h /home/oracle/OraHome1/plsql/include/pptyp.h /home/oracle/OraHome1/plsql/include/pvm.h /home/oracle/OraHome1/jdk/include/linux/jni_md.h /home/oracle/OraHome1/jdk/include/linux/jawt_md.h /home/oracle/OraHome1/jdk/include/jvmpi.h /home/oracle/OraHome1/jdk/include/jawt.h /home/oracle/OraHome1/jdk/include/jni.h /home/oracle/OraHome1/jdk/include/jvmdi.h /home/oracle/OraHome1/jdk/include-old/linux/miscdefs_md.h /home/oracle/OraHome1/jdk/include-old/linux/path_md.h /home/oracle/OraHome1/jdk/include-old/linux/io_md.h /home/oracle/OraHome1/jdk/include-old/linux/jmath_md.h /home/oracle/OraHome1/jdk/include-old/linux/hpi_md.h /home/oracle/OraHome1/jdk/include-old/linux/jvm_md.h /home/oracle/OraHome1/jdk/include-old/linux/typedefs_md.h /home/oracle/OraHome1/jdk/include-old/linux/sysmacros_md.h /home/oracle/OraHome1/jdk/include-old/linux/jawt_md.h /home/oracle/OraHome1/jdk/include-old/linux/byteorder_md.h /home/oracle/OraHome1/jdk/include-old/linux/timeval_md.h /home/oracle/OraHome1/jdk/include-old/linux/gc_md.h /home/oracle/OraHome1/jdk/include-old/tree.h /home/oracle/OraHome1/jdk/include-old/gc.h /home/oracle/OraHome1/jdk/include-old/common_exceptions.h /home/oracle/OraHome1/jdk/include-old/hpi.h /home/oracle/OraHome1/jdk/include-old/jawt.h /home/oracle/OraHome1/jdk/include-old/vmprofiler.h /home/oracle/OraHome1/jdk/include-old/dll.h /home/oracle/OraHome1/jdk/include-old/jmath.h /home/oracle/OraHome1/jdk/include-old/reflect.h /home/oracle/OraHome1/jdk/include-old/alloc_cache.h /home/oracle/OraHome1/jdk/include-old/native.h /home/oracle/OraHome1/jdk/include-old/sys_api.h /home/oracle/OraHome1/jdk/include-old/debug.h /home/oracle/OraHome1/jdk/include-old/threads.h /home/oracle/OraHome1/jdk/include-old/jit.h /home/oracle/OraHome1/jdk/include-old/path.h /home/oracle/OraHome1/jdk/include-old/oobj.h /home/oracle/OraHome1/jdk/include-old/monitor.h /home/oracle/OraHome1/jdk/include-old/breakpoints.h /home/oracle/OraHome1/jdk/include-old/exceptions.h /home/oracle/OraHome1/jdk/include-old/byteorder.h /home/oracle/OraHome1/jdk/include-old/utf.h /home/oracle/OraHome1/jdk/include-old/jvm.h /home/oracle/OraHome1/jdk/include-old/opcodes.h /home/oracle/OraHome1/jdk/include-old/oldnmi.h /home/oracle/OraHome1/jdk/include-old/java_lang_String.h /home/oracle/OraHome1/jdk/include-old/wrap.h /home/oracle/OraHome1/jdk/include-old/java_lang_ThreadGroup.h /home/oracle/OraHome1/jdk/include-old/java_lang_ClassLoader.h /home/oracle/OraHome1/jdk/include-old/javaString.h /home/oracle/OraHome1/jdk/include-old/java_lang_Thread.h /home/oracle/OraHome1/jdk/include-old/bool.h /home/oracle/OraHome1/jdk/include-old/typedefs.h /home/oracle/OraHome1/jdk/include-old/util.h /home/oracle/OraHome1/jdk/include-old/jvmpi.h /home/oracle/OraHome1/jdk/include-old/bag.h /home/oracle/OraHome1/jdk/include-old/log.h /home/oracle/OraHome1/jdk/include-old/interpreter.h /home/oracle/OraHome1/jdk/include-old/jvmdi.h /home/oracle/OraHome1/jdk/include-old/monitor_cache.h /home/oracle/OraHome1/jdk/include-old/StubPreamble.h /home/oracle/OraHome1/jdk/include-old/signature.h /home/oracle/OraHome1/jdk/include-old/typecodes.h /home/oracle/OraHome1/javavm/jahome/jtc.h /home/oracle/OraHome1/ord/img/demo/rpix.h --------------- END ---------------------- Previous Comments: ------------------------------------------------------------------------ [2004-07-01 01:12:42] pumuckel at metropolis dot de What does this command tell you? # grep @OCI8 /opt/php-4.3.6/config.status Should be something like: [EMAIL PROTECTED]@%%g [EMAIL PROTECTED]@%=/home/oracle/OraHome1%g [EMAIL PROTECTED]@%9.2%g Otherwise something went wrong with configure script. What does this command tell you: # find $ORACLE_HOME -name "oci.h" You should get exactly one filename. you should examine this file for a reasonable content. Also in the same directory there is an oro.h file, which e.g. contains the definition of OCI_DURATION_SESSION. Check if this file gets loaded when compiling. ------------------------------------------------------------------------ [2004-06-30 03:42:50] post_ravi at yahoo dot com Hi I tried to install oracle 9i client again, Yes it broke at one instance. This is that error. --- ERROR START ----------------- Error in invoking target install makefile. /home/oracle/OraHome1/network/lib/ins_oemagent mk ----ERROR END ----------------- But even after flashing that error oracle client got installed properly and now i can able to connect to oracle client 9i. But when i tried to compile PHP with oci8 lib it gave me the same error as i reported earlier. Will the above Oracle ERROR cause any problem for oci8 lib to compile/go with PHP please advise and help Ravi ------------------------------------------------------------------------ [2004-06-28 11:40:00] post_ravi at yahoo dot com Hi I tried to install oracle clinet 9i again, Yes it broke at one instance. This is that error. --- ERROR START ----------------- Error in invoking target install makefile. /home/oracle/OraHome1/network/lib/ins_oemagent mk ----ERROR END ----------------- But even after that client installed properly and now i can able to connect to oracle client 9i. Will the above ERROR cause any problem for oci8 lib to compile with PHP please advise and help ------------------------------------------------------------------------ [2004-06-11 12:27:06] [EMAIL PROTECTED] It's broken Oracle client installation. Fix that first. ------------------------------------------------------------------------ [2004-06-08 16:21:00] [EMAIL PROTECTED] Please, try to search for php_oci8.h file on your hard disk. locate php_oci8.h should help. And nuke all old PHP headers, if you find it. I'm almost sure, that these errors are caused by the headers mixed up. Btw, current stable PHP release is 4.3.7 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/28616 -- Edit this bug report at http://bugs.php.net/?id=28616&edit=1