[Zope-DB] DCOracle2: lib vs lib64: make fails on SuSE SLES 9
Christian Long
christianzlong at yahoo.com
Tue Nov 29 15:57:18 EST 2005
I'm having trouble installing DCOracle2 on SuSE
Enterprise 9 on x86_64 (single Opteron). make fails,
see error message below.
make[2]: *** No rule to make target
`/usr/lib/python2.3/config/Makefile', needed by
`sedscript'. Stop.
It should be looking for /usr/lib64/python2.3/config/
What should I change to point to the right dir:
Makefile, environment, something else?
Thanks
Christian Long
----------------------------------------------------
Additional information
Of course, install.py doesn't work (ERROR: Python
version mismatch ) However, python setup.py install
seems to work.
>>> print platform.platform()
Linux-2.6.5-7.191-smp-x86_64-with-SuSE-9-x86_64
uname -a
Linux my_host 2.6.5-7.191-smp #1 SMP Tue Jun 28
14:58:56 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux
# make
(cd src; \
cp -p Setup.in Setup )
(cd src; \
make -f Makefile.pre.in boot PYTHON=python ||
./setuperrors; \
make dummy || ./setuperrors)
make[1]: Entering directory
`/home/mra_admn/downloads/DCOracle2/src'
rm -f *.o *~
rm -f *.a tags TAGS config.c Makefile.pre python
sedscript
rm -f *.so *.sl so_locations
VERSION=`python -c "import sys; print
sys.version[:3]"`; \
installdir=`python -c "import sys; print sys.prefix"`;
\
exec_installdir=`python -c "import sys; print
sys.exec_prefix"`; \
make -f ./Makefile.pre.in VPATH=. srcdir=. \
VERSION=$VERSION \
installdir=$installdir \
exec_installdir=$exec_installdir \
Makefile
make[2]: Entering directory
`/home/mra_admn/downloads/DCOracle2/src'
make[2]: *** No rule to make target
`/usr/lib/python2.3/config/Makefile', needed by
`sedscript'. Stop.
make[2]: Leaving directory
`/home/mra_admn/downloads/DCOracle2/src'
make[1]: *** [boot] Error 2
make[1]: Leaving directory
`/home/mra_admn/downloads/DCOracle2/src'
-------------------------------------
There were errors configuring the makefile to build
dco2. This usually is
. . .
Quick test after python setup.py install - works!
>>> import DCOracle2
>>> cn=DCOracle2.connect('live/dead at oldndst')
>>> c=cn.cursor()
# excerpts from printenv (su root)
. . .
SHELL=/bin/bash
TERM=xterm
PROFILEREAD=true
SSH_TTY=/dev/pts/2
ORACLE_SID=my_sid
HOSTTYPE=x86_64
PAGER=less
MINICOM=-c on
PATH=/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin
CPU=x86_64
PWD=/home/my_user/downloads/DCOracle2
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
HOME=/root
SHLVL=2
OSTYPE=linux
LESS_ADVANCED_PREPROCESSOR=no
no_proxy=localhost
LS_OPTIONS=-a -N --color=tty -T 0
MACHTYPE=x86_64-suse-linux
LESS=-M -I
ORACLE_HOME=/ora/oracle/db/9.2.0.6
More information about the Zope-DB
mailing list