<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>DCOracle2 installation problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>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?<BR>
<BR>
-------following is a complete build log from my machine----------<BR>
[root@dcausevic DCOracle2]# make<BR>
(cd src; \<BR>
./testora python)<BR>
Checking ORACLE_HOME...passed.<BR>
Checking for Oracle version...Oracle 9i found.<BR>
(cd src; \<BR>
cp -p Setup.in Setup )<BR>
(cd src; \<BR>
make -f Makefile.pre.in boot PYTHON=python || ./setuperrors; \<BR>
make dummy || ./setuperrors)<BR>
make[1]: Entering directory `/home/dcausevic/DCOracle2/src'<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>
VERSION=$VERSION \<BR>
installdir=$installdir \<BR>
exec_installdir=$exec_installdir \<BR>
Makefile<BR>
make[2]: Entering directory `/home/dcausevic/DCOracle2/src'<BR>
sed -n \<BR>
-e '1s/.*/1i\\/p' \<BR>
-e '2s%.*%# Generated automatically from Makefile.pre.in by sedscript.%p' \<BR>
-e '/^VERSION=/s/^VERSION=[ ]*\(.*\)/s%@VERSION[@]%\1%/p' \<BR>
-e '/^CC=/s/^CC=[ ]*\(.*\)/s%@CC[@]%\1%/p' \<BR>
-e '/^CCC=/s/^CCC=[ ]*\(.*\)/s%#@SET_CCC[@]%CCC=\1%/p' \<BR>
-e '/^LINKCC=/s/^LINKCC=[ ]*\(.*\)/s%@LINKCC[@]%\1%/p' \<BR>
-e '/^OPT=/s/^OPT=[ ]*\(.*\)/s%@OPT[@]%\1%/p' \<BR>
-e '/^LDFLAGS=/s/^LDFLAGS=[ ]*\(.*\)/s%@LDFLAGS[@]%\1%/p' \<BR>
-e '/^DEFS=/s/^DEFS=[ ]*\(.*\)/s%@DEFS[@]%\1%/p' \<BR>
-e '/^LIBS=/s/^LIBS=[ ]*\(.*\)/s%@LIBS[@]%\1%/p' \<BR>
-e '/^LIBM=/s/^LIBM=[ ]*\(.*\)/s%@LIBM[@]%\1%/p' \<BR>
-e '/^LIBC=/s/^LIBC=[ ]*\(.*\)/s%@LIBC[@]%\1%/p' \<BR>
-e '/^RANLIB=/s/^RANLIB=[ ]*\(.*\)/s%@RANLIB[@]%\1%/p' \<BR>
-e '/^MACHDEP=/s/^MACHDEP=[ ]*\(.*\)/s%@MACHDEP[@]%\1%/p' \<BR>
-e '/^SO=/s/^SO=[ ]*\(.*\)/s%@SO[@]%\1%/p' \<BR>
-e '/^LDSHARED=/s/^LDSHARED=[ ]*\(.*\)/s%@LDSHARED[@]%\1%/p' \<BR>
-e '/^CCSHARED=/s/^CCSHARED=[ ]*\(.*\)/s%@CCSHARED[@]%\1%/p' \<BR>
-e '/^LINKFORSHARED=/s/^LINKFORSHARED=[ ]*\(.*\)/s%@LINKFORSHARED[@]%\1%/p' \<BR>
-e '/^prefix=/s/^prefix=\(.*\)/s%^prefix=.*%prefix=\1%/p' \<BR>
-e '/^exec_prefix=/s/^exec_prefix=\(.*\)/s%^exec_prefix=.*%exec_prefix=\1%/p' \<BR>
/usr/lib/python2.3/config/Makefile >sedscript<BR>
echo "/^#@SET_CCC@/d" >>sedscript<BR>
echo "/^installdir=/s%=.*%= /usr%" >>sedscript<BR>
echo "/^exec_installdir=/s%=.*%=/usr%" >>sedscript<BR>
echo "/^srcdir=/s%=.*%= .%" >>sedscript<BR>
echo "/^VPATH=/s%=.*%= .%" >>sedscript<BR>
echo "/^LINKPATH=/s%=.*%= %" >>sedscript<BR>
echo "/^BASELIB=/s%=.*%= %" >>sedscript<BR>
echo "/^BASESETUP=/s%=.*%= %" >>sedscript<BR>
sed -f sedscript ./Makefile.pre.in >Makefile.pre<BR>
/usr/lib/python2.3/config/makesetup \<BR>
-m Makefile.pre -c /usr/lib/python2.3/config/config.c.in Setup -n /usr/lib/python2.3/config/Setup<BR>
make -f Makefile do-it-again<BR>
make[3]: Entering directory `/home/dcausevic/DCOracle2/src'<BR>
/usr/lib/python2.3/config/makesetup \<BR>
-m Makefile.pre -c /usr/lib/python2.3/config/config.c.in Setup -n /usr/lib/python2.3/config/Setup<BR>
make[3]: Leaving directory `/home/dcausevic/DCOracle2/src'<BR>
make[2]: Leaving directory `/home/dcausevic/DCOracle2/src'<BR>
make[1]: Leaving directory `/home/dcausevic/DCOracle2/src'<BR>
make[1]: Entering directory `/home/dcausevic/DCOracle2/src'<BR>
make[1]: `dummy' is up to date.<BR>
make[1]: Leaving directory `/home/dcausevic/DCOracle2/src'<BR>
( cd src; \<BR>
make || ./builderrors)<BR>
make[1]: Entering directory `/home/dcausevic/DCOracle2/src'<BR>
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<BR>
gcc: @DEFS@: No such file or directory<BR>
In file included from /usr/include/python2.3/Python.h:8,<BR>
from ././dco2.c:125:<BR>
/usr/include/python2.3/pyconfig.h:850:1: warning: "_POSIX_C_SOURCE" redefined<BR>
In file included from /usr/include/stdio.h:28,<BR>
from ././dco2.c:92:<BR>
/usr/include/features.h:150:1: warning: this is the location of the previous definition<BR>
make[1]: *** [dco2.o] Error 1<BR>
make[1]: Leaving directory `/home/dcausevic/DCOracle2/src'<BR>
---------------------------------------<BR>
There were errors building the dco2 module. This could be because of a<BR>
coding error in the dco2 module, or because your Oracle environment is<BR>
not set up properly. Please double check that your Oracle environment is<BR>
properly established, and that the proper header files exist (e.g.<BR>
$ORACLE_HOME/rdbms/demo/*.h).<BR>
<BR>
If you still have problems, check for updates to DCOracle2 on<BR>
<BR>
<A HREF="http://www.zope.org">http://www.zope.org</A><BR>
<BR>
or check out the mailing list archives. You may also try inquiring on<BR>
the mailing list "zope@zope.org".<BR>
<BR>
Please note that the support address "support@digicool.com" is for<BR>
Digital Creation's paid support customers only. Information about obtaining<BR>
paid support is available at<BR>
<BR>
<A HREF="http://www.digicool.com/Solutions/Support/">http://www.digicool.com/Solutions/Support/</A><BR>
---------------------------------------<BR>
<BR>
<BR>
make: *** [src/dco2.so] Error 1<BR>
<BR>
-------------------------- end of build ----------------------<BR>
</FONT>
</P>
</BODY>
</HTML>