Emma Wermström (EMW) ([EMAIL PROTECTED]) wrote:
> Thank you!
>
> I think you understand my dilemma.
> Installing DBD::Oracle requires that I install "some Oracle software such as Pro*C",
>according to the DBD::Oracle README. Do you know exactly what I need?
> I've already installed Apache::DBI and I'm running one of the latest versions of
>perl and mod_perl.
> Thanks again,
Hmmm, isn't Pro*C the C-Compiler?
I can only talk about the Solaris requirements to set things up, but
here we go.
On the source machine, you need a C-Compiler - gcc should do - a Oracle
client installation *AND* the Oracle Sample Code - there you'll find the
required headerfiles, but I never figured out what Oracle installation
options you need to get them installed.
After extracting the DBD-Oracle tar file, change into its directory and
do a
perl Makefile.PL
depending on your Oracle version you'll get a security waring - tell
your DBA - and a flashy screen telling you that you're missing the RPC
and Proxy stuff - they're not required and come in additional packages.
Continue with
make
to build the stuff and test it with
make test
Note, that make test requires the scott/tiger users and the test
database, otherwise you need to set ORACLE_SID and ORACLE_USER or a
combination of both - sorry can't remember that detail - to let the test
scripts successfully log into your database.
If everything goes well, finally do a
make install
and you're done.
I hope I haven't forgotten too much stuff...
Mike
--
If we fail, we will lose the war.
Michael Lamertz | [EMAIL PROTECTED] / [EMAIL PROTECTED]
Nordstr. 49 | http://www.lamertz.net
50733 Cologne | Work: +49 221 3091-121
Germany | Priv: +49 221 445420 / +49 171 6900 310