<!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 &quot;import sys; print sys.version[:3]&quot;`; \<BR>
installdir=`python -c &quot;import sys; print sys.prefix&quot;`; \<BR>
exec_installdir=`python -c &quot;import sys; print sys.exec_prefix&quot;`; \<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[2]: Entering directory `/home/dcausevic/DCOracle2/src'<BR>
sed -n \<BR>
&nbsp;-e '1s/.*/1i\\/p' \<BR>
&nbsp;-e '2s%.*%# Generated automatically from Makefile.pre.in by sedscript.%p' \<BR>
&nbsp;-e '/^VERSION=/s/^VERSION=[&nbsp;&nbsp;&nbsp; ]*\(.*\)/s%@VERSION[@]%\1%/p' \<BR>
&nbsp;-e '/^CC=/s/^CC=[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]*\(.*\)/s%@CC[@]%\1%/p' \<BR>
&nbsp;-e '/^CCC=/s/^CCC=[&nbsp;&nbsp;&nbsp; ]*\(.*\)/s%#@SET_CCC[@]%CCC=\1%/p' \<BR>
&nbsp;-e '/^LINKCC=/s/^LINKCC=[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]*\(.*\)/s%@LINKCC[@]%\1%/p' \<BR>
&nbsp;-e '/^OPT=/s/^OPT=[&nbsp;&nbsp;&nbsp; ]*\(.*\)/s%@OPT[@]%\1%/p' \<BR>
&nbsp;-e '/^LDFLAGS=/s/^LDFLAGS=[&nbsp;&nbsp;&nbsp; ]*\(.*\)/s%@LDFLAGS[@]%\1%/p' \<BR>
&nbsp;-e '/^DEFS=/s/^DEFS=[&nbsp; ]*\(.*\)/s%@DEFS[@]%\1%/p' \<BR>
&nbsp;-e '/^LIBS=/s/^LIBS=[&nbsp; ]*\(.*\)/s%@LIBS[@]%\1%/p' \<BR>
&nbsp;-e '/^LIBM=/s/^LIBM=[&nbsp; ]*\(.*\)/s%@LIBM[@]%\1%/p' \<BR>
&nbsp;-e '/^LIBC=/s/^LIBC=[&nbsp; ]*\(.*\)/s%@LIBC[@]%\1%/p' \<BR>
&nbsp;-e '/^RANLIB=/s/^RANLIB=[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]*\(.*\)/s%@RANLIB[@]%\1%/p' \<BR>
&nbsp;-e '/^MACHDEP=/s/^MACHDEP=[&nbsp;&nbsp;&nbsp; ]*\(.*\)/s%@MACHDEP[@]%\1%/p' \<BR>
&nbsp;-e '/^SO=/s/^SO=[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]*\(.*\)/s%@SO[@]%\1%/p' \<BR>
&nbsp;-e '/^LDSHARED=/s/^LDSHARED=[&nbsp; ]*\(.*\)/s%@LDSHARED[@]%\1%/p' \<BR>
&nbsp;-e '/^CCSHARED=/s/^CCSHARED=[&nbsp; ]*\(.*\)/s%@CCSHARED[@]%\1%/p' \<BR>
&nbsp;-e '/^LINKFORSHARED=/s/^LINKFORSHARED=[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]*\(.*\)/s%@LINKFORSHARED[@]%\1%/p' \<BR>
&nbsp;-e '/^prefix=/s/^prefix=\(.*\)/s%^prefix=.*%prefix=\1%/p' \<BR>
&nbsp;-e '/^exec_prefix=/s/^exec_prefix=\(.*\)/s%^exec_prefix=.*%exec_prefix=\1%/p' \<BR>
&nbsp;/usr/lib/python2.3/config/Makefile &gt;sedscript<BR>
echo &quot;/^#@SET_CCC@/d&quot; &gt;&gt;sedscript<BR>
echo &quot;/^installdir=/s%=.*%=&nbsp;&nbsp;&nbsp;&nbsp; /usr%&quot; &gt;&gt;sedscript<BR>
echo &quot;/^exec_installdir=/s%=.*%=/usr%&quot; &gt;&gt;sedscript<BR>
echo &quot;/^srcdir=/s%=.*%=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .%&quot; &gt;&gt;sedscript<BR>
echo &quot;/^VPATH=/s%=.*%=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .%&quot; &gt;&gt;sedscript<BR>
echo &quot;/^LINKPATH=/s%=.*%=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %&quot; &gt;&gt;sedscript<BR>
echo &quot;/^BASELIB=/s%=.*%=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %&quot; &gt;&gt;sedscript<BR>
echo &quot;/^BASESETUP=/s%=.*%=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %&quot; &gt;&gt;sedscript<BR>
sed -f sedscript ./Makefile.pre.in &gt;Makefile.pre<BR>
/usr/lib/python2.3/config/makesetup \<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -m Makefile.pre -c /usr/lib/python2.3/config/config.c.in Setup -n&nbsp; /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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -m Makefile.pre -c /usr/lib/python2.3/config/config.c.in Setup -n&nbsp; /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@&nbsp;&nbsp; -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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ././dco2.c:125:<BR>
/usr/include/python2.3/pyconfig.h:850:1: warning: &quot;_POSIX_C_SOURCE&quot; redefined<BR>
In file included from /usr/include/stdio.h:28,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---------------------------------------<BR>
There were errors building the dco2 module.&nbsp; This could be because of a<BR>
coding error in the dco2 module, or because your Oracle environment is<BR>
not set up properly.&nbsp; 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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF="http://www.zope.org">http://www.zope.org</A><BR>
<BR>
or check out the mailing list archives.&nbsp; You may also try inquiring on<BR>
the mailing list &quot;zope@zope.org&quot;.<BR>
<BR>
Please note that the support address &quot;support@digicool.com&quot; is for<BR>
Digital Creation's paid support customers only.&nbsp; Information about obtaining<BR>
paid support is available at<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF="http://www.digicool.com/Solutions/Support/">http://www.digicool.com/Solutions/Support/</A><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---------------------------------------<BR>
<BR>
<BR>
make: *** [src/dco2.so] Error 1<BR>
<BR>
-------------------------- end of build ----------------------<BR>
</FONT>
</P>

</BODY>
</HTML>