Hi Tim,
I've been posting messages on the forum with no reply or acknowledgement that
you're working on the problem. I don't know if I registered incorrectly but I
also do get my own messages posted.
My problem is as follows:
I get the following error with the DBD:Oracle installation with DBI 1.14, 1.15
and 1.16. It compiles when I use "perl Makefile.PL -8" but the make test
produces a couple of errors. Is this enough of a description. If you need more
details, just ask.
...
"./ocitrace.h", line 85: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 100: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 175: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 212: portability warning: macro replacement within a string
literal
"oci8.c", line 1189: portability warning: semantics of "<=" change in ANSI C;
use explicit cast
"oci8.c", line 1333: invalid token: "%sBindByName(%(text...
"oci8.c", line 1333: syntax error before or at: ,
*** Error code 1
Make: . Stop.
Details of the installation:
perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=dynixptx, osvers=4.4.6, archname=i386-dynixptx
uname='dynixptx jarjar 4.0 v4.4.6 i386 '
config_args='-d'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='cc', optimize='-Wc,-O3 -W0,-xstring', gccversion=
cppflags=''
ccflags =''
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
alignbytes=4, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lsocket -lnsl -ldl -lld -lm -lc -lcrypt -lsec -lPW
libc=, so=so, useshrplib=true, libperl=libperl.so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under dynixptx
Compiled at Aug 3 2000 13:27:14
@INC:
/usr/local/lib/perl5/5.6.0/i386-dynixptx
/usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/i386-dynixptx
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl
.
jarjar-root-/perl/DBD-Oracle-1.06>
jarjar-root-/perl/DBD-Oracle-1.06>
jarjar-root-/perl/DBD-Oracle-1.06>
jarjar-root-/perl/DBD-Oracle-1.06>
jarjar-root-/perl/DBD-Oracle-1.06>
perl Makefile.PL
Using DBI 1.14 installed in
/usr/local/lib/perl5/site_perl/5.6.0/i386-dynixptx/auto/DBI
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README file!
Especially if you have any problems.
Using Oracle in /jarjar/u01/app/oracle/product/DPH1
Found /jarjar/u01/app/oracle/product/DPH1/rdbms/demo/demo_rdbms.mk
Using /jarjar/u01/app/oracle/product/DPH1/rdbms/demo/demo_rdbms.mk
Reading /jarjar/u01/app/oracle/product/DPH1/rdbms/demo/demo_rdbms.mk.
Reading /jarjar/u01/app/oracle/product/DPH1/rdbms/lib/env_rdbms.mk.
Deleting $(COMPOBJ)/crti.o from COMPOBJS because
/jarjar/u01/app/oracle/product/DPH1/lib/crti.o doesn't exist.
Deleting $(COMPOBJ)/crt1.o from COMPOBJS because
/jarjar/u01/app/oracle/product/DPH1/lib/crt1.o doesn't exist.
Deleting $(COMPOBJ)/__fstd.o from COMPOBJS because
/jarjar/u01/app/oracle/product/DPH1/lib/__fstd.o doesn't exist.
Deleting ORA_NLS = $(ORACLE_HOME)/ocommon/nls/admin/data/
because it is not already set in the environment
and it can cause ORA-01019 errors.
Deleting ORA_NLS33 = $(ORACLE_HOME)/ocommon/nls/admin/data/
because it is not already set in the environment
and it can cause ORA-01019 errors.
Deleting $(COMPOBJ)/crti.o from COMPOBJS because
/jarjar/u01/app/oracle/product/DPH1/lib/crti.o doesn't exist.
Deleting $(COMPOBJ)/crt1.o from COMPOBJS because
/jarjar/u01/app/oracle/product/DPH1/lib/crt1.o doesn't exist.
Deleting $(COMPOBJ)/__fstd.o from COMPOBJS because
/jarjar/u01/app/oracle/product/DPH1/lib/__fstd.o doesn't exist.
Discovering Oracle OCI build rules...
Oracle oci build command:
true /bin/cc -z nodefs
-L/jarjar/u01/app/oracle/product/DPH1/lib/
-L/jarjar/u01/app/oracle/product/DPH1/rdbms/lib -o DBD_ORA_EXE DBD_ORA_OBJ.o
/jarjar/u01/app/oracle/product/DPH1/lib/libclntsh.so
Found header files in rdbms/demo.
System: perl5.006 dynixptx jarjar 4.0 v4.4.6 i386
Compiler: cc -Wc,-O3 -W0,-xstring
Linker: /bin/ld
Oracle makefiles would have used these definitions but we override them:
CC: /bin/cc
CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS)\
$(SHARED_CFLAG) $(USRFLAGS)
[$(GFLAG) -Wc,-O2 -Xa $(CDEBUG) -Xa -Wl,-Bexport -K PIC $(QACCFLAGS)
-I/jarjar/u01/app/oracle/product/DPH1/rdbms/demo
-I/jarjar/u01/app/oracle/product/DPH1/rdbms/public
-I/jarjar/u01/app/oracle/product/DPH1/plsql/public
-I/jarjar/u01/app/oracle/product/DPH1/network/public -DORAALLOCA $(LPFLAGS)
$(SHARED_CFLAG) $(USRFLAGS)]
LDFLAGS: -z nodefs -L$(LIBHOME) -L$(ORACLE_HOME)/rdbms/lib
[-z nodefs -L$(LIBHOME)
-L/jarjar/u01/app/oracle/product/DPH1/rdbms/lib]
Linking with OTHERLDFLAGS = -z nodefs -L/jarjar/u01/app/oracle/product/DPH1/lib/
-L/jarjar/u01/app/oracle/product/DPH1/rdbms/lib
/jarjar/u01/app/oracle/product/DPH1/lib/libclntsh.so [from 'build' rule]
Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories from
your 'privlib' and 'archlib' directories and their auto subdirectories.
Here's a list of probable old files and directories:
/usr/local/lib/perl5/5.6.0/Oracle.pm
Using DBD::Oracle 1.06.
Using DBI 1.14 installed in
/usr/local/lib/perl5/site_perl/5.6.0/i386-dynixptx/auto/DBI
Writing Makefile for DBD::Oracle
*** If you have problems, read the README and README.help files ***
(Of course, you have read README by now anyway, haven't you?)
jarjar-root-/perl/DBD-Oracle-1.06>
make
cc -c -I/jarjar/u01/app/oracle/product/DPH1/rdbms/demo
-I/jarjar/u01/app/oracle/product/DPH1/rdbms/public
-I/jarjar/u01/app/oracle/product/DPH1/plsql/public
-I/jarjar/u01/app/oracle/product/DPH1/network/public
-I/jarjar/u01/app/oracle/product/DPH1/rdbms/demo
-I/jarjar/u01/app/oracle/product/DPH1/rdbms/demo
-I/usr/local/lib/perl5/site_perl/5.6.0/i386-dynixptx/auto/DBI -Wc,-O3
-W0,-xstring -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\"
-I/usr/local/lib/perl5/5.6.0/i386-dynixptx/CORE Oracle.c
"/jarjar/u01/app/oracle/product/DPH1/network/public/nzt.h", line 240:
portability warning: trigraph sequence replaced
"./ocitrace.h", line 60: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 69: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 85: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 100: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 175: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 212: portability warning: macro replacement within a string
literal
"Oracle.c", line 39: warning: end-of-loop code not reached
"Oracle.c", line 59: warning: end-of-loop code not reached
"Oracle.c", line 93: warning: end-of-loop code not reached
"Oracle.c", line 110: warning: end-of-loop code not reached
"Oracle.c", line 127: warning: end-of-loop code not reached
"Oracle.xsi", line 92: warning: end-of-loop code not reached
"Oracle.c", line 160: warning: end-of-loop code not reached
"Oracle.c", line 182: warning: end-of-loop code not reached
"Oracle.c", line 201: warning: end-of-loop code not reached
"Oracle.c", line 278: warning: end-of-loop code not reached
"Oracle.c", line 296: warning: end-of-loop code not reached
"Oracle.c", line 339: warning: end-of-loop code not reached
"Oracle.c", line 387: warning: end-of-loop code not reached
"Oracle.xsi", line 293: warning: end-of-loop code not reached
"Oracle.xsi", line 302: warning: end-of-loop code not reached
"Oracle.c", line 434: warning: end-of-loop code not reached
"Oracle.c", line 453: warning: end-of-loop code not reached
"Oracle.xsi", line 358: warning: end-of-loop code not reached
"Oracle.xsi", line 364: warning: end-of-loop code not reached
"Oracle.c", line 511: warning: end-of-loop code not reached
"Oracle.c", line 549: warning: end-of-loop code not reached
"Oracle.c", line 571: warning: end-of-loop code not reached
"Oracle.c", line 593: warning: end-of-loop code not reached
"Oracle.xs", line 64: warning: end-of-loop code not reached
"Oracle.xs", line 65: warning: end-of-loop code not reached
"Oracle.c", line 708: warning: end-of-loop code not reached
"Oracle.c", line 824: warning: end-of-loop code not reached
cc -c -I/jarjar/u01/app/oracle/product/DPH1/rdbms/demo
-I/jarjar/u01/app/oracle/product/DPH1/rdbms/public
-I/jarjar/u01/app/oracle/product/DPH1/plsql/public
-I/jarjar/u01/app/oracle/product/DPH1/network/public
-I/jarjar/u01/app/oracle/product/DPH1/rdbms/demo
-I/jarjar/u01/app/oracle/product/DPH1/rdbms/demo
-I/usr/local/lib/perl5/site_perl/5.6.0/i386-dynixptx/auto/DBI -Wc,-O3
-W0,-xstring -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\"
-I/usr/local/lib/perl5/5.6.0/i386-dynixptx/CORE dbdimp.c
"/jarjar/u01/app/oracle/product/DPH1/network/public/nzt.h", line 240:
portability warning: trigraph sequence replaced
"./ocitrace.h", line 60: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 69: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 85: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 100: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 175: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 212: portability warning: macro replacement within a string
literal
cc -c -I/jarjar/u01/app/oracle/product/DPH1/rdbms/demo
-I/jarjar/u01/app/oracle/product/DPH1/rdbms/public
-I/jarjar/u01/app/oracle/product/DPH1/plsql/public
-I/jarjar/u01/app/oracle/product/DPH1/network/public
-I/jarjar/u01/app/oracle/product/DPH1/rdbms/demo
-I/jarjar/u01/app/oracle/product/DPH1/rdbms/demo
-I/usr/local/lib/perl5/site_perl/5.6.0/i386-dynixptx/auto/DBI -Wc,-O3
-W0,-xstring -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\"
-I/usr/local/lib/perl5/5.6.0/i386-dynixptx/CORE oci7.c
"/jarjar/u01/app/oracle/product/DPH1/network/public/nzt.h", line 240:
portability warning: trigraph sequence replaced
"./ocitrace.h", line 60: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 69: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 85: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 100: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 175: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 212: portability warning: macro replacement within a string
literal
cc -c -I/jarjar/u01/app/oracle/product/DPH1/rdbms/demo
-I/jarjar/u01/app/oracle/product/DPH1/rdbms/public
-I/jarjar/u01/app/oracle/product/DPH1/plsql/public
-I/jarjar/u01/app/oracle/product/DPH1/network/public
-I/jarjar/u01/app/oracle/product/DPH1/rdbms/demo
-I/jarjar/u01/app/oracle/product/DPH1/rdbms/demo
-I/usr/local/lib/perl5/site_perl/5.6.0/i386-dynixptx/auto/DBI -Wc,-O3
-W0,-xstring -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\"
-I/usr/local/lib/perl5/5.6.0/i386-dynixptx/CORE oci8.c
"/jarjar/u01/app/oracle/product/DPH1/network/public/nzt.h", line 240:
portability warning: trigraph sequence replaced
"./ocitrace.h", line 60: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 69: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 85: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 100: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 175: portability warning: macro replacement within a string
literal
"./ocitrace.h", line 212: portability warning: macro replacement within a string
literal
"oci8.c", line 1189: portability warning: semantics of "<=" change in ANSI C;
use explicit cast
"oci8.c", line 1333: invalid token: "%sBindByName(%(text...
"oci8.c", line 1333: syntax error before or at: ,
*** Error code 1
Make: . Stop.
jarjar-root-/perl/DBD-Oracle-1.06>