Dear Sir/Madam,
I downloaded the DCOracle2-1.1-tar.gz from your
site. I intended to compile it on an AIX Unix box with Oracle 8.1.7. The first
problem was:
455 0 cutlass fdev
/ifadev/Python2.2.1/DCOracle2.1/DCOracle2>make
(cd src; ./testora
python)
/ifadev/Python2.2.1/DCOracle2.1/DCOracle2/src
-n Checking
ORACLE_HOME...
passed.
-n Checking for Oracle
version...
failed.
/oracle/app/oracle/product/8.1.7/lib/libclntsh.so not readable;
unable to
determine your oracle version.
make: 1254-004 The error
code from the last command is 2.
because the libcIntsh.so does not exist in the lib
directory (it does for 8.0.5) but rather libcIntsh.a
Attached is the results of 'nm
/oracle/app/oracle/product/8.1.7/lib/libclntsh.a | grep OCI'.
So I changed src/testora to ignore that check.This
time I saw that it assumed Oracle 8.0, and it fell over with:
cc -I/oracle/app/oracle/product/8.1.7/rdbms/demo
-I/oracle/app/oracle/product/
8.1.7/network/public
-I/oracle/app/oracle/product/8.1.7/plsql/public
-I/oracle/app/oracl
e/product/8.1.7/rdbms/public -O
-I/usr/local/include/python1.5 -I/usr/local/include/pyth
on1.5
-DHAVE_CONFIG_H -c ./dco2.c
"./dco2.c", line 4534.38: 1506-280 (W) Function
argument assignment between types "unsig
ned long*" and "long*" is not
allowed.
"./dco2.c", line 5060.25: 1506-068 (W) Operation between types
"short*" and "unsigned sh
ort*" is not allowed.
"./dco2.c", line
5103.25: 1506-068 (W) Operation between types "short*" and "unsigned
sh
ort*" is not allowed.
./ld_so_aix cc dco2.o
-L/oracle/app/oracle/product/8.1.7/lib/ -lclntsh -lcommo
n -lcore4
-lnlsrtl3 -o dco2.so
./ld_so_aix: not found
make: 1254-004 The error code from the last
command is 1.
Stop.
So I changed src/testora to assume Oracle 8i. Again
the compile fell over with the same error.
Note that $ORACLE_HOME/rdbms/demo/*.h does
exist. Also we build (compile and link) C/C++ programs on this Unix box (using
the OCI libraries).
Could you please advise me what to do? The
target environment will be AIX with Oracle 8.1.7. I am also trying to build the
Python 2.2.1 release (I used to work with 1.5.2).
Yours sincerely
Chris Matthews
South Africa.