DBD-Oracle-1.14

From: Letizia Mazzurco (letizia.mazzurco_at_st.com)
Date: 01/09/04


Date: Fri, 9 Jan 2004 15:29:41 +0100
To: dbi-users@perl.org


Hi support,

I have any problem installing DBD-Oracle-1.14.

The command 'perl Makefile.PL' on OK :

#########################################################################
Using DBI 1.39 installed in
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI

 Configuring DBD::Oracle ...

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

Using Oracle in /export/mpt/oracle8i/product/8.1.5

Oracle version 9.0.0.0.0
Found header files in rdbms/public rdbms/demo.
Found /export/mpt/oracle8i/product/8.1.5/rdbms/demo/demo_rdbms.mk
Found /export/mpt/oracle8i/product/8.1.5/otrace/demo/atmoci.mk
Found /export/mpt/oracle8i/product/8.1.5/precomp/demo/proc/demo_proc.mk
Using /export/mpt/oracle8i/product/8.1.5/rdbms/demo/demo_rdbms.mk
Reading /export/mpt/oracle8i/product/8.1.5/rdbms/demo/demo_rdbms.mk
Reading /export/mpt/oracle8i/product/8.1.5/rdbms/lib/env_rdbms.mk
Deleting ORA_NLS = $(ORACLE_HOME)/ocommon/nls/admin/data/
  because it is not already set in the environment
  and it can cause ORA-01019 errors.
Deleting ORA_NLS33 = $(ORACLE_HOME)/ocommon/nls/admin/data/
  because it is not already set in the environment
  and it can cause ORA-01019 errors.

Attempting to discover Oracle OCI build rules
cc -c -o DBD_ORA_OBJ.o DBD_ORA_OBJ.c
by executing: (make -f
/export/mpt/oracle8i/product/8.1.5/rdbms/demo/demo_rdbms.mk build ECHODO=echo
ECHO=echo GENCLNTSH='echo genclntsh' CC=echo OPTIMIZE= CCFLAGS= EXE=DBD_ORA_EXE
OBJS=DBD_ORA_OBJ.o)
Oracle oci build command:
        + -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o build
-L/export/mpt/oracle8i/product/8.1.5/rdbms/lib/
-L/export/mpt/oracle8i/product/8.1.5/lib/ -o DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh
-lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnnis9 -lnoname9 -lntcp9
-lntcps9 -lnsslb9 -lntcp9 -lntns9 -lnsl -lsocket -lgen -ldl
-R/export/mpt/oracle8i/product/8.1.5/lib -laio -lposix4 -lkstat -lm -lthread

System: perl5.006001 sunos cad06 5.7 generic_106541-18 sun4m sparc
sunw,sparcstation-20
Compiler: cc -O -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
Linker: /usr/local/bin/ld
Sysliblist: -lnsl -lsocket -lgen -ldl
Oracle makefiles would have used these definitions but we override them:
  CC: cc

  CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
        $(SHARED_CFLAG) $(USRFLAGS)
           [$(GFLAG) -xO2 $(CDEBUG) -Xa $(PROFILE) -xstrconst -dalign -xF $(XS)
$(MR) -xildoff -errtags=yes -v -xarch=v9 -xchip=ultra3 -W2,-AKNR_S
-Wd,-xsafe=unboundsym -Wc,-Qiselect-funcalign=32 -xcode=abs44
-Wc,-Qgsched-trace_late=1 -Wc,-Qgsched-T5 -xalias_level=weak -D_REENTRANT
-DSS_64BIT_SERVER -DBIT64 -DMACHINE64 -K PIC
-I/export/mpt/oracle8i/product/8.1.5/rdbms/demo
-I/export/mpt/oracle8i/product/8.1.5/rdbms/public
-I/export/mpt/oracle8i/product/8.1.5/plsql/public
-I/export/mpt/oracle8i/product/8.1.5/network/public -DSLMXMX_ENABLE -DSLTS_ENABLE
-D_SVID_GETTOD -D_REENTRANT $(LPFLAGS) $(USRFLAGS)]

  LDFLAGS: -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME)
           [-o $@ -L/export/mpt/oracle8i/product/8.1.5/rdbms/lib/ -L$(LIBHOME)]

