Attached is the output from a DBD build (I know it says dbi-build, but
it's a DBD build). There was a line in the output that said to report
to this mailing list.
I'm trying to build DBD-1.21 on a new Solaris 10 system. There are some
failures in there I'm not sure of, especially the last one for
test_dynamic, but other than that it looks ok, I would guess. I haven't
done an 'make install' yet.
Any suggestions on this?
Thanks
Script started on Fri Jun 06 13:49:59 2008
%echo $PATH%which perl/usr/local/bin/perl
%which gcc/usr/sfw/bin/gcc
%pwd/usr/home/dschmitz/software/Perl/DBD-Oracle-1.21
%make realcleanrm -f \
blib/script/ora_explain
rm -f \
*.a core \
core.[0-9] blib/arch/auto/DBD/Oracle/extralibs.all \
core.[0-9][0-9] Oracle.bso \
pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \
Oracle.x Oracle.bs \
perl tmon.out \
*.o pm_to_blib \
blib/arch/auto/DBD/Oracle/extralibs.ld blibdirs.ts \
Oracle.c core.[0-9][0-9][0-9][0-9][0-9] \
*perl.core core.*perl.*.? \
Makefile.aperl perl \
Oracle.def core.[0-9][0-9][0-9] \
mon.out libOracle.def \
perlmain.c perl.exe \
so_locations Oracle.exp
rm -rf \
ora_explain dll.base \
DBD_ORA_OBJ.* Oracle.xsi \
dll.exp libOracle.def \
sqlnet.log blib \
mk.pm xstmp.c
mv Makefile Makefile.old > /dev/null 2>&1
rm -f \
Oracle.o dbdimp.o oci8.o Makefile.old \
Makefile
rm -rf \
DBD-Oracle-1.21
%perl Makefile.PLUsing DBI 1.604 (for perl 5.008008 on sun4-solaris) installed
in /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI/
Configuring DBD::Oracle for perl 5.008008 on solaris (sun4-solaris)
Remember to actually *READ* the README file! Especially if you have any
problems.
Using Oracle in /var/oracle/v9.2
DEFINE _SQLPLUS_RELEASE = "902000800" (CHAR)
Oracle version 9.2.0.8 (9.2)
Found /var/oracle/v9.2/rdbms/demo/demo_rdbms.mk
Found /var/oracle/v9.2/precomp/demo/proc/demo_proc.mk
Using /var/oracle/v9.2/rdbms/demo/demo_rdbms.mk
Your LD_LIBRARY_PATH env var is set to
'/var/arcinfo/arcexe9x/lib:/var/sge/lib/solaris64:/var/oracle/v9.2/lib32:/var/oracle/v9.2/lib:/usr/lib:/usr/java/lib:/var/geoworx/10.0/oit/xlib:/var/oracle/v8.1.7/lib:/usr/openwin/lib:/usr/dt/lib:/var/arcview/arcview3.3/lib:/usr/openwin/lib:/usr/ucblib:/var/geoworx/10.0/gpa/lib/debug_solaris10.ora9i:/usr/local/lib:/var/imagine/910/lib'
Reading /var/oracle/v9.2/rdbms/demo/demo_rdbms.mk
Reading /var/oracle/v9.2/rdbms/lib/env_rdbms.mk
Attempting to discover Oracle OCI build32 rules
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c DBD_ORA_OBJ.c
by executing: [make -f /var/oracle/v9.2/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)
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/var/oracle/v9.2/rdbms/lib32/
-L/var/oracle/v9.2/lib32/ -o DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh `cat
/var/oracle/v9.2/lib32/ldflags` `cat /var/oracle/v9.2/lib32/sysliblist`
-R/var/oracle/v9.2/lib32 -laio -lposix4 -lkstat -lm -lthread]
[cc: PIC: No such file or directory]
[Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs]
[cc: unrecognized option `-Xa']
[cc: unrecognized option `-K']
[Configured with:
/sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared]
[Thread model: posix]
[gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)]
[cc: language chip=ultra not recognized]
[*** Error code 1]
[Current working directory
/usr/home/dschmitz/software/Perl/DBD-Oracle-1.21]
[*** Error code 1]
WARNING: Unable to interpret Oracle build commands from
/var/oracle/v9.2/rdbms/demo/demo_rdbms.mk.
(Will continue by using fallback approach.)
Please report this to [EMAIL PROTECTED] See README for what to include.
Found header files in /var/oracle/v9.2/rdbms/public /var/oracle/v9.2/rdbms/demo.
Checking for functioning wait.ph
System: perl5.008008 sunos 5.10 generic_118822-30 sun4u sparc sunw,ultra-5_10
solaris
Compiler: gcc -O -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -I/opt/gnu/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/var/oracle/v9.2/rdbms/demo
-I/var/oracle/v9.2/rdbms/public -I/var/oracle/v9.2/plsql/public
-I/var/oracle/v9.2/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/var/oracle/v9.2/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/var/oracle/v9.2/lib -laio $(THREADLIBS) -lposix4
-lkstat -lm $(USRLIBS) -lthread]
LDFLAGS: -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME)
[-o $@ -L/var/oracle/v9.2/rdbms/lib/ -L$(LIBHOME)]
Linking with /var/oracle/v9.2/rdbms/lib32/defopt.o -lclntsh -lnsl -lsocket
-lgen -ldl -R/var/oracle/v9.2/lib32 -laio -lposix4 -lkstat -lm -lthread [from
$(DEF_OPT) $(OCISHAREDLIBS)]
WARNING: If you have problems you may need to rebuild perl with threading
enabled.
Checking if your kit is complete...
Looks good
LD_RUN_PATH=/var/oracle/v9.2/lib32
Using DBD::Oracle 1.21.
Using DBD::Oracle 1.21.
Using DBI 1.604 (for perl 5.008008 on sun4-solaris) installed in
/usr/local/lib/perl5/site_perl/5.8.8/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.txt files.
(Of course, you have read README by now anyway, haven't you?)
%which make/usr/ccs/bin/make
%makecp 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/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI/Driver.xst >
Oracle.xsi
/usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Oracle.xs >
Oracle.xsc && mv Oracle.xsc Oracle.c
gcc -c -I/var/oracle/v9.2/rdbms/public -I/var/oracle/v9.2/rdbms/demo
-I/var/oracle/v9.2/rdbms/demo -I/var/oracle/v9.2/rdbms/public
-I/var/oracle/v9.2/plsql/public -I/var/oracle/v9.2/network/public
-I/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI
-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include
-I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -fPIC
"-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" -Wall -Wno-comment
-DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.8\" Oracle.c
gcc -c -I/var/oracle/v9.2/rdbms/public -I/var/oracle/v9.2/rdbms/demo
-I/var/oracle/v9.2/rdbms/demo -I/var/oracle/v9.2/rdbms/public
-I/var/oracle/v9.2/plsql/public -I/var/oracle/v9.2/network/public
-I/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI
-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include
-I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -fPIC
"-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" -Wall -Wno-comment
-DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.8\" dbdimp.c
dbdimp.c: In function `ora_st_execute_array':
dbdimp.c:3269: warning: unused variable `sv2'
gcc -c -I/var/oracle/v9.2/rdbms/public -I/var/oracle/v9.2/rdbms/demo
-I/var/oracle/v9.2/rdbms/demo -I/var/oracle/v9.2/rdbms/public
-I/var/oracle/v9.2/plsql/public -I/var/oracle/v9.2/network/public
-I/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI
-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include
-I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -fPIC
"-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" -Wall -Wno-comment
-DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.8\" oci8.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/var/oracle/v9.2/lib32" gcc -G -L/usr/local/lib -L/opt/gnu/lib
Oracle.o dbdimp.o oci8.o /var/oracle/v9.2/rdbms/lib32/defopt.o -o
blib/arch/auto/DBD/Oracle/Oracle.so \
-L/var/oracle/v9.2/lib32/ -lclntsh -lnsl -lsocket -lgen -ldl
-R/var/oracle/v9.2/lib32 -laio -lposix4 -lkstat -lm -lthread \
chmod 755 blib/arch/auto/DBD/Oracle/Oracle.so
cp Oracle.bs blib/arch/auto/DBD/Oracle/Oracle.bs
chmod 644 blib/arch/auto/DBD/Oracle/Oracle.bs
/usr/local/bin/perl "-Iblib/arch" "-Iblib/lib" ora_explain.PL ora_explain
Extracted ora_explain from ora_explain.PL with variable substitutions.
cp ora_explain blib/script/ora_explain
/usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/ora_explain
Manifying blib/man1/ora_explain.1
Manifying blib/man3/DBD::Oracle.3
Manifying blib/man3/DBD::Oraperl.3
%make testPERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base................
t/01base................ok 1/5
t/01base................ok
t/10general.............
t/10general.............ok 1/33
t/10general.............ok
t/12impdata.............
t/12impdata.............ok 1/7
t/12impdata.............ok
t/14threads.............skipped
all skipped: this solaris perl 5.008008 not configured to support
iThreads
t/15nls.................
t/15nls.................ok 1/9
t/15nls.................ok
t/20select..............
t/20select..............ok 1/36
t/20select..............ok
t/21nchar............... Database and client versions and character sets:
Database 9.2.0.8.0 CHAR set is WE8ISO8859P1 (Non-Unicode), NCHAR set is
AL16UTF16 (Unicode)
Client 9.2.0.8 NLS_LANG is 'american_america.WE8ISO8859P1', NLS_NCHAR is
'<unset>'
t/21nchar...............ok 1/53
t/21nchar...............ok
t/22nchar_al32utf8......
t/22nchar_al32utf8......ok 1/37
t/22nchar_al32utf8......ok
t/22nchar_utf8..........
t/22nchar_utf8..........ok 1/53
t/22nchar_utf8..........ok
t/23wide_db.............skipped
all skipped: Database character set is not Unicode
t/23wide_db_8bit........skipped
all skipped: Database character set is not Unicode
t/23wide_db_al32utf8....skipped
all skipped: Database character set is not Unicode
t/24implicit_utf8.......
t/24implicit_utf8.......ok 1/74
t/24implicit_utf8.......NOK 33
# Failed test 'byte_string test of row 4: column: nch (uft8) smiley face'
# in t/nchar_test_lib.pl at line 341.
# got: '38|58'
# expected: '226|152|186'
# Failed test 'nice_string test of row 4: column: nch (uft8) smiley face'
t/24implicit_utf8.......NOK 34
# in t/nchar_test_lib.pl at line 344.
# got: '&:'
# expected: '\x{263A}'
# row 4: DUMP(nch) = Typ=1 Len=4: 0,38,0,58
# Failed test 'byte_string test of row 4: column: nch (uft8) smiley face'
t/24implicit_utf8.......NOK 70# in t/nchar_test_lib.pl at line 341.
# got: '38|58'
# expected: '226|152|186'
# Failed test 'nice_string test of row 4: column: nch (uft8) smiley face'
# in t/nchar_test_lib.pl at line 344.
t/24implicit_utf8.......NOK 71
# got: '&:'
# expected: '\x{263A}'
# row 4: DUMP(nch) = Typ=1 Len=4: 0,38,0,58
# Looks like you failed 4 tests of 74.
t/24implicit_utf8.......dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 33-34, 70-71
Failed 4/74 tests, 94.59% okay
t/25plsql...............
t/25plsql...............ok 1/82
t/25plsql...............ok
t/26exe_array...........
t/26exe_array...........ok 1/14
t/26exe_array...........ok
t/28array_bind..........
t/28array_bind..........ok 1/15
t/28array_bind..........ok
t/30long................
t/30long................ok 1/470
t/30long................ok 189/470
t/30long................ok 234/470
t/30long................ok 235/470
t/30long................ok 285/470
t/30long................ok 329/470
t/30long................ok 377/470
t/30long................ok 422/470
t/30long................ok 423/470
t/30long................ok
122/470 skipped: various reasons
t/31lob.................
t/31lob.................ok 1/9
t/31lob.................ok 2/9
DBD::Oracle::db do failed: ORA-00942: table or view does not exist (DBD ERROR:
error possibly near <*> indicator at char 14 in 'select * from <*>v$session
where 0=1') [for Statement "select * from v$session where 0=1"] at t/31lob.t
line 64.
t/31lob.................ok
1/9 skipped: can't check num of temp lobs, no access to v$session
t/32xmltype.............
t/32xmltype.............ok 1/4
t/32xmltype.............ok 3/4
t/32xmltype.............ok 4/4
t/32xmltype.............ok
t/34pres_lobs...........
t/34pres_lobs...........ok 1/11
t/34pres_lobs...........ok
11/11 skipped: OCI version less than 10.2
t/40ph_type.............
t/40ph_type.............ok 1/19
Placeholder behaviour for ora_type=1 (the default) varies with Oracle version.
Oracle 7 didn't strip trailing spaces, Oracle 8 did, until 9.2.x
Your system doesn't. If that seems odd, let us know.
t/40ph_type.............ok
t/50cursor..............
t/50cursor..............ok 1/12
t/50cursor..............ok
t/51scroll..............
t/51scroll..............ok 1/33
t/51scroll..............ok 4/33
t/51scroll..............ok
t/55nested..............
t/55nested..............ok 1/16
t/55nested..............ok
t/56embbeded............
t/56embbeded............ok 1/5
t/56embbeded............ok
t/60reauth..............ORACLE_USERID_2 not defined. Tests skipped.
skipped
all skipped: no reason given
t/70meta................
t/70meta................ok 1/13
t/70meta................ok 2/13
t/70meta................ok 9/13
t/70meta................ok
t/80ora_charset.........
t/80ora_charset.........ok 1/14
t/80ora_charset.........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/24implicit_utf8.t 4 1024 74 4 5.41% 33-34 70-71
5 tests and 134 subtests skipped.
Failed 1/28 test scripts, 96.43% okay. 4/1024 subtests failed, 99.61% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'
%^Dexit
Script done on Fri Jun 06 13:59:50 2008