DBD-Oracle-1.16 installation Error | Help



Hi all,

I am facing issue with DBD-Oracle-1.16 installation with DBI-1.50.

Kindly help me with the same.

bash-3.1# iwperl Makefile.PL
Multiple copies of Driver.xst found in:
/apps/iw-home/iw-perl/site/lib/auto/DBI/
/apps/iw-home/iw-perl/vendor/lib/auto/DBI/ at Makefile.PL line 39
Using DBI 1.50 (for perl 5.008002 on sun4-solaris-multi) installed in
/apps/iw-home/iw-perl/site/lib/auto/DBI/

Configuring DBD::Oracle ...

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

Using Oracle in /apps/oracle/product/9.2.0
DEFINE _SQLPLUS_RELEASE = "902000600" (CHAR)
Oracle version 9.2.0.6 (9.2)
Found /apps/oracle/product/9.2.0/rdbms/demo/demo_rdbms.mk
Found /apps/oracle/product/9.2.0/otrace/demo/atmoci.mk
Found /apps/oracle/product/9.2.0/precomp/demo/proc/demo_proc.mk
Using /apps/oracle/product/9.2.0/rdbms/demo/demo_rdbms.mk
Reading /apps/oracle/product/9.2.0/rdbms/demo/demo_rdbms.mk
Reading /apps/oracle/product/9.2.0/rdbms/lib/env_rdbms.mk

Attempting to discover Oracle OCI build32 rules
gcc -c -I/apps/oracle/product/9.2.0/rdbms/demo
-I/apps/oracle/product/9.2.0/rdbms/public
-I/apps/oracle/product/9.2.0/plsql/public
-I/apps/oracle/product/9.2.0/network/public
-I/apps/oracle/product/9.2.0/rdbms/demo
-I/apps/oracle/product/9.2.0/plsql/public
-I/apps/oracle/product/9.2.0/rdbms/public
-I/apps/oracle/product/9.2.0/rdbms/demo
-I/apps/iw-home/iw-perl/site/lib/auto/DBI/ -DUSE_HAS_SEED_EXPLICIT
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\"
-fPIC "-I/apps/iw-home/iw-perl/lib/CORE" -Wall -Wno-comment
-DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.6\"
DBD_ORA_OBJ.c
by executing: [make -f
/apps/oracle/product/9.2.0/rdbms/demo/demo_rdbms.mk build32 ECHODO=echo
ECHO=echo GENCLNTSH='echo genclntsh' CC=true OPTIMIZE= CCFLAGS=
EXE=DBD_ORA_EXE OBJS=DBD_ORA_OBJ.o]
Warning: Oracle build rule discovery failed (256)
Add path to make command into your PATH environment variable.
Oracle oci build command:
[cc -Xa -xstrconst -xF -xarch=v8 -xchip=ultra -W2,-AKNR_S
-W2,-Rglobal_hoist -Wc,-Qdelay-speculate
-Wc,-Qdepgraph-safe_spec_load=3 -W2,-Rloop -errtags=yes -v -K PIC
-L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o build
-L/apps/oracle/product/9.2.0/rdbms/lib32/
-L/apps/oracle/product/9.2.0/lib32/ -o DBD_ORA_EXE DBD_ORA_OBJ.o
-lclntsh `cat /apps/oracle/product/9.2.0/lib32/ldflags` `cat
/apps/oracle/product/9.2.0/lib32/sysliblist`
-R/apps/oracle/product/9.2.0/lib32 -laio -lposix4 -lkstat -lm
-lthread]
[sh: cc: not found]
[*** Error code 1]
[make: Fatal error: Command failed for target `build']
[Current working directory
/export/home/test1/perlm/DBD-Oracle-1.16]
[*** Error code 1]
[make: Fatal error: Command failed for target `build32']
Unable to interpret Oracle build commands from
/apps/oracle/product/9.2.0/rdbms/demo/demo_rdbms.mk.
(Will continue by using fallback approach.)
Please report this to dbi-users@xxxxxxxx <mailto:dbi-users@xxxxxxxx> .
See README for what to include.

Warning: Solaris 2.5 bug #1224467 may cause '_rmutex_unlock' error.
Deleting -lthread from link list as a possible workround (2.6).
Found header files in plsql/public rdbms/public rdbms/demo.

Checking for functioning wait.ph


System: perl5.008002 sunos newton 5.6 generic_105181-23 sun4u sparc
sunw,ultrasparc-iii-engine
Compiler: gcc -O -DUSE_HAS_SEED_EXPLICIT -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
Linker: /usr/ccs/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) -xO3 $(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/apps/oracle/product/9.2.0/rdbms/demo
-I/apps/oracle/product/9.2.0/rdbms/public
-I/apps/oracle/product/9.2.0/plsql/public
-I/apps/oracle/product/9.2.0/network/public -DSLMXMX_ENABLE
-DSLTS_ENABLE -D_SVID_GETTOD -D_REENTRANT $(LPFLAGS) $(USRFLAGS)]

