Hi again,

Thank you for your last response.  Using your input, I was to get a little
further but the make test command is still ending in failure.  We've looked
at all the libraries and files to insure that they are present.  We've also
removed all of the software and rebuilt Perl, DBI and DBD:Ingres using
different tars (GNU and Solaris) and different C compilers (GNU and
Solaris).  Nothing seems to help.

Our systems are configured as follows:

Solaris 8.0
Ingres II version 2.5
Perl 5.6.1
DBI 1.20
DBD-Ingres 0.30

Once again, any assistance you can offer would be greatly appreciated.

Thanks,

Dave Grattan
SAIC 
(760) 939-6515



# 
# perl Makefile.PL -v
 
 Configuring DBD::Ingres ...
 
        Try 'perl Makefile.PL -v'
          if you have any problems.
 
 
Using Ingres in /cac
System: perl5.006001 sunos sorcerer 5.8 generic_108528-09 sun4u sparc
sunw,ultra-80 
Compiler: gcc -O -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
SQL-precompiler: /cac/ingres/bin/esqlc
II_SYSTEM: /cacIngres 6.4
Linkwith: '-L/opt/SUNWspro/lib -L/usr/ccs/lib -L/usr/lib -L/usr/ucb/lib
-L/cac/ingres/lib -linterp.1 -lframe.1 -lq.1 -lcompat.1 -lcurses -lgen -lm
-lelf'
 
MakeMaker (v5.45)
Checking if your kit is complete...
Looks good
        ABSTRACT_FROM => q[Ingres.pm]
        AUTHOR => q[Henrik Tougaard ([EMAIL PROTECTED])]
        DEFINE => q[-Wall -pedantic -Wno-comment -Wtraditional]
        INC =>
q[-I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI]
        LIBS => [q[ -L/opt/SUNWspro/lib -L/usr/ccs/lib -L/usr/lib
-L/usr/ucb/lib -L/cac/ingres/lib -linterp.1 -lframe.1 -lq.1 -lcompat.1
-lcurses -lgen -lm -lelf]]
        LINKTYPE => q[dynamic]
        NAME => q[DBD::Ingres]
        OBJECT => q[Ingres$(OBJ_EXT) dbdimp$(OBJ_EXT)]
        OPTIMIZE => q[-g]
        PREREQ_PM => {  }
        VERSION_FROM => q[Ingres.pm]
        clean => { FILES=>q[dbdimp.c dbdimp.sc Ingres.h Ingres.sc
Ingres.xsi] }
        depend => { dbdimp$(OBJ_EXT)=>q[dbdimp.c Ingres.h],
Ingres$(OBJ_EXT)=>q[Ingres.h] }
        dist => { DIST_DEFAULT=>q[clean distcheck disttest tardist],
PREOP=>q[$(MAKE) -f Makefile.old distdir], COMPRESS=>q[gzip], SUFFIX=>q[gz]
}
        dynamic_lib => { OTHERLDFLAGS=>q[ -L/opt/SUNWspro/lib -L/usr/ccs/lib
-L/usr/lib -L/usr/ucb/lib -L/cac/ingres/lib -linterp.1 -lframe.1 -lq.1
-lcompat.1 -lcurses -lgen -lm -lelf $(COMPOBJS)] }
        macro => { ESQLC=>q[/cac/ingres/bin/esqlc], ESQLCOPT=>q[-o.h] }
