List,

I'm trying to build perl-dbi with oracle but can't get it to run. If anyone
could help out this newbie I'd be greatful! I'm using openpkg 2.0 under
solaris 8 and trying to build perl-dbi-5.8.3-2.2.0.src.rpm. Here are my
questions:

1. perl-dbi.spec requires a packace ORACLE or something here:

%if "%{with_dbd_oracle}" == "yes"
BuildPreReq:  ORACLE
PreReq:       ORACLE
%endif

Is there an openpkg package called ORACLE? Or is this a setting? I tried
just taking this out of the spec...

2. This section:

      ORACLE_HOME=""
      export ORACLE_HOME

seems to look for an env variable "oracle_home" but doesn't see ORACLE_HOME.
But even if I do set an exported var oracle_home in my shell before running,
the perl config of DBD-Oracle fails because it says ORACLE_HOME is not set.
(And it also fails if I hardcode ORACLE_HOME in the .spec file!) So somehow
this env setting is not getting passed down properly when DBD::Oracle is
configured.

3. If I cd to RPM/TMP/perl-dbi-5.8.3/DBD-Oracle-1.15 and configure and build
the module (with the openpkg perl!) it runs configures, builds, installs and
works just fine! So I think the only thing missing in the build is the
ORACLE_HOME setting.

Thanks!

David P Dean
PGRDi Groton Discovery Informatics
Pfizer Groton Labs



LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. 
It is intended for the addressee(s) only. Access to this E-mail by anyone else is 
unauthorized. If you are not an addressee, any disclosure or copying of the contents 
of this E-mail or any action taken (or not taken) in reliance on it is unauthorized 
and may be unlawful. If you are not an addressee, please inform the sender immediately.
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to