DBD-Oracle-1.16 installation Error | Help
am 12.04.2006 10:58:14 von mmaniar------_=_NextPart_001_01C65E0F.3C3A745D
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi all,
=20
I am facing issue with DBD-Oracle-1.16 installation with DBI-1.50.
=20
Kindly help me with the same.
=20
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/
=20
Configuring DBD::Oracle ...
=20
>>> Remember to actually *READ* the README file!
Especially if you have any problems.
=20
Using Oracle in /apps/oracle/product/9.2.0
DEFINE _SQLPLUS_RELEASE =3D "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
=20
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=3D64 -O -DVERSION=3D\"1.16\" =
-DXS_VERSION=3D\"1.16\"
-fPIC "-I/apps/iw-home/iw-perl/lib/CORE" -Wall -Wno-comment
-DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=3D\"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=3Decho
ECHO=3Decho GENCLNTSH=3D'echo genclntsh' CC=3Dtrue OPTIMIZE=3D =
CCFLAGS=3D
EXE=3DDBD_ORA_EXE OBJS=3DDBD_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=3Dv8 -xchip=3Dultra =
-W2,-AKNR_S
-W2,-Rglobal_hoist -Wc,-Qdelay-speculate
-Wc,-Qdepgraph-safe_spec_load=3D3 -W2,-Rloop -errtags=3Dyes -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@perl.org
See README for what to include.
=20
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.
=20
Checking for functioning wait.ph
=20
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=3D64
Linker: /usr/ccs/bin/ld
Sysliblist: -lnsl -lsocket -lgen -ldl
Oracle makefiles would have used these definitions but we override them:
CC: cc
=20
CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
$(SHARED_CFLAG) $(USRFLAGS)
[$(GFLAG) -xO3 $(CDEBUG) -Xa $(PROFILE) -xstrconst -dalign
-xF $(XS) $(MR) -xildoff -errtags=3Dyes -v -xarch=3Dv9 -xchip=3Dultra3
-W2,-AKNR_S -Wd,-xsafe=3Dunboundsym -Wc,-Qiselect-funcalign=3D32
-xcode=3Dabs44 -Wc,-Qgsched-trace_late=3D1 -Wc,-Qgsched-T5
-xalias_level=3Dweak -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)]
=20
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=3Dyes -v -xarch=3Dv9 -xchip=3Dultra3 -W2,-AKNR_S
-Wd,-xsafe=3Dunboundsym -Wc,-Qiselect-funcalign=3D32 -xcode=3Dabs44
-Wc,-Qgsched-trace_late=3D1 -Wc,-Qgsched-T5 -xalias_level=3Dweak
-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]
=20
LDFLAGS: -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME)
[-o $@ -L/apps/oracle/product/9.2.0/rdbms/lib/ -L$(LIBHOME)]
=20
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)]
=20
Warning: If you have problems you may need to rebuild perl with
threading enabled.
=20
LD_RUN_PATH=3D/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
=20
*** 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?)
=20
bash-3.1#
=20
Regards,
-Mohit =20
=20
------_=_NextPart_001_01C65E0F.3C3A745D--