[Chicago-talk] Trouble compiling DBD::Oracle for Fedora core 8

chris long cmlong at invisiblestreams.com
Tue Mar 4 13:40:56 PST 2008


Thanks for the replies Jay and Whitney, I was able to get things  
working. Once I exported the ORACLE_HOME environment variable, I was  
able to make and install successfully. I am now working with mod_perl  
and DBD::Oracle !!

Cant thank you guys enough for your support.
Chris

On Mar 3, 2008, at 6:22 PM, Jay Strauss wrote:

> First things first when working with DBD::Oracle.
>
> I know you installed the instant client, but have you tried connecting
> to Oracle with sqlplus?  You need to get that working first, just by
> itself.
>
> Then once you can successfully connect, do the stuff like setting your
> PATH, and LD_LIBRARY_PATH, and in DBD::Oracle's case your
> ORACLE_USERID.
>
> I've done this many times (generally on some Debian family distro) and
> am willing to help.
>
> Jay
>
> On Mon, Mar 3, 2008 at 12:39 PM, chris long <cmlong at invisiblestreams.com 
> > wrote:
>> I followed your instructions. Make does seem to generate  
>> *successful build
>> output*. However, when I try 'make test' or 'make install' I  
>> receive the
>> same error output that I indicated in my first post, regarding
>> "_crypt_struct' errors..
>>
>> I also tried a test script to :
>>
>>
>> use DBD::Oracle;
>>
>> The terminal replies:
>>
>> Can't locate DBD/Oracle.pm in @INC
>>
>> so doest that indicate that DBD:Oracle is not installed?
>>
>> Thanks-Chris
>>
>>
>>
>>
>> On Mar 1, 2008, at 11:22 AM, Whitney Jackson wrote:
>> I tried building DBD::Oracle on a Fedora 8 box and it went pretty
>> smoothly.  Here's what I did:
>>
>> - Installed these rpms:
>>
>> oracle-instantclient-basic-11.1.0.1-1
>> oracle-instantclient-sqlplus-11.1.0.1-1
>> oracle-instantclient-devel-11.1.0.1-1
>> libaio-0.3.106-3.2
>>
>> - From the untarred DBD-Oracle-1.20 dir:
>>
>> $ export LD_LIBRARY_PATH=/usr/lib/oracle/11.1.0.1/client/lib # so
>> sqlplus can work
>> $ perl Makefile.PL -m /usr/share/oracle/11.1.0.1/client/demo.mk -h
>> /usr/include/oracle/11.1.0.1/client
>> $ make
>> *successful build output*
>>
>> A few things to note:
>>
>> - My box has all updates applied and is running perl-5.8.8.
>>
>> - I'm no Oracle expert but it seems like build information can be
>> included in the .mk file.
>> You may want to review the .mk file that is being used to ensure
>> that any build information
>>  is correct.
>>
>> - I didn't run any tests since I don't have an Oracle server here.  I
>> just went as far as the
>> successful build.
>>
>> Whitney
>> _______________________________________________
>> Chicago-talk mailing list
>> Chicago-talk at pm.org
>> http://mail.pm.org/mailman/listinfo/chicago-talk
>>
>>
>> _______________________________________________
>> Chicago-talk mailing list
>> Chicago-talk at pm.org
>> http://mail.pm.org/mailman/listinfo/chicago-talk
>>
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk



More information about the Chicago-talk mailing list