After some time I got Oracle 9i Lite on my Redhat9 (downloaded .iso
images) machine.  I can use sqlplus to connect to an off-machine
database and get data.  However I cannot find the Pro*C package in the
installer so I can get DBD::Oracle built.
I read the README, README.help, and README.clients.  I googled a few
times and looked over the DBI mailing list where I am fairly certain I
don't have Pro*C and as a result I don't have oracle.mk.  I fired up
the oracle installer again and cannot seem to find Pro*C in the
packages on Disk1.  So do I need to get another dist?  Does Oracle want
me to pay for something to get these libraries?

I do have some .mk files:
notebook:~/perl-modules/DBD-Oracle-1.14> find /usr/oracle -name \*.mk
/usr/oracle/network/lib/ins_net_client.mk
/usr/oracle/network/lib/env_network.mk
/usr/oracle/network/lib/ins_cman.mk
/usr/oracle/network/lib/ins_names.mk
/usr/oracle/rdbms/lib/ins_rdbms.mk
/usr/oracle/rdbms/lib/env_rdbms.mk
/usr/oracle/precomp/lib/ins_precomp.mk
/usr/oracle/precomp/lib/env_precomp.mk
/usr/oracle/plsql/spnc_makefile.mk
/usr/oracle/sqlplus/lib/env_sqlplus.mk
/usr/oracle/sqlplus/lib/ins_sqlplus.mk

Desperate I tried a hand full of these file with the -m flag but got no
farther than the usual perl ./Makefile.PL

Here are the details:
notebook:~/perl-modules/DBD-Oracle-1.14> perl ./Makefile.PL
Multiple copies of Driver.xst found in:
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI at
./Makefile.PL line 36
Using DBI 1.38 installed in
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI

 Configuring DBD::Oracle ...

>>>     Remember to actually *READ* the README file!
        Especially if you have any problems.

Using Oracle in /usr/oracle

WARNING: could not decode oracle version from
/usr/oracle/orainst/inspdver, or /usr/oracle/install/unix.rgs
or from ORACLE_HOME path /usr/oracle.
Oracle version based logic in Makefile.PL may produce erroneous
results.

Found header files in rdbms/demo.


*********************************************************
I can't find the header files I need in your Oracle installation.
You probably need to install some more Oracle components.
I'll keep going, but the compile will probably fail.
See README.clients for more information.
*********************************************************


        Unable to locate an oracle.mk, proc.mk or other suitable *.mk
        file in your Oracle installation.  (I looked in
        /usr/oracle/rdbms/lib/oracle.mk
/usr/oracle/rdbms/demo/oracle.mk /usr/oracle/rdbms/demo/demo_rdbms.mk
/usr/oracle/otrace/demo/atmoci.mk /usr/oracle/precomp/demo/proc/proc.mk
/usr/oracle/precomp/demo/proc/demo_proc.mk /usr/oracle/proc/lib/proc.mk
/usr/oracle/proc16/lib/proc16.mk)

        The oracle.mk (or demo_rdbms.mk) file is part of the Oracle
        RDBMS product. The proc.mk (or demo_proc.mk) file is part of
        the Oracle Pro*C product.  You need to build DBD::Oracle on a
        system which has one of these Oracle components installed.
        (Other *.mk files such as the env_*.mk files will not work.)

        In the unlikely event that a suitable *.mk file is installed
        somewhere non-standard you can specify where it is using the -m
option:
                perl Makefile.PL -m /path/to/your.mk

        See README.clients for more information and some alternatives.

     at ./Makefile.PL line 903.
Exit 2

notebook:~/perl-modules/DBD-Oracle-1.14> perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0)
configuration:
  Platform:
    osname=linux, osvers=2.4.20-2.48smp,
archname=i386-linux-thread-multi
    uname='linux str'
    config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g
-Dmyhostname=localhost [EMAIL PROTECTED] -Dcc=gcc -Dcf_by=Red
Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux
-Dvendorprefix=/usr -Dsiteprefix=/usr
-Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads
-Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db
-Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio
-Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less
-isr'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef'
 useithreads=define usemultiplicity=
    useperlio= d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=un uselongdouble=
    usemymalloc=, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-I/usr/include/gdbm'
    ccversion='', gccversion='3.2.2 20030213 (Red Hat Linux 8.0
3.2.2-1)', gccosandvers=''
gccversion='3.2.2 200302'
    intsize=e, longsize= , ptrsize=p, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long'
k', ivsize=4'
ivtype='long'
known_ext, nvtype='double'
o_nonbl', nvsize=, Off_t='', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc'
l', ldflags =' -L/usr/local/lib'
ldf'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=
    libc=/lib/libc-2.3.1.so, so=so, useshrplib=true, libperl=libper
    gnulibc_version='2.3.1'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef,
ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
    cccdlflags='-fPIC'
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s
Unicode/Normalize XS/A'


Characteristics of this binary (from libperl): 
  Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        MAINT18379
  Built under linux
  Compiled at Feb 18 2003 22:19:53
  @INC:
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/5.8.0
    .

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Reply via email to