Re: DBD-Oracle, perl 5.6.1, Solaris 7

From: Tim X <timx_at_spamto.devnul.com>
Date: 23 May 2003 18:10:32 +1000
Message-ID: <873cj69j7r.fsf_at_tiger.rapttech.com.au>


>>>>> "Ron" == Ron Reidy <reidyre_at_yahoo.com> writes:

 Ron> Tomasz, If you download the DBD-Oracle.zip archive from
 Ron> ActiveState.com and look at the file DBD-Oracle.ppd, you will
 Ron> see the package is intended for Win32 only.  The same holds for
 Ron> DBD-Oracle8.zip.

 Ron> Given this, you have 2 options for using this package:

 Ron> 1. Send AS an email and ask them to get a port to Solaris  Ron> (SPARC or Intel architecture). 2. Build your own perl.

 Ron> Of the two, I would say your best chance of getting this done in  Ron> a timely manner is to build your own Perl.

 Ron> -- Ron Reidy Oracle DBA

 Ron> "Tomecki" <ptwrona_at_gazeta.pl> wrote in message  Ron> news:<badh4g$q6v$1_at_inews.gazeta.pl>...
>> Hello,
>>
>> I would like to install DBD-Oracle 1.14 on the Solaris 7 machine
>> with perl 5.6.1, no Oracle. First I've tried with ppm but it
>> doesn't work, ppm can only find following packages:
>>
>> PPM interactive shell (2.1.5) - type 'help' for available
>> commands.
 PPM> search Oracle
>> Packages available from
>> http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/PPMServer:
>> DBIx-OracleSequence [0.04] interface to Oracle sequences via DBI.
>> DDL-Oracle [1.11] a DDL generator for Oracle databases
>>
>> Then I've download the package DBD-Oracle-1.14.tar. But I need the
>> installation of DBD-Oracle on a machine, that doesn't have Oracle
>> installation. I have following message (I've set the ORACLE_HOME
>> to directory from real Oracle installation - other machine in our
>> network):
>>
>> # perl Makefile.PL Using DBI 1.37 installed in
>> /usr/local/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/DBI
>>
>> Configuring DBD::Oracle ...
>>
>> >>> Remember to actually *READ* the README file! Especially if
>> you have any problems.
>>
>> The ORACLE_HOME environment variable value (/ora/product/817) is
>> not valid. It must be set to hold the path to an Oracle
>> installation directory on this machine (or a compatible
>> archtecture). See the README.clients file for more information.
>> ABORTED!
>>
>> What can I do to install DBD-Oracle?
>>
>> Thanks a lot for any help Tomasz Wrona

AFAIK active state is only for win32 ports of perl. You want to get all your perl packages from CPAN (The comprehensive perl archive) for non windows architectures.

Try

perl -MCPAN -e shell

on your solaris box. This will initially ask some questions to configure perl for the nearest CPAN mirror. Then just follow the prompts. Install readline support for a nicer interactive shell. Once its all up and running, just type h at the perl prompt to get help on using the CPAN module. Download the DBD::Oracle package - it will be built and installed for you. Note that you will need to have access to the Oracle client libraries for the build to succeed.

Tim

-- 
Tim Cross
The e-mail address on this message is FALSE (obviously!). My real e-mail is
to a company in Australia called rapttech and my login is tcross - if you 
really need to send mail, you should be able to work it out!
Received on Fri May 23 2003 - 10:10:32 CEST

Original text of this message