Hello: I am new to the list and a relative Perl newbie. I am trying to install DBI module. It is failing one test on the make test. The gory details follow. I've included the output from make, make test and make test TEST_VERBOSE=1 and perl -V. Any help is appreciated.
Thanks Dave hcuxsstest01# perl Makefile.PL *** Note: The optional PlRPC-modules (RPC::PlServer etc) are not installed. If you want to use the DBD::Proxy driver and DBI::ProxyServer modules, then you'll need to install the RPC::PlServer, RPC::PlClient, Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you. You can install them any time after installing the DBI. You do *not* need these modules for typical DBI usage. Optional modules are available from any CPAN mirror, in particular http://www.perl.com/CPAN/modules/by-module http://www.perl.org/CPAN/modules/by-module ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module Checking if your kit is complete... Looks good Writing Makefile for DBI Remember to actually *read* the README file! Use 'make' to build the software (dmake or nmake on Windows). Then 'make test' to execute self tests. Then 'make install' to install the DBI and then delete this working directory before unpacking and building any DBD::* drivers. hcuxsstest01# make mkdir blib mkdir blib/lib mkdir blib/lib/DBI cp Changes blib/lib/DBI/Changes.pm mkdir blib/arch mkdir blib/arch/auto mkdir blib/arch/auto/DBI mkdir blib/lib/auto mkdir blib/lib/auto/DBI mkdir blib/man1 mkdir blib/man3 cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm cp DBIXS.h blib/arch/auto/DBI/DBIXS.h cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm cp lib/DBI/Format.pm blib/lib/DBI/Format.pm cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm cp Driver.xst blib/arch/auto/DBI/Driver.xst cp dbipport.h blib/arch/auto/DBI/dbipport.h cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm cp DBI.pm blib/lib/DBI.pm /usr/local/bin/perl -p -e "s/~DRIVER~/Perl/g" < blib/arch/auto/DBI/Driver.xst > Perl.xsi /usr/local/bin/perl -I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/5.00503/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.00503/ExtUtils/typemap Perl.xs >xstmp.c && mv xstmp.c Perl.c gcc -c -I/usr/local/include -O -DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -fPIC -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE -Wall -Wno-comment -DDBI_NO_THREADS Perl.c /usr/local/lib/perl5/5.00503/sun4-solaris/CORE/patchlevel.h:41: warning: `local_patches' defined but not used /usr/local/bin/perl -I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/5.00503/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.00503/ExtUtils/typemap DBI.xs >xstmp.c && mv xstmp.c DBI.c gcc -c -I/usr/local/include -O -DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -fPIC -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE -Wall -Wno-comment -DDBI_NO_THREADS DBI.c /usr/local/lib/perl5/5.00503/sun4-solaris/CORE/patchlevel.h:41: warning: `local_patches' defined but not used Running Mkbootstrap for DBI () chmod 644 DBI.bs LD_RUN_PATH="" gcc -o blib/arch/auto/DBI/DBI.so -G -L/usr/local/lib DBI.o chmod 755 blib/arch/auto/DBI/DBI.so cp DBI.bs blib/arch/auto/DBI/DBI.bs chmod 644 blib/arch/auto/DBI/DBI.bs /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503 dbiproxy.PL dbiproxy Extracted dbiproxy from dbiproxy.PL with variable substitutions. mkdir blib/script cp dbiproxy blib/script/dbiproxy /usr/local/bin/perl -I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503 -MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/dbiproxy /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503 dbish.PL dbish Extracted dbish from dbish.PL with variable substitutions. cp dbish blib/script/dbish /usr/local/bin/perl -I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503 -MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/dbish Manifying blib/man1/dbiproxy.1 Manifying blib/man3/DBI::W32ODBC.3 Manifying blib/man3/DBI::FAQ.3 Manifying blib/man3/DBI::Shell.3 Manifying blib/man3/DBI::Format.3 Manifying blib/man3/DBI::ProxyServer.3 Manifying blib/man3/Bundle::DBI.3 Manifying blib/man3/DBI::DBD.3 Manifying blib/man1/dbish.1 Manifying blib/man3/DBI.3 Manifying blib/man3/Win32::DBIODBC.3 Manifying blib/man3/DBD::Proxy.3 hcuxsstest01# make test cp Changes blib/lib/DBI/Changes.pm PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/basics............ok t/dbidrv............ok t/examp.............ok t/meta..............ok t/preparse..........Can't locate Devel/Peek.pm in @INC (@INC contains: blib/arch blib/lib /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005 . /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005 .) at t/preparse.t line 4. BEGIN failed--compilation aborted at t/preparse.t line 4. dubious Test returned status 2 (wstat 512, 0x200) t/proxy.............skipping test on this platform t/shell.............Use of uninitialized value at /usr/local/lib/perl5/5.00503/Term/Cap.pm line 284. Use of uninitialized value at /usr/local/lib/perl5/5.00503/Term/Cap.pm line 284. ok t/subclass..........ok Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- t/preparse.t 2 512 ?? ?? % ?? 1 test skipped. Failed 1/8 test scripts, 87.50% okay. 0/278 subtests failed, 100.00% okay. *** Error code 29 make: Fatal error: Command failed for target `test_dynamic' hcuxsstest01# make test TEST_VERBOSE=1 cp Changes blib/lib/DBI/Changes.pm PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t t/basics............1..36 ok 1 at line 30 ok 2 at line 31 ok 3 at line 36 ok 4 at line 39 ok 5 at line 40 ok 6 at line 46 ok 7 at line 47 ok 8 at line 48 ok 9 at line 51 ok 10 at line 54 ok 11 at line 56 ok 12 at line 57 ok 13 at line 59 ok 14 at line 60 ok 15 at line 61 ok 16 at line 62 ok 17 at line 64 ok 18 at line 65 ok 19 at line 66 ok 20 at line 71 ok 21 at line 72 ok 22 at line 73 ok 23 at line 74 ok 24 at line 75 ok 25 at line 76 ok 26 at line 79 ok 27 at line 80 ok 28 at line 81 ok 29 at line 82 ok 30 at line 83 ok 31 at line 84 ok 32 at line 86 ok 33 at line 87 ok 34 at line 88 ok 35 at line 89 ok 36 at line 90 ok t/dbidrv............1..17 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok t/examp.............1..201 ok 1 at line 32 ok 2 at line 39 ok 3 at line 40 ok 4 at line 55 ok 5 at line 56 ok 6 at line 59 ok 7 at line 62 ok 8 at line 64 ok 9 at line 68 ok 10 at line 69 ok 11 at line 70 ok 12 at line 71 ok 13 at line 72 quote ok 14 at line 76 ok 15 at line 77 ok 16 at line 78 ok 17 at line 79 quote_identifier ok 18 at line 83 ok 19 at line 84 ok 20 at line 85 ok 21 at line 86 ok 22 at line 87 ok 23 at line 91 others ok 24 at line 95 ok 25 at line 98 ok 26 at line 104 ok 27 at line 109 ok 28 at line 111 ok 29 at line 112 ok 30 at line 113 ok 31 at line 114 ok 32 at line 115 ok 33 at line 117 ok 34 at line 119 ok 35 at line 119 ok 36 at line 119 ok 37 at line 123 ok 38 at line 126 ok 39 at line 128 ok 40 at line 129 ok 41 at line 130 ok 42 at line 131 ok 43 at line 133 ok 44 at line 134 ok 45 at line 135 ok 46 at line 136 ok 47 at line 138 ok 48 at line 139 ok 49 at line 140 ok 50 at line 141 ok 51 at line 153 ok 52 at line 154 ok 53 at line 155 ok 54 at line 158 ok 55 at line 161 ok 56 at line 162 ok 57 at line 163 Taint attribute tests skipped ok 58 at line 195 ok 59 at line 196 ok 60 at line 198 ok 61 at line 200 ok 62 at line 202 ok 63 at line 204 ok 64 at line 205 ok 65 at line 208 fetchrow_hashref('NAME_uc') ok 66 at line 211 ok 67 at line 213 ok 68 at line 214 ok 69 at line 215 ok 70 at line 216 FetchHashKeyName ok 71 at line 219 ok 72 at line 221 ok 73 at line 222 ok 74 at line 223 ok 75 at line 224 ok 76 at line 225 fetchall_arrayref ok 77 at line 228 ok 78 at line 230 ok 79 at line 231 ok 80 at line 232 ok 81 at line 233 ok 82 at line 234 fetchall_arrayref array slice ok 83 at line 237 ok 84 at line 239 ok 85 at line 240 ok 86 at line 241 fetchall_arrayref hash slice ok 87 at line 244 ok 88 at line 247 ok 89 at line 248 ok 90 at line 249 fetchall_arrayref hash ok 91 at line 253 ok 92 at line 255 ok 93 at line 256 ok 94 at line 257 ok 95 at line 263 ok 96 at line 264 selectrow_array ok 97 at line 270 ok 98 at line 271 selectrow_hashref ok 99 at line 275 ok 100 at line 276 ok 101 at line 277 ok 102 at line 278 selectall_arrayref ok 103 at line 282 ok 104 at line 283 ok 105 at line 284 ok 106 at line 285 selectall_arrayref Slice array slice ok 107 at line 289 ok 108 at line 290 ok 109 at line 291 ok 110 at line 292 selectall_arrayref Columns array slice ok 111 at line 296 ok 112 at line 297 ok 113 at line 298 ok 114 at line 299 selectall_arrayref hash slice ok 115 at line 303 ok 116 at line 304 ok 117 at line 305 ok 118 at line 306 ok 119 at line 307 ok 120 at line 308 ok 121 at line 309 selectall_hashref ok 122 at line 313 ok 123 at line 314 ok 124 at line 315 ok 125 at line 316 selectall_hashref by column number ok 126 at line 320 ok 127 at line 321 selectcol_arrayref ok 128 at line 325 ok 129 at line 326 ok 130 at line 327 selectcol_arrayref column slice ok 131 at line 331 ok 132 at line 333 ok 133 at line 334 ok 134 at line 335 begin_work... ok 135 at line 340 ok 136 at line 341 ok 137 at line 343 ok 138 at line 344 ok 139 at line 345 ok 140 at line 348 ok 141 at line 349 ok 142 at line 351 ok 143 at line 353 ok 144 at line 354 others... ok 145 at line 361 ok 146 at line 362 RaiseError & PrintError & ShowErrorStatement ok 147 at line 366 ok 148 at line 368 ok 149 at line 372 ok 150 at line 374 ok 151 at line 375 ok 152 at line 379 ok 153 at line 380 ok 154 at line 382 ok 155 at line 383 ok 156 at line 385 ok 157 at line 390 ok 158 at line 392 ok 159 at line 398 ok 160 at line 399 ok 161 at line 400 ok 162 at line 402 HandleError ok 163 at line 416 ok 164 at line 417 HandleError -> die ok 165 at line 425 ok 166 at line 426 HandleError -> 0 -> RaiseError ok 167 at line 430 ok 168 at line 431 HandleError -> 1 -> return (original)undef ok 169 at line 436 ok 170 at line 437 HandleError -> 2 -> return (modified)42 ok 171 at line 444 ok 172 at line 445 ok 173 at line 448 dump_results ok 174 at line 453 ok 175 at line 454 ok 176 at line 467 ok 177 at line 469 table_info ok 178 at line 481 ok 179 at line 488 ok 180 at line 498 ok 181 at line 500 tables ok 182 at line 513 ok 183 at line 515 ok 184 at line 515 ok 185 at line 515 ok 186 at line 515 ok 187 at line 515 Testing the fake directories (0). ok 188 at line 520 ok 189 at line 521 ok 190 at line 523 ok 191 at line 524 Testing the fake directories (100). ok 192 at line 520 ok 193 at line 521 ok 194 at line 523 ok 195 at line 527 Testing the fake directories (200). ok 196 at line 520 ok 197 at line 521 ok 198 at line 523 ok 199 at line 527 ok 200 at line 535 Testing $dbh->func(). ok 201 at line 544 ok t/meta..............1..6 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok t/preparse..........Can't locate Devel/Peek.pm in @INC (@INC contains: blib/arch blib/lib /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005 . /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005 .) at t/preparse.t line 4. BEGIN failed--compilation aborted at t/preparse.t line 4. dubious Test returned status 2 (wstat 512, 0x200) t/proxy.............1..0 Can't locate RPC/PlClient.pm in @INC (@INC contains: blib/arch blib/lib /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5..005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005 . /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005 .) at blib/lib/DBD/Proxy.pm line 28. BEGIN failed--compilation aborted at blib/lib/DBD/Proxy.pm line 28. skipping test on this platform t/shell.............1..3 ok 1 Use of uninitialized value at /usr/local/lib/perl5/5.00503/Term/Cap.pm line 284. Use of uninitialized value at /usr/local/lib/perl5/5.00503/Term/Cap.pm line 284. DBI::Shell 11.02 using DBI 1.21 ok 2 ok 3 ok t/subclass..........1..15 ok 1 at 86 ok 2 at 99 ok 3 at 100 ok 4 at 103 ok 5 at 104 ok 6 at 107 ok 7 at 108 ok 8 at 110 ok 9 at 112 ok 10 at 113 ok 11 at 119 ok 12 at 120 ok 13 at 121 ok 14 at 122 ok 15 at 123 ok Failed Test Status Wstat Total Fail Failed List of failed ------------------------------------------------------------------------------- t/preparse.t 2 512 ?? ?? % ?? 1 test skipped. Failed 1/8 test scripts, 87.50% okay. 0/278 subtests failed, 100.00% okay. *** Error code 29 make: Fatal error: Command failed for target `test_dynamic' hcuxsstest01# perl -V Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=solaris, osvers=2.7, archname=sun4-solaris uname='sunos 5.7 generic_patch sun4u sparc sunw,ultra-1 ' hint=recommended, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='gcc', optimize='-O', gccversion=2.8.1 cppflags='-I/usr/local/include' ccflags ='-I/usr/local/include' stdchar='char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' Characteristics of this binary (from libperl): Built under solaris Compiled at Jun 27 1999 20:12:35 @INC: /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005 . hcuxsstest01#