[Tutor] DCOracle module build ! Newbie in much trouble =-(

peter church peterc@brosystems.com
Wed, 12 Jul 2000 17:35:53 +0100


--------------DFE1FE2B1D10FEC9DF40E89F
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 7bit

Hi
    I am trying to setup to Oracle DB interface for python
(DCOracle-1.3.1b1)
however when I try runing the make commmand i get this error ....

bash$ cp Setup-8.1.5 Setup.in

bash$ cp Makefile.pre.in-1.5 Makefile.pre.in

bash$  make -f Makefile.pre.in boot
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[1]: Entering directory
`/home/peterc/python-mods/DCOracle-1.3.1b1/src'
make[1]: *** No rule to make target
`/usr/lib/python1.5/config/Makefile', needed by `sedscript'.  Stop.
make[1]: Leaving directory
`/home/peterc/python-mods/DCOracle-1.3.1b1/src'
make: *** [boot] Error 2

my environment variables are set as

USERNAME=
COLORTERM=
HISTSIZE=1000
HOSTNAME=ghostdog
LOGNAME=peterc
ORACLE_SID=petersdb
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
MON=/usr/local/mon
MAIL=/var/spool/mail/peterc
PYTHON=/home/peterc/PYTHON
DBA=/usr/scripts/dba
ORACLE_BASE=/home/oracle
TERM=xterm
HOSTTYPE=i386
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/peterc/bin:/usr/sbin:/home/peterc/bin:/usr/sbin:/home/peterc/bin:/usr/sbin:/home/oracle/product/8.1.6/bin:/usr/scripts/dba:/usr/scripts/tools

KDEDIR=/usr
HOME=/home/peterc
INPUTRC=/etc/inputrc
SHELL=/bin/bash
MAILOUT=/home/peterc/perl_dev/mailout
USER=peterc
TOOLS=/usr/scripts/tools
BASH_ENV=/home/peterc/.bashrc
QTDIR=/usr/lib/qt-2.1.0
DISPLAY=:0
ORACLE_HOME=/home/oracle/product/8.1.6
LANG=en_US
OSTYPE=Linux
SHLVL=1
PERL=/home/peterc/perl_dev
LS_COLORS=
CVSROOT=/samurai/cvs/CVSROOT

Has anyone had the same problems or have any idea what it is that I am
doing
to deserve this output ?

Thankyou

Peter Church

--------------DFE1FE2B1D10FEC9DF40E89F
Content-Type: text/html; charset=iso-8859-15
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<b>Hi</b>
<br><b>&nbsp;&nbsp;&nbsp; I am trying to setup to Oracle DB interface for
python (DCOracle-1.3.1b1)</b>
<br><b>however when I try runing the make commmand i get this error ....</b><b></b>
<p>bash$ cp Setup-8.1.5 Setup.in
<p>bash$ cp Makefile.pre.in-1.5 Makefile.pre.in
<p>bash$&nbsp; make -f Makefile.pre.in boot
<br>rm -f *.o *~
<br>rm -f *.a tags TAGS config.c Makefile.pre python sedscript
<br>rm -f *.so *.sl so_locations
<br>VERSION=`python -c "import sys; print sys.version[:3]"`; \
<br>installdir=`python -c "import sys; print sys.prefix"`; \
<br>exec_installdir=`python -c "import sys; print sys.exec_prefix"`; \
<br>make -f ./Makefile.pre.in VPATH=. srcdir=. \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VERSION=$VERSION \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; installdir=$installdir \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exec_installdir=$exec_installdir
\
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Makefile
<br>make[1]: Entering directory `/home/peterc/python-mods/DCOracle-1.3.1b1/src'
<br>make[1]: *** No rule to make target `/usr/lib/python1.5/config/Makefile',
needed by `sedscript'.&nbsp; Stop.
<br>make[1]: Leaving directory `/home/peterc/python-mods/DCOracle-1.3.1b1/src'
<br>make: *** [boot] Error 2<b></b>
<p><b>my environment variables are set as</b>
<p>USERNAME=
<br>COLORTERM=
<br>HISTSIZE=1000
<br>HOSTNAME=ghostdog
<br>LOGNAME=peterc
<br>ORACLE_SID=petersdb
<br>NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
<br>MON=/usr/local/mon
<br>MAIL=/var/spool/mail/peterc
<br>PYTHON=/home/peterc/PYTHON
<br>DBA=/usr/scripts/dba
<br>ORACLE_BASE=/home/oracle
<br>TERM=xterm
<br>HOSTTYPE=i386
<br>PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/peterc/bin:/usr/sbin:/home/peterc/bin:/usr/sbin:/home/peterc/bin:/usr/sbin:/home/oracle/product/8.1.6/bin:/usr/scripts/dba:/usr/scripts/tools
<br>KDEDIR=/usr
<br>HOME=/home/peterc
<br>INPUTRC=/etc/inputrc
<br>SHELL=/bin/bash
<br>MAILOUT=/home/peterc/perl_dev/mailout
<br>USER=peterc
<br>TOOLS=/usr/scripts/tools
<br>BASH_ENV=/home/peterc/.bashrc
<br>QTDIR=/usr/lib/qt-2.1.0
<br>DISPLAY=:0
<br>ORACLE_HOME=/home/oracle/product/8.1.6
<br>LANG=en_US
<br>OSTYPE=Linux
<br>SHLVL=1
<br>PERL=/home/peterc/perl_dev
<br>LS_COLORS=
<br>CVSROOT=/samurai/cvs/CVSROOT
<p><b>Has anyone had the same problems or have any idea what it is that
I am doing</b>
<br><b>to deserve this output ?</b><b></b>
<p><b>Thankyou</b><b></b>
<p><b>Peter Church</b></html>

--------------DFE1FE2B1D10FEC9DF40E89F--