Hi Christian, I actually already got it to work. I had to compile and install python and then use that one instead of the system one and it worked for me. I'm guessing that your instructions are to get it to work on the system python. Thanks for the reply
Thanks Jet > -----Original Message----- > From: Christian Long [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 22, 2006 12:12 AM > To: Jet Wilda > Subject: RE: [Zope-DB] DCOracle2: lib vs lib64: make fails on > SuSE SLES 9 > > > Yes, it's working fine. Here are the steps I followed. Let > me know how you do, and we can post back to the list > > Christian > > > > > > Download latest tarball here > http://cvs.zope.org/Products/DCOracle2/DCOracle2.tar.gz?tarball=1 > > > > tar -zxvf DCOracle2.tar.gz > cd DCOracle2 > > vi src/Makefile.pre.in > > To fix this error: > make[2]: *** No rule to make target > `/usr/lib/python2.3/config/Makefile', needed by `sedscript'. > Stop. Change (line 156) > > LIBP= $(exec_installdir)/lib/python$(VERSION) > > to > > LIBP= $(exec_installdir)/lib64/python$(VERSION) > > To fix this error: > gcc: cannot specify -o with -c or -S and multiple > compilations Change (line 121) > > DEFS= @DEFS@ > > to > > DEFS= > > Write changes and quit vi: first, press Escape, then type :wq , > then press Enter. > > su > make > > Don't worry about these gcc warnings > dco2.c:####: warning: cast to pointer from integer of different size > dco2.c:####: warning: dereferencing type-punned pointer will > break strict-aliasing rules > > > Copy INNERMOST DCOracle2 folder to site-packages > cp -a /home/mra_admn/downloads/DCOracle2/DCOracle2/ > /usr/lib64/python2.3/site-packages/ > > exit > > > > Make sure the permissions in > /usr/lib64/python2.3/site-packages/DCOracle2 match the following > > cd /usr/lib64/python2.3/site-packages/DCOracle2 > ls -al > > total 268 > drwxr-xr-x 2 root root 264 2005-11-29 16:10 . > drwxr-xr-x 8 root root 256 2005-11-29 18:06 .. > -rwxr-xr-x 1 root root 139643 2005-11-29 16:06 dco2.so > -rw-r--r-- 1 root root 64543 2003-10-30 09:30 DCOracle2.py > -rw-r--r-- 1 root root 48361 2005-11-29 16:10 DCOracle2.pyc > -rw-r--r-- 1 root root 1725 2001-01-24 07:37 __init__.py > -rw-r--r-- 1 root root 133 2005-11-29 16:10 __init__.pyc > -rw-r--r-- 1 root root 102 2002-05-16 21:31 version.py > -rw-r--r-- 1 root root 162 2005-11-29 16:10 version.pyc > > > > If the permissions do not match, fix them > > su > cd /usr/lib64/python2.3/site-packages/DCOracle2 > chmod 755 dco2.so > chown root:root *.py* > > > > -----Original Message----- > From: Jet Wilda [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 14, 2006 9:15 AM > To: [EMAIL PROTECTED] > Subject: [Zope-DB] DCOracle2: lib vs lib64: make fails on SuSE SLES 9 > > > Hi, > > I was wondering if you ever got DCOracle2 to work on > 64bit Suse? I have the same issue on 64bit Redhat ES 4. > > > TIA > > Jet > > __________ NOD32 1.1407 (20060213) Information __________ > > This message was checked by NOD32 antivirus system. http://www.eset.com _______________________________________________ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db