We are installing DBI:Ingres on unixware and are experiencing the trouble seen in the
attached file.
Can you help.
Any pointer would be appreciated.
Thanks.
Steeve D. Ouellet.
$ perl Makefile.PL
Configuring DBD::Ingres ...
Try 'perl Makefile.PL -v'
if you have any problems.
Using Ingres in /u/ing64
Checking if your kit is complete...
Looks good
$ make
Writing Makefile for DBD::Ingres
mkdir blib
mkdir blib/lib
mkdir blib/lib/DBD
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/DBD
mkdir blib/arch/auto/DBD/Ingres
mkdir blib/lib/auto
mkdir blib/lib/auto/DBD
mkdir blib/lib/auto/DBD/Ingres
mkdir blib/man3
cp ingtest.pl blib/lib/DBD/ingtest.pl
cp Ingres.pm blib/lib/DBD/Ingres.pm
cp ingperl.pl blib/lib/ingperl.pl
cp Ingperl.pm blib/lib/Ingperl.pm
/usr/bin/perl -p -e "s!/\*64\*!!" dbdimp.psc > dbdimp.sc
/u/ing64/ingres/bin/esqlc -o.h dbdimp.sc
ESQL dbdimp.sc:
/usr/bin/perl -p -e "s/~DRIVER~/Ingres/g"
</usr/local/lib/perl5/site_perl/5.005/i386-svr4/auto/DBI/Driver.xst >Ingres.xsi
/usr/bin/perl -I/usr/local/lib/perl5/5.00503/i386-svr4
-I/usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/5.00503/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.00503/ExtUtils/typemap Ingres.xs >xstmp.c && mv xstmp.c
Ingres.c
/bin/cc -c -I/usr/local/lib/perl5/site_perl/5.005/i386-svr4/auto/DBI
-I/usr/include -I/usr/ucbinclude -g -DVERSION=\"0.34\" -DXS_VERSION=\"0.34\"
-KPIC -I/usr/local/lib/perl5/5.00503/i386-svr4/CORE Ingres.c
UX:acomp: WARNING: "Ingres.c", line 42: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 76: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 93: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 110: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.xsi", line 92: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 143: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 165: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 184: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 261: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 322: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 370: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.xsi", line 296: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.xsi", line 305: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 420: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 439: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.xsi", line 388: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.xsi", line 394: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 537: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 575: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 597: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 619: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 704: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 728: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 804: end-of-loop code not reached
/bin/cc -c -I/usr/local/lib/perl5/site_perl/5.005/i386-svr4/auto/DBI
-I/usr/include -I/usr/ucbinclude -g -DVERSION=\"0.34\" -DXS_VERSION=\"0.34\"
-KPIC -I/usr/local/lib/perl5/5.00503/i386-svr4/CORE dbdimp.c
UX:acomp: WARNING: "dbdimp.c", line 1306: statement not reached
Running Mkbootstrap for DBD::Ingres ()
chmod 644 Ingres.bs
LD_RUN_PATH="/u/ing64/ingres/lib:/usr/ccs/lib" /bin/cc -o
blib/arch/auto/DBD/Ingres/Ingres.so -G -L/usr/ccs/lib -L/usr/ucblib -L/usr/local/lib
-L/usr/gnu/lib Ingres.o dbdimp.o -L/usr/ccs/lib -L/usr/lib -L/u/ing64/ingres/lib
-linterp.1 -lframe.1 -lq.1 -lcompat.1 -lelf -lgen -lm -lc -L/usr/ccs/lib -L/usr/lib
-L/u/ing64/ingres/lib -linterp.1 -lframe.1 -lq.1 -lcompat.1 -lelf -lgen -lm -lc
chmod 755 blib/arch/auto/DBD/Ingres/Ingres.so
cp Ingres.bs blib/arch/auto/DBD/Ingres/Ingres.bs
chmod 644 blib/arch/auto/DBD/Ingres/Ingres.bs
Manifying blib/man3/DBD::Ingres.3
Manifying blib/man3/DBD::Ingperl.3
$ DBI_TRACE=3 DBI_DSN=developp make test
/usr/bin/perl -I/usr/local/lib/perl5/5.00503/i386-svr4
-I/usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/5.00503/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.00503/ExtUtils/typemap Ingres.xs >xstmp.c && mv xstmp.c
Ingres.c
/bin/cc -c -I/usr/local/lib/perl5/site_perl/5.005/i386-svr4/auto/DBI
-I/usr/include -I/usr/ucbinclude -g -DVERSION=\"0.34\" -DXS_VERSION=\"0.34\"
-KPIC -I/usr/local/lib/perl5/5.00503/i386-svr4/CORE Ingres.c
UX:acomp: WARNING: "Ingres.c", line 42: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 76: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 93: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 110: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.xsi", line 92: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 143: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 165: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 184: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 261: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 322: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 370: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.xsi", line 296: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.xsi", line 305: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 420: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 439: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.xsi", line 388: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.xsi", line 394: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 537: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 575: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 597: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 619: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 704: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 728: end-of-loop code not reached
UX:acomp: WARNING: "Ingres.c", line 804: end-of-loop code not reached
LD_RUN_PATH="/u/ing64/ingres/lib:/usr/ccs/lib" /bin/cc -o
blib/arch/auto/DBD/Ingres/Ingres.so -G -L/usr/ccs/lib -L/usr/ucblib -L/usr/local/lib
-L/usr/gnu/lib Ingres.o dbdimp.o -L/usr/ccs/lib -L/usr/lib -L/u/ing64/ingres/lib
-linterp.1 -lframe.1 -lq.1 -lcompat.1 -lelf -lgen -lm -lc -L/usr/ccs/lib -L/usr/lib
-L/u/ing64/ingres/lib -linterp.1 -lframe.1 -lq.1 -lcompat.1 -lelf -lgen -lm -lc
chmod 755 blib/arch/auto/DBD/Ingres/Ingres.so
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.00503/i386-svr4 -I/usr/local/lib/perl5/5.00503 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/dbi............... DBI 1.25-nothread dispatch trace level set to 3
-> DBI->connect(dbi:Ingres:developp, , ****, HASH(0x804f9d0))
-> DBI->install_driver(Ingres) for svr4 perl=5.00503 pid=23748 ruid=102 euid=102
install_driver(Ingres) failed: Can't load 'blib/arch/auto/DBD/Ingres/Ingres.so' for
module DBD::Ingres: dynamic linker: /usr/bin/perl: relocation error: symbol not found:
mutex_init at /usr/local/lib/perl5/5.00503/i386-svr4/DynaLoader.pm line 169.
at (eval 1) line 3
Perhaps a required shared library or dll isn't installed where expected
at t/dbi.t line 49
-- DBI::END
dubious
Test returned status 255 (wstat 65280, 0xff00)
t/event............. DBI 1.25-nothread dispatch trace level set to 3
-> DBI->connect(dbi:Ingres:developp, , ****)
-> DBI->install_driver(Ingres) for svr4 perl=5.00503 pid=23749 ruid=102 euid=102
install_driver(Ingres) failed: Can't load 'blib/arch/auto/DBD/Ingres/Ingres.so' for
module DBD::Ingres: dynamic linker: /usr/bin/perl: relocation error: symbol not found:
mutex_init at /usr/local/lib/perl5/5.00503/i386-svr4/DynaLoader.pm line 169.
at (eval 1) line 3
Perhaps a required shared library or dll isn't installed where expected
at t/event.t line 24
-- DBI::END
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-17
Failed 17/17 tests, 0.00% okay
t/exec.............. DBI 1.25-nothread dispatch trace level set to 3
Use of reserved word "our" is deprecated at t/exec.t line 6.
Can't call method "our" without a package or object reference at t/exec.t line 6.
-- DBI::END
dubious
Test returned status 2 (wstat 512, 0x200)
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
t/dbi.t 255 65280 ?? ?? % ??
t/event.t 255 65280 17 17 100.00% 1-17
t/exec.t 2 512 ?? ?? % ??
Failed 3/3 test scripts, 0.00% okay. 17/17 subtests failed, 0.00% okay.
*** Error code 2 (bu21)
UX:make: ERROR: fatal error.
$ perl -v
This is perl, version 5.005_03 built for i386-svr4
Copyright 1987-1999, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
$ ingprenv
ING_ABFDIR=/u/ing64/ingres/abf
II_CONFIG=/u/ing64/ingres/files
II_INSTALLATION=II
II_GCNII_LCL_VNODE=pene2000
II_DATABASE=/u2/donnees
II_CHECKPOINT=/u3/ing64
II_JOURNAL=/u3/ing64
II_DUMP=/u3/ing64
II_WORK=/u/ing64
II_DUAL_LOG_NAME=dual_log
II_LOG_FILE=/u/ing64
II_LOG_FILE_NAME=ingres_log
II_DUAL_LOG=/u3/ing64
II_NUM_OF_PROCESSORS=1
II_TIMEZONE_NAME=na-eastern
II_CHARSETII=ISO88591
II_TEMPORARY=/tmp
ING_EDIT=/usr/bin/vi
II_GCNII_PORT=1037
II_DATE_FORMAT=SWEDEN
II_SHADOW_PWD=/u/ing64/ingres/bin/ingvalidpw
OBJ_FORM=coff
II_COLLATION=multi
$ cat /u/ing64/ingres/version.rel
II 2.0/9808 (usl.us5/00)
6479
$ perl -e 'use Config; print Config::myconfig()'
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=svr4, osvers=, archname=i386-svr4
uname='unixware pene2000 5 7 i386 x86at sco unix_svr5 '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='/bin/cc', optimize='-O', gccversion=
cppflags='-I/usr/include -I/usr/ucbinclude'
ccflags ='-I/usr/include -I/usr/ucbinclude'
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=12
alignbytes=4, usemymalloc=y, prototype=define
Linker and Libraries:
ld='/bin/cc', ldflags ='-L/usr/ccs/lib -L/usr/ucblib -L/usr/local/lib
-L/usr/gnu/lib'
libpth=/usr/local/lib /usr/gnu/lib /shlib /lib /usr/lib /usr/ccs/lib /usr/ucblib
libs=-lsocket -lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lucb -lx
libc=, so=so, useshrplib=true, libperl=libperl.so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G -L/usr/ccs/lib -L/usr/ucblib -L/usr/local/lib
-L/usr/gnu/lib'