Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: DB

DCOracle2 installation problem

 

 

Zope db RSS feed   Index | Next | Previous | View Threaded


dcausevic at navisite

Feb 28, 2006, 7:54 AM

Post #1 of 1 (1494 views)
Permalink
DCOracle2 installation problem

I downloaded DCOracle2-1.2.tgz and I am trying to install DCOracle on Fedora Core 3, I am using Oracle client libraries version 9.2, $ORACLE_HOME is correctly set, but when I try to build from the source files I get the following error message saying something about missing header files in my $ORACLE_HOME/rdbms/demo/ directory... Do you have anu clue?

-------following is a complete build log from my machine----------
[root [at] dcausevi DCOracle2]# make
(cd src; \
./testora python)
Checking ORACLE_HOME...passed.
Checking for Oracle version...Oracle 9i found.
(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/dcausevic/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/dcausevic/DCOracle2/src'
sed -n \
-e '1s/.*/1i\\/p' \
-e '2s%.*%# Generated automatically from Makefile.pre.in by sedscript.%p' \
-e '/^VERSION=/s/^VERSION=[ ]*\(.*\)/s%@VERSION[@]%\1%/p' \
-e '/^CC=/s/^CC=[ ]*\(.*\)/s%@CC[@]%\1%/p' \
-e '/^CCC=/s/^CCC=[ ]*\(.*\)/s%#@SET_CCC[@]%CCC=\1%/p' \
-e '/^LINKCC=/s/^LINKCC=[ ]*\(.*\)/s%@LINKCC[@]%\1%/p' \
-e '/^OPT=/s/^OPT=[ ]*\(.*\)/s%@OPT[@]%\1%/p' \
-e '/^LDFLAGS=/s/^LDFLAGS=[ ]*\(.*\)/s%@LDFLAGS[@]%\1%/p' \
-e '/^DEFS=/s/^DEFS=[ ]*\(.*\)/s%@DEFS[@]%\1%/p' \
-e '/^LIBS=/s/^LIBS=[ ]*\(.*\)/s%@LIBS[@]%\1%/p' \
-e '/^LIBM=/s/^LIBM=[ ]*\(.*\)/s%@LIBM[@]%\1%/p' \
-e '/^LIBC=/s/^LIBC=[ ]*\(.*\)/s%@LIBC[@]%\1%/p' \
-e '/^RANLIB=/s/^RANLIB=[ ]*\(.*\)/s%@RANLIB[@]%\1%/p' \
-e '/^MACHDEP=/s/^MACHDEP=[ ]*\(.*\)/s%@MACHDEP[@]%\1%/p' \
-e '/^SO=/s/^SO=[ ]*\(.*\)/s%@SO[@]%\1%/p' \
-e '/^LDSHARED=/s/^LDSHARED=[ ]*\(.*\)/s%@LDSHARED[@]%\1%/p' \
-e '/^CCSHARED=/s/^CCSHARED=[ ]*\(.*\)/s%@CCSHARED[@]%\1%/p' \
-e '/^LINKFORSHARED=/s/^LINKFORSHARED=[ ]*\(.*\)/s%@LINKFORSHARED[@]%\1%/p' \
-e '/^prefix=/s/^prefix=\(.*\)/s%^prefix=.*%prefix=\1%/p' \
-e '/^exec_prefix=/s/^exec_prefix=\(.*\)/s%^exec_prefix=.*%exec_prefix=\1%/p' \
/usr/lib/python2.3/config/Makefile >sedscript
echo "/^#@SET_CCC@/d" >>sedscript
echo "/^installdir=/s%=.*%= /usr%" >>sedscript
echo "/^exec_installdir=/s%=.*%=/usr%" >>sedscript
echo "/^srcdir=/s%=.*%= .%" >>sedscript
echo "/^VPATH=/s%=.*%= .%" >>sedscript
echo "/^LINKPATH=/s%=.*%= %" >>sedscript
echo "/^BASELIB=/s%=.*%= %" >>sedscript
echo "/^BASESETUP=/s%=.*%= %" >>sedscript
sed -f sedscript ./Makefile.pre.in >Makefile.pre
/usr/lib/python2.3/config/makesetup \
-m Makefile.pre -c /usr/lib/python2.3/config/config.c.in Setup -n /usr/lib/python2.3/config/Setup
make -f Makefile do-it-again
make[3]: Entering directory `/home/dcausevic/DCOracle2/src'
/usr/lib/python2.3/config/makesetup \
-m Makefile.pre -c /usr/lib/python2.3/config/config.c.in Setup -n /usr/lib/python2.3/config/Setup
make[3]: Leaving directory `/home/dcausevic/DCOracle2/src'
make[2]: Leaving directory `/home/dcausevic/DCOracle2/src'
make[1]: Leaving directory `/home/dcausevic/DCOracle2/src'
make[1]: Entering directory `/home/dcausevic/DCOracle2/src'
make[1]: `dummy' is up to date.
make[1]: Leaving directory `/home/dcausevic/DCOracle2/src'
( cd src; \
make || ./builderrors)
make[1]: Entering directory `/home/dcausevic/DCOracle2/src'
gcc -pthread -fPIC -DNDEBUG -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -fPIC -I/usr/include/python2.3 -I/usr/include/python2.3 @DEFS@ -I/u01/app/oracle/product/9.2/rdbms/demo -I/u01/app/oracle/product/9.2/network/public -I/u01/app/oracle/product/9.2/plsql/public -I/u01/app/oracle/product/9.2/rdbms/public -DORACLE9i -c ././dco2.c -o ./dco2.o
gcc: @DEFS@: No such file or directory
In file included from /usr/include/python2.3/Python.h:8,
from ././dco2.c:125:
/usr/include/python2.3/pyconfig.h:850:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/stdio.h:28,
from ././dco2.c:92:
/usr/include/features.h:150:1: warning: this is the location of the previous definition
make[1]: *** [dco2.o] Error 1
make[1]: Leaving directory `/home/dcausevic/DCOracle2/src'
---------------------------------------
There were errors building the dco2 module. This could be because of a
coding error in the dco2 module, or because your Oracle environment is
not set up properly. Please double check that your Oracle environment is
properly established, and that the proper header files exist (e.g.
$ORACLE_HOME/rdbms/demo/*.h).

If you still have problems, check for updates to DCOracle2 on

http://www.zope.org

or check out the mailing list archives. You may also try inquiring on
the mailing list "zope [at] zope".

Please note that the support address "support [at] digicool" is for
Digital Creation's paid support customers only. Information about obtaining
paid support is available at

http://www.digicool.com/Solutions/Support/
---------------------------------------


make: *** [src/dco2.so] Error 1

-------------------------- end of build ----------------------

Zope db RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.