I'm having some trouble compiling DCOracle on my RedHat 6.1 machine. I am
using the latest DCOracle 1.3.2 and python 1.5.2.

I used the included Setup-8.1.5 file with the addition of one library to the
*ORACLE_Includes* list:

-I$(ORACLE_HOME)/rdbms/public


The output from *make* had a number of errors, but compiled the shared
objects:

gcc -fPIC  -I/oradisk01/app/oracle/product/8.1.6/rdbms/demo
-I/oradisk01/app/oracle/product/8.1.6/rdbms/public
-I/oradisk01/app/oracle/product/8.1.6/network/public
-I/oradisk01/app/oracle/product/8.1.6/plsql/public -DDCORACLE8 -g -O2
-I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c
./oci_.c
In file included from ./oci_.c:566:
Buffer.h:79: warning: static declaration for `PyImport_Import' follows
non-static
./oci_.c: In function `_wrap_odescr':
./oci_.c:2599: warning: assignment from incompatible pointer type
gcc -shared  oci_.o  -L/oradisk01/app/oracle/product/8.1.6/lib/
-L/oradisk01/app/oracle/product/8.1.6/rdbms/lib
/oradisk01/app/oracle/product/8.1.6/rdbms/lib/defopt.o -o oci_.so
gcc -fPIC  -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5
-DHAVE_CONFIG_H -c ./Buffer.c
In file included from ./Buffer.c:60:
Buffer.h:79: warning: static declaration for `PyImport_Import' follows
non-static
gcc -shared  Buffer.o  -o Buffer.so

Testing the created shared object files went something like this:

[sweetrig@shamalama src]# python DCOracle_test.py
Traceback (innermost last):
  File "DCOracle_test.py", line 1, in ?
    import Buffer, oci_, sys
ImportError: libclntsh.so.8.0: cannot open shared object file: No such file
or directory

I have tried a number of setup files that were on this list for Oracle 8.1.6
and all have produced errors. Any help appreciated.

-- 
Erik Myllymaki
[EMAIL PROTECTED]



_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to