Using PERL=/usr/bin/perl
Potential libraries are '-L/opt/SUNWspro/lib -L/usr/ccs/lib -L/usr/lib
-L/usr/ucb/lib -L/cac/ingres/lib -linterp.1 -lframe.1 -lq.1 -lcompat.1
-lcurses -lgen -lm -lelf':
-L/usr/ucb/lib ignored, directory does not exist
interp.1 not found in /opt/SUNWspro/lib
interp.1 not found in /usr/ccs/lib
interp.1 not found in /usr/lib
'-linterp.1' found at /cac/ingres/lib/libinterp.1.so
frame.1 not found in /opt/SUNWspro/lib
frame.1 not found in /usr/ccs/lib
frame.1 not found in /usr/lib
'-lframe.1' found at /cac/ingres/lib/libframe.1.so
q.1 not found in /opt/SUNWspro/lib
q.1 not found in /usr/ccs/lib
q.1 not found in /usr/lib
'-lq.1' found at /cac/ingres/lib/libq.1.so
compat.1 not found in /opt/SUNWspro/lib
compat.1 not found in /usr/ccs/lib
compat.1 not found in /usr/lib
'-lcompat.1' found at /cac/ingres/lib/libcompat.1.so
curses not found in /opt/SUNWspro/lib
'-lcurses' found at /usr/ccs/lib/libcurses.so
gen not found in /opt/SUNWspro/lib
'-lgen' found at /usr/ccs/lib/libgen.so
m not found in /opt/SUNWspro/lib
m not found in /usr/ccs/lib
'-lm' found at /usr/lib/libm.so.1
elf not found in /opt/SUNWspro/lib
elf not found in /usr/ccs/lib
'-lelf' found at /usr/lib/libelf.so.1
Writing Makefile for DBD::Ingres
# 
# make
cp Ingres.pm blib/lib/DBD/Ingres.pm
cp Ingperl.pm blib/lib/Ingperl.pm
cp ingperl.pl blib/lib/ingperl.pl
cp ingtest.pl blib/lib/DBD/ingtest.pl
/usr/bin/perl -p -e "s!/\*64\*!!" dbdimp.psc > dbdimp.sc
/cac/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.6.1/sun4-solaris/auto/DBI/Driver.xst
>Ingres.xsi
/usr/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris
-I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap Ingres.xs > Ingres.xsc
&& mv Ingres.xsc Ingres.c
gcc -c -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g    -DVERSION=\"0.30\"  -DXS_VERSION=\"0.30\" -fPIC
-I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -Wall -pedantic -Wno-comment
-Wtraditional Ingres.c
Ingres.c: In function `XS_DBD__Ingres__dr_discon_all_':
Ingres.c:42: warning: ANSI C forbids braced-groups within expressions
Ingres.c: In function `XS_DBD__Ingres__db__login':
Ingres.c:76: warning: ANSI C forbids braced-groups within expressions
Ingres.c: In function `XS_DBD__Ingres__db_commit':
Ingres.c:93: warning: ANSI C forbids braced-groups within expressions
Ingres.c: In function `XS_DBD__Ingres__db_rollback':
Ingres.c:110: warning: ANSI C forbids braced-groups within expressions
Ingres.xsi: In function `XS_DBD__Ingres__db_disconnect':
Ingres.xsi:92: warning: ANSI C forbids braced-groups within expressions
Ingres.xsi:92: warning: ANSI C forbids braced-groups within expressions
Ingres.c:143: warning: ANSI C forbids braced-groups within expressions
Ingres.c: In function `XS_DBD__Ingres__db_STORE':
Ingres.c:165: warning: ANSI C forbids braced-groups within expressions
Ingres.c: In function `XS_DBD__Ingres__db_FETCH':
Ingres.c:184: warning: ANSI C forbids braced-groups within expressions
Ingres.c: In function `XS_DBD__Ingres__st__prepare':
Ingres.c:261: warning: ANSI C forbids braced-groups within expressions
Ingres.c: In function `XS_DBD__Ingres__st_bind_param':
Ingres.c:322: warning: ANSI C forbids braced-groups within expressions
Ingres.c: In function `XS_DBD__Ingres__st_bind_param_inout':
Ingres.c:370: warning: ANSI C forbids braced-groups within expressions
Ingres.xsi: In function `XS_DBD__Ingres__st_execute':
Ingres.xsi:296: warning: ANSI C forbids braced-groups within expressions
Ingres.xsi:296: warning: ANSI C forbids braced-groups within expressions
Ingres.xsi:305: warning: ANSI C forbids braced-groups within expressions
Ingres.xsi:305: warning: ANSI C forbids braced-groups within expressions
Ingres.c:420: warning: ANSI C forbids braced-groups within expressions
Ingres.c: In function `XS_DBD__Ingres__st_fetchrow_arrayref':
Ingres.c:439: warning: ANSI C forbids braced-groups within expressions
Ingres.xsi: In function `XS_DBD__Ingres__st_fetchrow_array':
Ingres.xsi:347: warning: ANSI C forbids braced-groups within expressions
Ingres.xsi: In function `XS_DBD__Ingres__st_finish':
Ingres.xsi:361: warning: ANSI C forbids braced-groups within expressions
Ingres.xsi:361: warning: ANSI C forbids braced-groups within expressions
Ingres.xsi:367: warning: ANSI C forbids braced-groups within expressions
Ingres.xsi:367: warning: ANSI C forbids braced-groups within expressions
Ingres.c:497: warning: ANSI C forbids braced-groups within expressions
Ingres.c: In function `XS_DBD__Ingres__st_blob_read':
Ingres.c:535: warning: ANSI C forbids braced-groups within expressions
Ingres.c: In function `XS_DBD__Ingres__st_STORE':
Ingres.c:557: warning: ANSI C forbids braced-groups within expressions
Ingres.c: In function `XS_DBD__Ingres__st_FETCH_attrib':
Ingres.c:579: warning: ANSI C forbids braced-groups within expressions
Ingres.c: In function `XS_DBD__Ingres__db__do':
Ingres.c:664: warning: ANSI C forbids braced-groups within expressions
Ingres.c: In function `XS_DBD__Ingres__db_get_dbevent':
Ingres.c:688: warning: ANSI C forbids braced-groups within expressions
Ingres.c: In function `boot_DBD__Ingres':
Ingres.c:699: warning: ANSI C forbids braced-groups within expressions
Ingres.c:759: warning: ANSI C forbids braced-groups within expressions
Ingres.c:759: warning: ANSI C forbids braced-groups within expressions
gcc -c -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g    -DVERSION=\"0.30\"  -DXS_VERSION=\"0.30\" -fPIC
-I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -Wall -pedantic -Wno-comment
-Wtraditional dbdimp.c
dbdimp.c: In function `dump_sqlda':
dbdimp.c:34: warning: int format, long int arg (arg 3)
dbdimp.c:38: warning: int format, pointer arg (arg 6)
dbdimp.c: In function `sql_check':
dbdimp.c:68: warning: int format, long int arg (arg 3)
dbdimp.c: In function `dbd_discon_all':
dbdimp.c:139: warning: ANSI C forbids braced-groups within expressions
dbdimp.c:136: warning: unused variable `Perl___notused'
dbdimp.c: In function `release_statement':
dbdimp.c:161: warning: unsigned int format, long unsigned int arg (arg 5)
dbdimp.c: In function `generate_statement_name':
dbdimp.c:180: warning: unsigned int format, long unsigned int arg (arg 4)
dbdimp.c: In function `dbd_db_login':
dbdimp.c:302: warning: int format, long int arg (arg 3)
dbdimp.c:243: warning: unused variable `Perl___notused'
dbdimp.c: In function `dbd_db_do':
dbdimp.c:345: warning: unused variable `imp_dbh'
dbdimp.c: In function `dbd_db_commit':
dbdimp.c:364: warning: unused variable `Perl___notused'
dbdimp.c: In function `dbd_db_rollback':
dbdimp.c:388: warning: unused variable `Perl___notused'
dbdimp.c: In function `dbd_db_disconnect':
dbdimp.c:477: warning: unused variable `Perl___notused'
dbdimp.c: In function `dbd_db_STORE_attrib':
dbdimp.c:535: warning: ANSI C forbids braced-groups within expressions
dbdimp.c:554: warning: int format, long int arg (arg 3)
dbdimp.c:569: warning: int format, long int arg (arg 3)
dbdimp.c: In function `dbd_db_FETCH_attrib':
dbdimp.c:610: warning: int format, long int arg (arg 4)
dbdimp.c:587: warning: unused variable `i'
dbdimp.c: In function `dbd_st_prepare':
dbdimp.c:677: warning: subscript has type `char'
dbdimp.c: In function `dbd_describe':
dbdimp.c:809: warning: integer constant is unsigned in ANSI C, signed with
-traditional
dbdimp.c: In function `dbd_bind_ph':
dbdimp.c:868: warning: `long' switch expression not converted to `int' in
ANSI C
dbdimp.c: In function `dbd_st_execute':
dbdimp.c:1037: warning: ANSI C forbids braced-groups within expressions
dbdimp.c:987: warning: unused variable `Perl___notused'
dbdimp.c: In function `dbd_st_fetch':
dbdimp.c:1145: warning: integer constant is unsigned in ANSI C, signed with
-traditional
dbdimp.c:1153: warning: int format, pointer arg (arg 4)
dbdimp.c:1158: warning: use of `l' length character with `f' type character
dbdimp.c:1177: warning: int format, long int arg (arg 4)
dbdimp.c: In function `dbd_st_finish':
dbdimp.c:1213: warning: unused variable `Perl___notused'
dbdimp.c: In function `dbd_st_destroy':
dbdimp.c:1238: warning: unused variable `imp_dbh'
dbdimp.c:1237: warning: unused variable `i'
dbdimp.c: In function `dbd_st_STORE_attrib':
dbdimp.c:1270: warning: ANSI C forbids braced-groups within expressions
dbdimp.c:1271: warning: unused variable `Perl___notused'
dbdimp.c:1270: warning: unused variable `on'
dbdimp.c: In function `dbd_st_FETCH_attrib':
dbdimp.c:1401: warning: suggest parentheses around && within ||
dbdimp.c:1407: warning: suggest parentheses around && within ||
dbdimp.c:1426: warning: ANSI C forbids braced-groups within expressions
Running Mkbootstrap for DBD::Ingres ()
chmod 644 Ingres.bs
rm -f blib/arch/auto/DBD/Ingres/Ingres.so
LD_RUN_PATH="/cac/ingres/lib:/usr/ccs/lib:/usr/lib" gcc  -G -L/usr/local/lib
Ingres.o dbdimp.o -L/opt/SUNWspro/lib -L/usr/ccs/lib -L/usr/lib
-L/usr/ucb/lib -L/cac/ingres/lib -linterp.1 -lframe.1 -lq.1 -lcompat.1
-lcurses -lgen -lm -lelf  -o blib/arch/auto/DBD/Ingres/Ingres.so
-L/opt/SUNWspro/lib -L/usr/ccs/lib -L/usr/lib -L/cac/ingres/lib -linterp.1
-lframe.1 -lq.1 -lcompat.1 -lcurses -lgen -lm -lelf  
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_DSN="dbi:Ingres:cac" make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 -e
'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/dbi...............install_driver(Ingres) failed: Can't load
'blib/arch/auto/DBD/Ingres/Ingres.so' for module DBD::Ingres: ld.so.1:
/usr/bin/perl: fatal: relocation error: file /cac/ingres/lib/libcompat.1.so:
symbol clock_gettime: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at t/dbi.t line 48
t/dbi...............dubious

        Test returned status 255 (wstat 65280, 0xff00)
t/event.............install_driver(Ingres) failed: Can't load
'blib/arch/auto/DBD/Ingres/Ingres.so' for module DBD::Ingres: ld.so.1:
/usr/bin/perl: fatal: relocation error: file /cac/ingres/lib/libcompat.1.so:
symbol clock_gettime: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at t/event.t line 24
t/event.............dubious

        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-17
        Failed 17/17 tests, 0.00% okay
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
Failed 2/2 test scripts, 0.00% okay. 17/17 subtests failed, 0.00% okay.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
# 
# 
# 
# DBI_TRACE=3 make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 -e
'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/dbi...............    DBI 1.20-nothread dispatch trace level set to 3
No databasename specified at t/dbi.t line 33.
    -- DBI::END
skipped test on this platform
t/event.............    DBI 1.20-nothread dispatch trace level set to 3
 
    -> DBI->connect(dbi:Ingres:
, , ****)
    -> DBI->install_driver(Ingres) for solaris perl=5.006001 pid=18367
ruid=0 euid=0
install_driver(Ingres) failed: Can't load
'blib/arch/auto/DBD/Ingres/Ingres.so' for module DBD::Ingres: ld.so.1:
/usr/bin/perl: fatal: relocation error: file /cac/ingres/lib/libcompat.1.so:
symbol clock_gettime: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206, <> line 1.
 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3, <> line 1.
Perhaps a required shared library or dll isn't installed where expected
 at t/event.t line 24
    -- DBI::END
t/event.............dubious

        Test returned status 255 (wstat 65280, 0xff00)
FAILED--2 test scripts could be run, alas--no output ever seen
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
# 
# 
# DBI_DSN="dbi:Ingres:cac" DBI_trace=3 make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 -e
'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/dbi...............install_driver(Ingres) failed: Can't load
'blib/arch/auto/DBD/Ingres/Ingres.so' for module DBD::Ingres: ld.so.1:
/usr/bin/perl: fatal: relocation error: file /cac/ingres/lib/libcompat.1.so:
symbol clock_gettime: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at t/dbi.t line 48
t/dbi...............dubious

        Test returned status 255 (wstat 65280, 0xff00)
t/event.............install_driver(Ingres) failed: Can't load
'blib/arch/auto/DBD/Ingres/Ingres.so' for module DBD::Ingres: ld.so.1:
/usr/bin/perl: fatal: relocation error: file /cac/ingres/lib/libcompat.1.so:
symbol clock_gettime: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at t/event.t line 24
t/event.............dubious

        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-17
        Failed 17/17 tests, 0.00% okay
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
Failed 2/2 test scripts, 0.00% okay. 17/17 subtests failed, 0.00% okay.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'





David Grattan
SAIC Information Services
(760) 939-6515
[EMAIL PROTECTED]

Reply via email to