build:
$(LDCCOM) $(LIBPATH) -o $(EXE) $(OBJS) $(SHARED_LDCLIENTLIBS)
$(LLIBTHREAD)
[ $(ADE_DEL_FILE_CMD) $(PURELINK) $(PURIFY) $(PURECOV)
$(QUANTIFY) cc $(GFLAG) -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
-L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o $@
-L/apps/oracle/product/9.2.0/rdbms/lib/ -L$(LIBHOME) $(LIBPATH) -o
$(EXE) $(OBJS) -lclntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9
-lnsslb9 -lnnis9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9
$(EXPDLIBS) $(EXOSLIBS) -lnsl -lsocket -lgen -ldl
-R/apps/oracle/product/9.2.0/lib -laio $(THREADLIBS) -lposix4 -lkstat
-lm $(USRLIBS) -lthread]

LDFLAGS: -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME)
[-o $@ -L/apps/oracle/product/9.2.0/rdbms/lib/ -L$(LIBHOME)]


Linking with /apps/oracle/product/9.2.0/rdbms/lib32/defopt.o -lclntsh
-lnsl -lsocket -lgen -ldl -R/apps/oracle/product/9.2.0/lib32 -laio
-lposix4 -lkstat -lm [from $(DEF_OPT) $(OCISHAREDLIBS)]


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

LD_RUN_PATH=/apps/oracle/product/9.2.0/lib32
Using DBD::Oracle 1.16.
Using DBD::Oracle 1.16.
Multiple copies of Driver.xst found in:
/apps/iw-home/iw-perl/site/lib/auto/DBI/
/apps/iw-home/iw-perl/vendor/lib/auto/DBI/ at Makefile.PL line 1436
Using DBI 1.50 (for perl 5.008002 on sun4-solaris-multi) installed in
/apps/iw-home/iw-perl/site/lib/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?)

bash-3.1#

Regards,
-Mohit



Relevant Pages

  • Re: trouble installing DBD:Oracle on linux
    ... Your Makefile run seems to be successful. ... The warning you obviously refer to only affects one way DBD::Oracle uses ... Unable to interpret Oracle build commands from ... The Makefile runs a make command and uses the output to determine the ...
    (perl.dbi.users)
  • Re: Basic Oracle Concepts
    ... A sqlserver database is more or less the ... Multiple Oracle Homes are created during installation. ...
    (comp.databases.oracle.misc)
  • Re: security question
    ... I've experienced where we had to write a manual start process for multiple ... instances of Oracle because more than two would go over the default (30 ... The real time would be the time between when the Network Services ... > start (meaning the listening programs are started) and the firewall is ...
    (Security-Basics)
  • Oracle E-Business Suite - Multiple Vulnerabilities
    ... Multiple security vulnerabilities have been corrected in the Oracle Business ... All Internet accessible environments should prioritize patch 6045931 ...
    (Bugtraq)
  • Re: DataRow Array size
    ... I replied Tomasz in the other post "Multiple INSERTs to Oracle in a single ... command - how to?" ...
    (microsoft.public.dotnet.framework.adonet)