Hi i've succeded builded, tested and installed the following modules:
DBI-version 1.13
DBD-Oracle version 1.06
Apache::DBI version 0.87

Im using Oracle8i (8.1.7.0.0) DB.

But at the moment in which i try to use my perl script i receive in error_log the
following messages:
"ORACLE_HOME environment variable not set!
Can't call method "prepare" on an undefined value at /usr/local/apache/perl/lib/
site_perl/5.005/sun4-solaris/Oraperl.pm line 121."

- I've just set the PerlSetEnv ORACLE_HOME in httpd.conf of Apache Web Server.

$ perl -v

This is perl, version 5.005_03 built for sun4-solaris


$ perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos pdsun-build7 5.6 generic_105181-14 sun4u sparc sunw,ultra-60 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='/opt/SUNWspro/SC4.0/bin/cc', optimize=' -xO4 -KPIC', gccversion=
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='/usr/ccs/bin/ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc="dl_dlopen.xs," dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Built under solaris
  Compiled at Aug 14 2000 20:04:34
  @INC:
    /usr/local/apache/perl/lib/5.00503/sun4-solaris
    /usr/local/apache/perl/lib/5.00503
    /usr/local/apache/perl/lib/site_perl/5.005/sun4-solaris
    /usr/local/apache/perl/lib/site_perl/5.005
    .


Thanks a lot

-------------------------------
Fl@vio D' Amore
DATAMAT S.p.A.
Via Laurentina 760
00143 Rome - Italy
DATASIM - Product Support
Phone: +39-06-50.27.4350

Reply via email to