Hi, I just upgraded to perl 5.8.0 and am reinstalling the DBI. I've installed DBI on several systems and OSs and never had a problem, or all the warnings, until now. Perl 5.8.0 went in without any errors. I don't want to continue until I know this is harmless, or I need to backup and re-do something. I saw a post very similar that Tim replied to, "Fixed for the next release" but I don't see 1-38. Do I need to wait, or go back a version? I did not see this error at Solaris 5.9 or MPRAS 3.2 Thanks, Mike Here's the output: > perl Makefile.PL *** You are using a perl configured with threading enabled. *** You should be aware that using multiple threads is *** not recommended for production environments. *** 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.com/CPAN/modules/by-module> http://www.perl.org/CPAN/modules/by-module <http://www.perl.org/CPAN/modules/by-module> ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module <ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module> Creating extra DBI::PurePerl test: t/zz_01basics_pp.t Creating extra DBI::PurePerl test: t/zz_02dbidrv_pp.t Creating extra DBI::PurePerl test: t/zz_03handle_pp.t Creating extra DBI::PurePerl test: t/zz_04mods_pp.t Creating extra DBI::PurePerl test: t/zz_05thrclone_pp.t (use threads) Creating extra DBI::PurePerl test: t/zz_06attrs_pp.t Creating extra DBI::PurePerl test: t/zz_07kids_pp.t Creating extra DBI::PurePerl test: t/zz_08keeperr_pp.t Creating extra DBI::PurePerl test: t/zz_10examp_pp.t Creating extra DBI::PurePerl test: t/zz_15array_pp.t Creating extra DBI::PurePerl test: t/zz_20meta_pp.t Creating extra DBI::PurePerl test: t/zz_30subclass_pp.t Creating extra DBI::PurePerl test: t/zz_40profile_pp.t Creating extra DBI::PurePerl test: t/zz_41prof_dump_pp.t Creating extra DBI::PurePerl test: t/zz_42prof_data_pp.t Creating extra DBI::PurePerl test: t/zz_60preparse_pp.t Creating extra DBI::PurePerl test: t/zz_80proxy_pp.t 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. > make gcc -c -D_REENTRANT -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.37\" -DXS_VERSION=\"1.37\" -fPIC "-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi-64int/CORE" -Wall -Wno-comment DBI.c DBI.xs: In function `check_version': DBI.xs:188: warning: cast to pointer from integer of different size DBI.xs: In function `dbi_bootinit': DBI.xs:206: warning: cast to pointer from integer of different size DBI.xs:206: warning: cast from pointer to integer of different size DBI.xs:226: warning: cast from pointer to integer of different size DBI.xs: In function `neatsvpv': DBI.xs:277: warning: cast to pointer from integer of different size DBI.xs: In function `dbih_logmsg': DBI.xs:456: warning: cast to pointer from integer of different size DBI.xs: In function `set_trace_file': DBI.xs:472: warning: cast to pointer from integer of different size DBI.xs: In function `set_trace': DBI.xs:513: warning: cast to pointer from integer of different size DBI.xs: In function `dbih_inner': DBI.xs:536: warning: cast to pointer from integer of different size DBI.xs: In function `dbih_getcom2': DBI.xs:603: warning: cast to pointer from integer of different size DBI.xs: In function `dbih_setup_attrib': DBI.xs:645: warning: cast to pointer from integer of different size DBI.xs: In function `dbih_make_fdsv': DBI.xs:689: warning: cast to pointer from integer of different size DBI.xs: In function `dbih_make_com': DBI.xs:711: warning: cast to pointer from integer of different size DBI.xs: In function `dbih_setup_handle': DBI.xs:799: warning: cast to pointer from integer of different size DBI.xs: In function `dbih_dumpcom': DBI.xs:909: warning: cast to pointer from integer of different size DBI.xs: In function `dbih_clearcom': DBI.xs:971: warning: cast to pointer from integer of different size DBI.xs: In function `dbih_setup_fbav': DBI.xs:1073: warning: cast to pointer from integer of different size DBI.xs: In function `dbih_sth_bind_col': DBI.xs:1123: warning: cast to pointer from integer of different size DBI.xs: In function `dbih_set_attr_k': DBI.xs:1189: warning: cast to pointer from integer of different size DBI.xs: In function `dbih_get_attr_k': DBI.xs:1395: warning: cast to pointer from integer of different size DBI.xs: In function `clear_cached_kids': DBI.xs:1809: warning: cast to pointer from integer of different size DBI.xs: In function `XS_DBI_dispatch': DBI.xs:2058: warning: cast to pointer from integer of different size DBI.xs: In function `XS_DBI__clone_dbis': DBI.xs:3108: warning: cast to pointer from integer of different size DBI.xs: In function `XS_DBI__install_method': DBI.xs:3185: warning: cast to pointer from integer of different size DBI.xs: In function `XS_DBI_trace': DBI.xs:3247: warning: cast to pointer from integer of different size DBI.xs: In function `XS_DBI__svdump': DBI.xs:3288: warning: cast to pointer from integer of different size DBI.xs: In function `XS_DBI__var_FETCH': DBI.xs:3344: warning: cast to pointer from integer of different size DBI.xs: In function `XS_DBD_____st_fetchrow_array': DBI.xs:3557: warning: cast to pointer from integer of different size DBI.xs: In function `XS_DBD_____common_trace_msg': DBI.xs:3836: warning: cast to pointer from integer of different size DBI.xs: In function `XS_DBD___mem__common_DESTROY': DBI.xs:3866: warning: cast to pointer from integer of different size DBI.c: At top level: DBIXS.h:418: warning: `get_dbistate' defined but not used Running Mkbootstrap for DBI () chmod 644 DBI.bs rm -f blib/arch/auto/DBI/DBI.so LD_RUN_PATH="" gcc -G -L/usr/local/lib DBI.o -o blib/arch/auto/DBI/DBI.so 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 cp dbiprof blib/script/dbiprof /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiprof cp dbiproxy blib/script/dbiproxy /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiproxy Manifying blib/man3/DBI::FAQ.3 Manifying blib/man1/dbiproxy.1 Manifying blib/man3/DBD::Proxy.3 Manifying blib/man3/DBI::Const::GetInfo::ANSI.3 Manifying blib/man3/DBI::Const::GetInfoReturn.3 Manifying blib/man3/DBI.3 Manifying blib/man1/dbiprof.1 Manifying blib/man3/DBI::Const::GetInfoType.3 Manifying blib/man3/DBI::W32ODBC.3 Manifying blib/man3/DBI::DBD::Metadata.3 Manifying blib/man3/DBI::Const::GetInfo::ODBC.3 Manifying blib/man3/DBI::ProfileDumper::Apache.3 Manifying blib/man3/Bundle::DBI.3 Manifying blib/man3/DBI::Profile.3 Manifying blib/man3/DBI::ProfileDumper.3 Manifying blib/man3/DBI::ProxyServer.3 Manifying blib/man3/DBI::DBD.3 Manifying blib/man3/Win32::DBIODBC.3 Manifying blib/man3/DBI::PurePerl.3 Manifying blib/man3/DBI::ProfileData.3 > perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi-64int uname='sunos ccdev01 5.8 generic_108528-13 sun4u sparc sunw,ultra-enterprise ' config_args='-Dcc=gcc -Duseperlio -Dusethreads' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers='solaris2.8' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib ' libpth=/usr/local/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lrt -lpthread -lc perllibs=-lsocket -lnsl -ldl -lm -lrt -lpthread -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' 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): Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under solaris Compiled at Jun 23 2003 21:16:57 @INC: /usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi-64int /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris-thread-multi-64int /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl . >make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/01basics.............1..39 ok 1 at line 32 ok 2 at line 33 ok 3 at line 37 ok 4 at line 40 ok 5 at line 41 ok 6 at line 45 ok 7 at line 48 ok 8 at line 50 ok 9 at line 52 ok 10 at line 54 ok 11 at line 55 ok 12 at line 58 ok 13 at line 61 ok 14 at line 63 ok 15 at line 64 ok 16 at line 66 ok 17 at line 67 ok 18 at line 68 ok 19 at line 69 ok 20 at line 71 ok 21 at line 72 ok 22 at line 73 ok 23 at line 78 ok 24 at line 79 ok 25 at line 80 ok 26 at line 81 ok 27 at line 82 ok 28 at line 83 ok 29 at line 86 ok 30 at line 87 ok 31 at line 88 ok 32 at line 89 ok 33 at line 90 ok 34 at line 91 ok 35 at line 93 ok 36 at line 94 ok 37 at line 95 ok 38 at line 103 ok 39 at line 104 ok t/02dbidrv.............1..32 ok 1 ok 2 ok 3 ok 4 DBD::_::dr internals ok 5 ok 6 DBD::_::db internals ok 7 ok 8 Driver for inner handles needs to be the Drivers inner handle ok 9 ok 10 ok 11 Driver for outer handles needs to be the Drivers outer handle ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 DBD::Test::db::DESTROY ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 FETCH'd Test ok 32 ok t/03handle.............1..18 ok 1 ok 2 ref leak using ok 3 ref leak using Driver 1 ok 4 ok 5 ref leak using Database 1 ok 6 ok 7 ref leak using Database 1 Driver 1 ok 8 ok 9 ok 10 take_imp_data ok 11 # Test 12 got: '124' (t/03handle.t at line 52) # Expected: '112' not ok 12 $VAR1 = '1��1��/�h/[EMAIL PROTECTED])[EMAIL PROTECTED]'; ok 13 ok 14 ok 15 ok 16 ok 17 use dbi_imp_data ok 18 FAILED test 12 Failed 1/18 tests, 94.44% okay t/04mods...............1..3 ok 1 ok 2 ok 3 ok t/05thrclone...........1..20 ok 1 ok 2 ok 3
TRIMMED... ok 207 at line 540 ok 208 at line 541 HandleError -> die ok 209 at line 549 ok 210 at line 550 HandleError -> 0 -> RaiseError HandleError: DBD::ExampleP::db prepare failed: Unknown field names: unknown_field_name2 [h=DBI::db=HASH(0x30857c), rv=undef, #=3] ok 211 at line 554 ok 212 at line 555 HandleError -> 1 -> return (original)undef HandleError: DBD::ExampleP::db prepare failed: Unknown field names: unknown_field_name2 [h=DBI::db=HASH(0x30857c), rv=undef, #=3] ok 213 at line 560 ok 214 at line 561 HandleError -> 2 -> return (modified)42 HandleError: DBD::ExampleP::db prepare failed: Unknown field names: unknown_field_name2 [h=DBI::db=HASH(0x30857c), rv=undef, #=3] ok 215 at line 568 ok 216 at line 569 ok 217 at line 572 dump_results ok 218 at line 577 ok 219 at line 580 ok 220 at line 591 ok 221 at line 593 table_info TRIMMED... HandleError -> die ok 209 at line 549 ok 210 at line 550 HandleError -> 0 -> RaiseError HandleError: DBD::ExampleP::db prepare failed: Unknown field names: unknown_field_name2 [h=DBI::db=HASH(0x5a54b0), rv=undef, #=3] ok 211 at line 554 ok 212 at line 555 HandleError -> 1 -> return (original)undef HandleError: DBD::ExampleP::db prepare failed: Unknown field names: unknown_field_name2 [h=DBI::db=HASH(0x5a54b0), rv=undef, #=3] ok 213 at line 560 ok 214 at line 561 HandleError -> 2 -> return (modified)42 HandleError: DBD::ExampleP::db prepare failed: Unknown field names: unknown_field_name2 [h=DBI::db=HASH(0x5a54b0), rv=undef, #=3] ok 215 at line 568 ok 216 at line 569 TRIMMED... Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/03handle.t 18 1 5.56% 12 7 tests skipped. Failed 1/34 test scripts, 97.06% okay. 1/1243 subtests failed, 99.92% okay. make: *** [test_dynamic] Error 29
