<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" color="#000000">Im trying to set up and configure a development environment based around Apache/mod_perl and Oracle on a Fedora Core 8 server. I have run into issues configuring the DBD::Oracle module for the Perl DBI.&nbsp;</font></div><div><br class="webkit-block-placeholder"></div><div><font class="Apple-style-span" color="#000000">Notes on the steps I've taken thus far:</font></div><div><font class="Apple-style-span" color="#000000"><br class="webkit-block-placeholder"></font></div><div><font class="Apple-style-span" color="#000000">I have successfully installed the rpm's for the oracle instant client, and the developers package with the necessary &nbsp;library and header files.&nbsp;</font></div><div><font class="Apple-style-span" color="#000000">I was able to successfully write the makefile for DBD::Oracle, but when I run make I experience a series of syntax errors and warnings related to the perl core.&nbsp;</font></div><div><font class="Apple-style-span" color="#000000"><br class="webkit-block-placeholder"></font></div><div><div><font class="Apple-style-span" color="#000000">[root@surveystars DBD-Oracle-1.20]# make</font></div><div><font class="Apple-style-span" color="#000000">gcc -c &nbsp;-I/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBI -I/usr/include/oracle/11.1.0.1/client -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 &nbsp; -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" &nbsp;-Wall -Wcast-align -Wpointer-arith -DORA_OCI_VERSION=\"11.1.0.1\" Oracle.c</font></div><div><font class="Apple-style-span" color="#000000">In file included from /usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/op.h:487,</font></div><div><font class="Apple-style-span" color="#000000">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from /usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/perl.h:2355,</font></div><div><font class="Apple-style-span" color="#000000">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBI/DBIXS.h:19,</font></div><div><font class="Apple-style-span" color="#000000">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from Oracle.h:51,</font></div><div><font class="Apple-style-span" color="#000000">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from Oracle.xs:1:</font></div><div><font class="Apple-style-span" color="#000000">/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/reentr.h:611: error: field `_crypt_struct' has incomplete type</font></div><div><font class="Apple-style-span" color="#000000">In file included from /usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/perl.h:3565,</font></div><div><font class="Apple-style-span" color="#000000">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBI/DBIXS.h:19,</font></div><div><font class="Apple-style-span" color="#000000">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from Oracle.h:51,</font></div><div><font class="Apple-style-span" color="#000000">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from Oracle.xs:1:</font></div><div><font class="Apple-style-span" color="#000000">/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/proto.h:199: error: syntax error before "off64_t"</font></div><div><font class="Apple-style-span" color="#000000">/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/proto.h:201: error: syntax error before "Perl_do_sysseek"</font></div><div><font class="Apple-style-span" color="#000000">/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/proto.h:201: error: syntax error before "off64_t"</font></div><div><font class="Apple-style-span" color="#000000">/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/proto.h:201: warning: type defaults to `int' in declaration of `Perl_do_sysseek'</font></div><div><font class="Apple-style-span" color="#000000">/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/proto.h:201: warning: data definition has no type or storage class</font></div><div><font class="Apple-style-span" color="#000000">/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/proto.h:202: error: syntax error before "Perl_do_tell"</font></div><div><font class="Apple-style-span" color="#000000">/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/proto.h:202: warning: type defaults to `int' in declaration of `Perl_do_tell'</font></div><div><font class="Apple-style-span" color="#000000">/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/proto.h:202: warning: data definition has no type or storage class</font></div><div><font class="Apple-style-span" color="#000000">/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/proto.h:1308: error: syntax error before "Perl_PerlIO_tell"</font></div><div><font class="Apple-style-span" color="#000000">/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/proto.h:1308: warning: type defaults to `int' in declaration of `Perl_PerlIO_tell'</font></div><div><font class="Apple-style-span" color="#000000">/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/proto.h:1308: warning: data definition has no type or storage class</font></div><div><font class="Apple-style-span" color="#000000">/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/proto.h:1309: error: syntax error before "off64_t"</font></div><div><font class="Apple-style-span" color="#000000">Oracle.xs: In function `XS_DBD__Oracle__db_ora_lob_write':</font></div><div><font class="Apple-style-span" color="#000000">Oracle.xs:209: warning: dereferencing type-punned pointer will break strict-aliasing rules</font></div><div><font class="Apple-style-span" color="#000000">Oracle.xs: In function `XS_DBD__Oracle__db_ora_lob_append':</font></div><div><font class="Apple-style-span" color="#000000">Oracle.xs:265: warning: dereferencing type-punned pointer will break strict-aliasing rules</font></div><div><font class="Apple-style-span" color="#000000">Oracle.xs: In function `XS_DBD__Oracle__db_ora_lob_read':</font></div><div><font class="Apple-style-span" color="#000000">Oracle.xs:333: warning: dereferencing type-punned pointer will break strict-aliasing rules</font></div><div><font class="Apple-style-span" color="#000000">Oracle.xs: In function `XS_DBD__Oracle__db_ora_lob_length':</font></div><div><font class="Apple-style-span" color="#000000">Oracle.xs:377: warning: dereferencing type-punned pointer will break strict-aliasing rules</font></div><div><font class="Apple-style-span" color="#000000">make: *** [Oracle.o] Error 1</font></div><div><font class="Apple-style-span" color="#A09DAB"><br class="webkit-block-placeholder"></font></div><div><font class="Apple-style-span" color="#000000">Is there something wrong with the perl compiled on this distribution?</font><font class="Apple-style-span" color="#A09DAB">&nbsp;<span class="Apple-style-span" style="color: rgb(0, 0, 0); ">If you are familiar with this, maybe you could suggest a Linux Distro that you have successfully compiled DBD::Oracle on for production use, or any other tips or suggestions you might have for setting up this environment.&nbsp;</span></font></div><div><br class="webkit-block-placeholder"></div><div>Thanks-</div><div><br class="webkit-block-placeholder"></div><div>Chris Long</div><div><font class="Apple-style-span" color="#A09DAB"><span class="Apple-style-span" style="color: rgb(0, 0, 0); "><div><br class="webkit-block-placeholder"></div></span></font></div></div></body></html>