Hi
I try to install DBD::Oracle and I got message when I do make command
like this
adm1med#spsy|DBD-Oracle-1.18> perl Makefile.PL
Using DBI 1.52 (for perl 5.008004 on sun4-solaris-64int) installed in
/usr/perl5
/site_perl/5.8.4/sun4-solaris-64int/auto/DBI/
Configuring DBD::Oracle for perl 5.008004 on solaris
(sun4-solaris-64int)
Remember to actually *READ* the README file! Especially if you have any
problems
.
Using Oracle in /u01/app/oracle/product/8.1.7
DEFINE _SQLPLUS_RELEASE = "801070000" (CHAR)
Oracle version 8.1.7.0 (8.1)
Found /u01/app/oracle/product/8.1.7/rdbms/demo/demo_rdbms.mk
Found /u01/app/oracle/product/8.1.7/precomp/demo/proc/demo_proc.mk
Using /u01/app/oracle/product/8.1.7/rdbms/demo/demo_rdbms.mk
Your LD_LIBRARY_PATH env var is set to
'/usr/local/lib:/usr/dt/lib:/usr/openwin/
lib:/home/s/lib:/opt/SUNWspro/lib:/usr/ccs/lib:.:/u01/app/oracle/product
/8.1.7/l
ib:/u01/app/oracle/product/6.0.8/lib:/u01/app/oracle/product/6.0.8/netwo
rk/jre11
/lib/sparc/native_threads'
Reading /u01/app/oracle/product/8.1.7/rdbms/demo/demo_rdbms.mk
Reading /u01/app/oracle/product/8.1.7/rdbms/lib/env_rdbms.mk
Attempting to discover Oracle OCI build rules
cc -c DBD_ORA_OBJ.c
by executing: [make -f
/u01/app/oracle/product/8.1.7/rdbms/demo/demo_rdbms.mk bu
ild 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 -L/u01/app/oracle/product/8.1.7/lib/
-L/u01/app/oracle/product/8.1
.7/rdbms/lib/ -o DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh
/u01/app/oracle/product/8.1.
7/rdbms/lib/kpuadef.o `sed -e 's/-ljava//g'
/u01/app/oracle/product/8.1.7/lib/l
dflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g'
/u01/app/oracle/
product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8
-lwtc8
-lcommon8 -lgeneric8 -lwtc8 -lmm -lnls8 -lcore8 -lnls8 -lcore8 -lnls8
`sed -e
's/-ljava//g' /u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8
-ln8 -l
nl8 -lnro8 `sed -e 's/-ljava//g'
/u01/app/oracle/product/8.1.7/lib/ldflags` -lns
gr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8
-ltrace8
-lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lwtc8
-lcommon8 -lge
neric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat
/u01/app/oracle/product/8.1
.7/lib/sysliblist` `if [ -f /usr/lib/libsched.so ] ; then echo -lsched ;
else tr
ue; fi` -R/u01/app/oracle/product/8.1.7/lib -laio -lposix4 -lkstat -lm
-lthrea
d]
Found header files in /u01/app/oracle/product/8.1.7/rdbms/public
/u01/app/oracle
/product/8.1.7/rdbms/demo.
Checking for functioning wait.ph
System: perl5.008004 sunos localhost 5.10 sun4u sparc SUNW,Ultra-2
Compiler: cc -xO3 -xspace -xildoff -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64
-xarch=v8 -D_TS_ERRNO
Linker: /usr/ccs/bin/ld
Sysliblist: -lnsl -lsocket -lgen -ldl -lsched
Oracle makefiles would have used these definitions but we override them:
CC: cc
CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS)
$(PFLAGS)\
$(SHARED_CFLAG) $(USRFLAGS)
[$(GFLAG) -xO2 $(CDEBUG) -Xa $(PROFILE) -xstrconst -xF $(XS)
-mr -xar
ch=v8 -xcache=16/32/1:1024/64/1 -xchip=ultra -D_REENTRANT -K PIC
$(QACCFLAGS) -I
/u01/app/oracle/product/8.1.7/rdbms/demo
-I/u01/app/oracle/product/8.1.7/rdbms/p
ublic -I/u01/app/oracle/product/8.1.7/plsql/public
-I/u01/app/oracle/product/8.1
.7/network/public -DSLMXMX_ENABLE -DSLTS_ENABLE -D_SVID_GETTOD
$(LPFLAGS) $(USRF
LAGS)]
LDFLAGS: -L$(LIBHOME) -L$(RDBMSLIB)
[-L$(LIBHOME) -L/u01/app/oracle/product/8.1.7/rdbms/lib/]
Linking with OTHERLDFLAGS = -L/u01/app/oracle/product/8.1.7/lib/
-L/u01/app/orac
le/product/8.1.7/rdbms/lib/ -lclntsh
/u01/app/oracle/product/8.1.7/rdbms/lib/k
puadef.o `sed -e 's/-ljava//g'
/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsg
r8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g'
/u01/app/oracle/product/8.1.7
/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8
-lcommon8 -lg
eneric8 -lwtc8 -lmm -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `sed -e
's/-ljava//g'
/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8
-lnro8 `s
ed -e 's/-ljava//g' /u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8
-lnzjs8 -
ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -ltrace8
-lnls8 -lcor
e8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lwtc8 -lcommon8
-lgeneric8 -lnls8
-lcore8 -lnls8 -lcore8 -lnls8 `cat
/u01/app/oracle/product/8.1.7/lib/syslib
list` `if [ -f /usr/lib/libsched.so ] ; then echo -lsched ; else true;
fi` -R/u0
1/app/oracle/product/8.1.7/lib -laio -lposix4 -lkstat -lm -lthread
[from 'buil
d' rule]
WARNING: If you have problems you may need to rebuild perl with
threading enabled.
Checking if your kit is complete...
Warning: the following files are missing in your kit:
META.yml
Please inform the author.
Ignoring
LD_RUN_PATH='/usr/local/lib:/usr/dt/lib:/usr/openwin/lib:/home/s/lib:/o
pt/SUNWspro/lib:/usr/ccs/lib:.:/u01/app/oracle/product/8.1.7/lib:/u01/ap
p/oracle
/product/6.0.8/lib:/u01/app/oracle/product/6.0.8/network/jre11/lib/sparc
/native_
threads' in environment
LD_RUN_PATH=/u01/app/oracle/product/8.1.7/lib:/u01/app/oracle/product/8.
1.7/rdbm
s/lib
Using DBD::Oracle 1.18.
Using DBD::Oracle 1.18.
Using DBI 1.52 (for perl 5.008004 on sun4-solaris-64int) installed in
/usr/perl5
/site_perl/5.8.4/sun4-solaris-64int/auto/DBI/
Writing Makefile for DBD::Oracle
*** If you have problems...
read all the log printed above, and the README and README.help.txt
files.
(Of course, you have read README by now anyway, haven't you?)
Do the make command:
make
adm1med#spsy|DBD-Oracle-1.18> make
cp Oracle.pm blib/lib/DBD/Oracle.pm
cp mkta.pl blib/lib/DBD/mkta.pl
cp oraperl.ph blib/lib/oraperl.ph
cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h
cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h
cp Oraperl.pm blib/lib/Oraperl.pm
cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h
cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm
/usr/local/bin/perl -p -e "s/~DRIVER~/Oracle/g"
/usr/perl5/site_perl/5.8.4/sun4-
solaris-64int/auto/DBI/Driver.xst > Oracle.xsi
/usr/local/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap
/usr/perl5/5.
8.4/lib/ExtUtils/typemap -typemap typemap Oracle.xs > Oracle.xsc && mv
Oracle.x
sc Oracle.c
cc -c -I/u01/app/oracle/product/8.1.7/rdbms/public
-I/u01/app/oracle/product/8.
1.7/rdbms/demo -I/u01/app/oracle/product/8.1.7/rdbms/demo
-I/u01/app/oracle/prod
uct/8.1.7/rdbms/public -I/u01/app/oracle/product/8.1.7/plsql/public
-I/u01/app/o
racle/product/8.1.7/network/public
-I/usr/perl5/site_perl/5.8.4/sun4-solaris-64i
nt/auto/DBI -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8
-D_TS_ERRNO -x
O3 -xspace -xildoff -DVERSION=\"1.18\" -DXS_VERSION=\"1.18\" -KPIC
"-I/usr/p
erl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT
-DORA_OCI_VERSION=\"8.1.
7.0\" Oracle.c
"Oracle.xs", line 269: undefined symbol: startp
"Oracle.xs", line 269: warning: argument #4 is incompatible with
prototype:
prototype: pointer to unsigned int :
"/u01/app/oracle/product/8.1.7/rdbm
s/demo/ociap.h", line 5838
argument : pointer to int
cc: acomp failed for Oracle.c
*** Error code 2
make: Fatal error: Command failed for target `Oracle.o'
I use perl 5.6.1 bundled with Solaris 10 and I got this error message
Do anyone can help me ?
regards
AEL