I am hopeful that someone on this list has experienced
this and can point me in the correct direction to resolve
it.
I am trying to
install the DBD::Oracle in my perl on UNIX. I am getting errors that I am not
able to decipher to correct.
The errors are telling me that perhaps I am missing some oracle files but it's not clear which files I am missing. Can anyone assist me helping me understand the error and perhaps tell me what files I am missing and or why this module will not install properly?
Running install for module DBD::Oracle
Running make for
T/TI/TIMB/DBD-Oracle-1.16.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for
/opt/admin/home/ceon3/.cpan/sources/authors/id/T/TI/TIMB/DBD-Oracle-1.16.tar.gz
ok Scanning cache /opt/admin/home/ceon3/.cpan/build for sizes x DBD-Oracle-1.16,
0 bytes, 0 tape blocks x DBD-Oracle-1.16/Todo, 1967 bytes, 4 tape blocks x
DBD-Oracle-1.16/lib, 0 bytes, 0 tape blocks x DBD-Oracle-1.16/lib/DBD, 0 bytes,
0 tape blocks x DBD-Oracle-1.16/lib/DBD/Oracle, 0 bytes, 0 tape blocks x
DBD-Oracle-1.16/lib/DBD/Oracle/GetInfo.pm,
*************** SNIP
*************
Oracle-1.16/typemap, 38 bytes, 1 tape blocks x
DBD-Oracle-1.16/README.clients, 12057 bytes, 24 tape blocks Removing previously
used /opt/admin/home/ceon3/.cpan/build/DBD-Oracle-1.16
CPAN.pm: Going to build
T/TI/TIMB/DBD-Oracle-1.16.tar.gz
Using DBI 1.48 (for perl 5.008007 on
sun4-solaris-thread-multi) installed in
/opt/app/ceon3/ActivePerl-5.8/lib/site_perl/5.8.7/sun4-solaris-thread-multi/auto/DBI/
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README
file!
Especially if you have any problems.
Using Oracle in
/opt/dbms/ceon3/oracle/product/ora9205_64
DEFINE _SQLPLUS_RELEASE = "902000500" (CHAR) Oracle
version 9.2.0.5 (9.2) Found
/opt/dbms/ceon3/oracle/product/ora9205_64/precomp/demo/proc/demo_proc.mk
Using
/opt/dbms/ceon3/oracle/product/ora9205_64/precomp/demo/proc/demo_proc.mk
Reading
/opt/dbms/ceon3/oracle/product/ora9205_64/precomp/demo/proc/demo_proc.mk
Reading
/opt/dbms/ceon3/oracle/product/ora9205_64/precomp/lib/env_precomp.mk
Attempting to discover Oracle OCI build
rules
gcc -c DBD_ORA_OBJ.c
by executing: [make -f
/opt/dbms/ceon3/oracle/product/ora9205_64/precomp/demo/proc/demo_proc.mk build
ECHODO=echo ECHO=echo GENCLNTSH='echo genclntsh' CC=true OPTIMIZE= CCFLAGS=
EXE=DBD_ORA_EXE OBJS=DBD_ORA_OBJ.o] Oracle oci build command:
[true -xarch=v9 -o DBD_ORA_EXE DBD_ORA_OBJ.o
-L/opt/dbms/ceon3/oracle/product/ora9205_64/lib/ -lclntsh `cat
/opt/dbms/ceon3/oracle/product/ora9205_64/lib/ldflags` `cat
/opt/dbms/ceon3/oracle/product/ora9205_64/lib/sysliblist`
-R/opt/dbms/ceon3/oracle/product/ora9205_64/lib -laio -lposix4 -lm
-lthread]
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.
*********************************************************
Checking for functioning wait.ph
System: perl5.008007 sunos sparky 5.6
generic_105181-35 sun4u sparc sunw,ultra-5_10
Compiler: gcc -O -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -DBUILT_BY_ACTIVESTATE
-fno-strict-aliasing -pipe -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 -DPRECOMP -I.
-I/opt/dbms/ceon3/oracle/product/ora9205_64/precomp/public
-I/opt/dbms/ceon3/oracle/product/ora9205_64/rdbms/public
-I/opt/dbms/ceon3/oracle/product/ora9205_64/rdbms/demo
-I/opt/dbms/ceon3/oracle/product/ora9205_64/plsql/public
-I/opt/dbms/ceon3/oracle/product/ora9205_64/network/public -DSLMXMX_ENABLE
-DSLTS_ENABLE -D_SVID_GETTOD -D_REENTRANT $(LPFLAGS) $(USRFLAGS)]
LDFLAGS: -o $@ $(LDPATHFLAG)$(PRODLIBHOME)
$(LDPATHFLAG)$(LIBHOME)
[-o $@
-L/opt/dbms/ceon3/oracle/product/ora9205_64/precomp/lib/
-L$(LIBHOME)]
Linking with OTHERLDFLAGS = -xarch=v9
-L/opt/dbms/ceon3/oracle/product/ora9205_64/lib/ -lclntsh `cat
/opt/dbms/ceon3/oracle/product/ora9205_64/lib/ldflags` `cat
/opt/dbms/ceon3/oracle/product/ora9205_64/lib/sysliblist`
-R/opt/dbms/ceon3/oracle/product/ora9205_64/lib -laio -lposix4 -lm -lthread
[from 'build' rule]
Checking if your kit is complete...
Looks good
LD_RUN_PATH=/opt/dbms/ceon3/oracle/product/ora9205_64/lib32:/opt/dbms/ceon3/oracle/product/ora9205_64/rdbms/lib32
Using DBD::Oracle 1.16.
Using DBD::Oracle 1.16.
Using DBI 1.48 (for perl 5.008007 on
sun4-solaris-thread-multi) installed in
/opt/app/ceon3/ActivePerl-5.8/lib/site_perl/5.8.7/sun4-solaris-thread-multi/auto/DBI/
Writing Makefile for DBD::Oracle
*** SNIP
******
I/opt/dbms/ceon3/oracle/product/ora9205_64/plsql/public
-I/opt/dbms/ceon3/oracle/product/ora9205_64/network/public
-I/opt/dbms/ceon3/oracle/product/ora9205_64/rdbms/demo
-I/opt/dbms/ceon3/oracle/product/ora9205_64/rdbms/demo
-I/opt/app/ceon3/ActivePerl-5.8/lib/site_perl/5.8.7/sun4-solaris-thread-multi/auto/DBI/
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DUSE_SITECUSTOMIZE -DNO_HASH_SEED
-DBUILT_BY_ACTIVESTATE -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC
"-I/opt/app/ceon3/ActivePerl-5.8/lib/5.8.7/sun4-solaris-thread-multi/CORE" -Wall
-Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.5\"
Oracle.c
In file included from Oracle.h:20,
from Oracle.xs:1:
dbdimp.h:44:17: oci.h: No such file or
directory
dbdimp.h:46:20: ocidfn.h: No such file or directory
In file included from Oracle.h:20,
from Oracle.xs:1:
dbdimp.h:59: error: parse error before
"OCIEnv"
dbdimp.h:59: warning: no semicolon at end of struct
or union
**SNIP
***
Oracle.xs:335: error: dereferencing pointer to
incomplete type
Oracle.xs:335: error: dereferencing pointer to
incomplete type
Oracle.xs:335: error: dereferencing pointer to
incomplete type
Oracle.xs:336: error: `OCI_SUCCESS' undeclared
(first use in this function)
Oracle.xs:337: error: dereferencing pointer to
incomplete type
Oracle.c: In function
`boot_DBD__Oracle':
Oracle.c:1533: error: `SQLCS_IMPLICIT' undeclared
(first use in this function)
Oracle.c:1545: error: `SQLCS_NCHAR' undeclared
(first use in this function)
Oracle.xsi:21: error: invalid application of
`sizeof' to an incomplete type
Oracle.xsi:22: error: invalid application of
`sizeof' to an incomplete type
Oracle.xsi:23: error: invalid application of
`sizeof' to an incomplete type
*** Error code 1
make: Fatal error: Command failed for target
`Oracle.o'
/usr/ccs/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems
impossible
Regards,
David Sawyer
Senior Customer Support Engineer
Ceon Corporation
650-817-6334 (office)
650-238-8078 (Blackberry Wireless)
408-832-4354 (mobile)
www.Ceon.com
-.- .---- -.. .-. ...
David Sawyer
Senior Customer Support Engineer
Ceon Corporation
650-817-6334 (office)
650-238-8078 (Blackberry Wireless)
408-832-4354 (mobile)
www.Ceon.com
-.- .---- -.. .-. ...
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
