Compiling DCOracle2 on RH Linux 8.0
Ron Reidy
reidyre at yahoo.com
Tue Jan 27 15:56:39 EST 2004
dripton at wizard.net (David Ripton) wrote in message news:<8725c51c.0401241912.316a7cfc at posting.google.com>...
> reidyre at yahoo.com (Ron Reidy) wrote in message news:<ab425431.0401211512.6c698e00 at posting.google.com>...
>
> > I am trying to compile DCOracle2 on RedHat 8.0 and make is giving me
> > the following error:
> >
> > gcc -pthread -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
> > -I/usr/local/include/python2.3 -I/usr/local/include/python2.3 @DEFS@
> > -I/oracle/app/oracle/9i/rdbms/demo
> > -I/oracle/app/oracle/9i/network/public
> > -I/oracle/app/oracle/9i/plsql/public
> > -I/oracle/app/oracle/9i/rdbms/public -DORACLE9i -c ././dco2.c -o
> > ./dco2.o
> > gcc: cannot specify -o with -c or -S and multiple compilations
> >
> >
> > Did I do something wrong?
>
> No. The DCOracle2 build process isn't very robust.
>
> Look at src/Makefile. Find a line that says "DEFS=%DEFS" and change
> it to "DEFS=-fno-strict-aliasing"
David,
Thanks. That worked well. Now, how do I install it? The only copies
of dco2.so that exist are in the directory tree where I built the
library. In searching for any kind of install directios, I found
nothing like 'make install', etc.
Thanks you your help.
More information about the Python-list
mailing list