Linking with OTHERLDFLAGS = -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o
build -L/export/mpt/oracle8i/product/8.1.5/rdbms/lib/
-L/export/mpt/oracle8i/product/8.1.5/lib/ -lclntsh -lnbeq9 -lnhost9 -lnus9
-lnldap9 -lldapclnt9 -lnsslb9 -lnnis9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9
-lntns9 -lnsl -lsocket -lgen -ldl -R/export/mpt/oracle8i/product/8.1.5/lib -laio
-lposix4 -lkstat -lm -lthread
 [from 'build' rule]

Argument "9.000.0.0" isn't numeric in numeric ge (>=) at Makefile.PL line 669.

Warning: If you have problems you may need to rebuild perl with threading
enabled.

Warning: If you have problems you may need to rebuild perl with -Uusemymalloc.

Checking if your kit is complete...
Looks good
LD_RUN_PATH=/export/mpt/oracle8i/product/8.1.5/lib:/export/mpt/oracle8i/product/
8.1.5/rdbms/lib
Using DBD::Oracle 1.14.
Using DBI 1.39 installed in
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI
Writing Makefile for DBD::Oracle

*** If you have problems...
     read all the log printed above, and the README and README.help files.
     (Of course, you have read README by now anyway, haven't you?)

#######################################################################

The command 'make' return the error message:

################################################################cp Oracle.pm
blib/lib/DBD/Oracle.pm
cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm
cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h
cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h
cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h
cp oraperl.ph blib/lib/oraperl.ph
cp Oraperl.pm blib/lib/Oraperl.pm
/bin/sh -c true
/bin/sh -c true
/usr/local/bin/perl -p -e "s/~DRIVER~/Oracle/g"
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI/Driver.xst >
Oracle.xsi
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris
-I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.6.1/ExtUtils/typemap Oracle.xs > Oracle.xsc && mv
Oracle.xsc Oracle.c
cc -c -I/export/mpt/oracle8i/product/8.1.5/rdbms/demo
-I/export/mpt/oracle8i/product/8.1.5/rdbms/public
-I/export/mpt/oracle8i/product/8.1.5/plsql/public
-I/export/mpt/oracle8i/product/8.1.5/network/public
-I/export/mpt/oracle8i/product/8.1.5/rdbms/demo
-I/export/mpt/oracle8i/product/8.1.5/rdbms/public
-I/export/mpt/oracle8i/product/8.1.5/rdbms/demo
-I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.14\"
-DXS_VERSION=\"1.14\" -KPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE
-DUTF8_SUPPORT Oracle.c
cc -c -I/export/mpt/oracle8i/product/8.1.5/rdbms/demo
-I/export/mpt/oracle8i/product/8.1.5/rdbms/public
-I/export/mpt/oracle8i/product/8.1.5/plsql/public
-I/export/mpt/oracle8i/product/8.1.5/network/public
-I/export/mpt/oracle8i/product/8.1.5/rdbms/demo
-I/export/mpt/oracle8i/product/8.1.5/rdbms/public
-I/export/mpt/oracle8i/product/8.1.5/rdbms/demo
-I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.14\"
-DXS_VERSION=\"1.14\" -KPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE
-DUTF8_SUPPORT dbdimp.c
cc -c -I/export/mpt/oracle8i/product/8.1.5/rdbms/demo
-I/export/mpt/oracle8i/product/8.1.5/rdbms/public
-I/export/mpt/oracle8i/product/8.1.5/plsql/public
-I/export/mpt/oracle8i/product/8.1.5/network/public
-I/export/mpt/oracle8i/product/8.1.5/rdbms/demo
-I/export/mpt/oracle8i/product/8.1.5/rdbms/public
-I/export/mpt/oracle8i/product/8.1.5/rdbms/demo
-I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.14\"
-DXS_VERSION=\"1.14\" -KPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE
-DUTF8_SUPPORT oci7.c
cc -c -I/export/mpt/oracle8i/product/8.1.5/rdbms/demo
-I/export/mpt/oracle8i/product/8.1.5/rdbms/public
-I/export/mpt/oracle8i/product/8.1.5/plsql/public
-I/export/mpt/oracle8i/product/8.1.5/network/public
-I/export/mpt/oracle8i/product/8.1.5/rdbms/demo
-I/export/mpt/oracle8i/product/8.1.5/rdbms/public
-I/export/mpt/oracle8i/product/8.1.5/rdbms/demo
-I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.14\"
-DXS_VERSION=\"1.14\" -KPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE
-DUTF8_SUPPORT oci8.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/export/mpt/oracle8i/product/8.1.5/lib:/export/mpt/oracle8i/product
/8.1.5/rdbms/lib" cc -G -L/usr/local/lib
-L/net/CAD31/export/home/SUNWspro/WS6U1/lib Oracle.o dbdimp.o oci7.o oci8.o
-L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o build
-L/export/mpt/oracle8i/product/8.1.5/rdbms/lib/
-L/export/mpt/oracle8i/product/8.1.5/lib/ -lclntsh -lnbeq9 -lnhost9 -lnus9
-lnldap9 -lldapclnt9 -lnsslb9 -lnnis9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9
-lntns9 -lnsl -lsocket -lgen -ldl -R/export/mpt/oracle8i/product/8.1.5/lib -laio
-lposix4 -lkstat -lm -lthread -o blib/arch/auto/DBD/Oracle/Oracle.so
ld: fatal: library -lclntsh: not found
ld: fatal: File processing errors. No output written to
blib/arch/auto/DBD/Oracle/Oracle.so
make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1

#############################################################

In attach I send you the file with environment variable setting.
How do you can help me ?

Thanks in advance.
Letizia


HOME=/
HZ=100
LOGNAME=root
MAIL=/var/mail/root
PATH=/usr/sbin/:/usr/local/bin:/usr/appl/compilers/SUNWspro/bin:/usr/appl/local/SunOS_5.5.1/opt/Java/JDK_1.2/bin:/bin:/usr/bin:/etc:/opt/bin:/usr/openwin/bin/xview:/usr/ccs/bin:/usr/appl/tcad/pads/netscape:/usr/openwin/bin:/usr/ucb:/export/mpt/oracle8i/product/8.1.5/bin:/opt/texmf/bin/:/export/database/ingres/ingres/bin:/export/mpt/oracle8i/catsmath:/bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb:/usr/ccs/bin:/etc:/usr/openwin/bin:/usr/dt/bin:/usr/sbin/nsr:/usr/bin/nsr:/usr/lib/:/usr/lib/netsvc/yp:/usr/opt/SUNWmd/sbin:/usr/platform/sun4u/sbin
SHELL=/sbin/sh
TERM=dtterm
TZ=MET
PWD=/export/mpt/oracle8i/DBD-Oracle/DBD-Oracle-1.14
USER=root
OPENWINHOME=/usr/openwin
LD_LIBRARY_PATH=/usr/local/lib
EDITOR=vi
DISPLAY=CADMPT:0.0
ORACLE_HOME=/export/mpt/oracle8i/product/8.1.5
LM_LICENSE_FILE=1726@scm06



Relevant Pages

  • Re: How many names and addresses can you have for ID card
    ... Think command line only (except when you're installing, ... which is unsettling to we Linux users. ... This is NOTHING to do with Oracle though. ...
    (uk.legal)
  • Re: compiling DBD-Oracle 1.16 against an Oracle 9i 64bit home]
    ... Generated command from make: ... I'm trying to compile DBD-Oracle 1.16 against an Oracle 9i 64-bit home and got a little further this time when I set LD_LIBRARY_PATH to include $ORACLE_HOME/lib32. ... Deleted PERL definition: PERL=perl ... Found header files in plsql/public rdbms/public rdbms/demo. ...
    (perl.dbi.users)
  • Re: Installing Perl DBI and Oracle DBD in AIX 5.1
    ... I installed the Oracle DBI by following ... >> the perl DBI and oracle DBD in this machine. ... > discussion about installing DBI on AIX and with ...
    (perl.beginners)
  • Re: desc $table in DBI Oracle
    ... I believe, but am not certain, that "desc" is not valid Oracle SQL syntax. ... SQLPLUS, it intercepts the desc command and processes it itself. ... does not work from Perl. ...
    (comp.lang.perl.misc)
  • Re: SOAP::Lite install problem
    ... > I tried installing the module using the following command and got the ... > web site, but I was wondering what my problem is? ... > under Perl 5.8? ...
    (comp.lang.perl.misc)