[Zope-DB] DCOracle2 and Python 2.3.2

Matthew T. Kromer matt at zope.com
Wed Dec 17 09:47:01 EST 2003


After it makes the Makefile, you'll find a line that reads DEFS=@DEFS@ 
or something...  just change that to read DEFS=
and you should be OK.
On Dec 17, 2003, at 5:11 AM, Pawel Lewicki wrote:

> Hi,
> I'm trying to compile DCOracle2 with Python 2.3 and have some troubles 
> with
> that. I'm just starting with manually compiling and Linux as well, so 
> I'm
> not sure what is the problem. May I ask for a file with already built
> dco2.so for Python 2.3? Or maybe someone could explain what's wrong 
> with
> that.
> I use Mandrake 9.2 and while compilation I get an error:
>
> [oracle at localhost DCOracle2]$ make
> ( cd src; \
> make || ./builderrors)
> make[1]: Entering directory `/home/oracle/2/DCOracle2/src'
> gcc -pthread -fPIC -DNDEBUG -O2 -fomit-frame-pointer -pipe -march=i586
>       -mcpu=pentiumpro -g -I/usr/include/python2.3 
> -I/usr/include/python2.3
>       @DEFS@  -I/home/oracle/OraHome1/rdbms/demo
>        -I/home/oracle/OraHome1/network/public
>         -I/home/oracle/OraHome1/plsql/public
>         -I/home/oracle/OraHome1/rdbms/public
>         -DORACLE9i -c ././dco2.c -o ./dco2.o
>
> gcc: cannot specify -o with -c or -S and multiple compilations
> make[1]: *** [dco2.o] B³?d 1
> make[1]: Leaving directory `/home/oracle/2/DCOracle2/src'
>
> Regards,
>
> Pawel Lewicki
>
>
>
>
> _______________________________________________
> Zope-DB mailing list
> Zope-DB at zope.org
> http://mail.zope.org/mailman/listinfo/zope-db




More information about the Zope-DB mailing list