Cannot install DBI with MS 4.50.14
Gregg Berkholtz
gregg at gbcomputers.com
Wed Feb 1 22:04:12 GMT 2006
Thanks for the response, but it still appears to fail. The Storable install
went well, with the final messages being:
/usr/bin/make -- OK
/usr/bin/make test -- OK
/usr/bin/make install -- OK
install.sh does report "Good, you appear to only have 1 copy of Perl
installed: /usr/bin/perl", and it appears the install.sh is looking for
storable in /usr/local/... An ls of the Storables folder:
Apr 25 2002 Storable.bs
Apr 25 2002 Storable.so
Apr 25 2002 _freeze.al
Apr 25 2002 _retrieve.al
Apr 25 2002 _store.al
Apr 25 2002 _store_fd.al
Apr 25 2002 autosplit.ix
Apr 25 2002 fd_retrieve.al
Apr 25 2002 freeze.al
Apr 25 2002 lock_nstore.al
Apr 25 2002 lock_retrieve.al
Apr 25 2002 lock_store.al
Apr 25 2002 nfreeze.al
Apr 25 2002 nstore.al
Apr 25 2002 nstore_fd.al
Apr 25 2002 retrieve.al
Apr 25 2002 store.al
Apr 25 2002 store_fd.al
Apr 25 2002 thaw.al
Shouldn't those files be more current?
Running ./install.sh afterwards reports these errors:
"...
Attempting to build and install DBI-1.50 Unpacking perl-tar/DBI-1.50.tar.gz
Do not worry too much about errors from the next command.
It is quite likely that some of the Perl modules are
already installed on your system.
The important ones are HTML-Parser and MIME-tools.
**************************************************************************
Perl versions below 5.6.1 are no longer supported by the DBI.
Perl versions 5.6.x may fail during installation with a complaint
about the use of =head3 in the pod documentation.
Press return to continue...
**************************************************************************
*** 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://search.cpan.org/
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
Creating DBI::PurePerl test variant: t/zvpp_01basics.t
Creating DBI::PurePerl test variant: t/zvpp_02dbidrv.t
Creating DBI::PurePerl test variant: t/zvpp_03handle.t
Creating DBI::PurePerl test variant: t/zvpp_04mods.t
Creating DBI::PurePerl test variant: t/zvpp_05thrclone.t
Creating DBI::PurePerl test variant: t/zvpp_06attrs.t
Creating DBI::PurePerl test variant: t/zvpp_07kids.t
Creating DBI::PurePerl test variant: t/zvpp_08keeperr.t
Creating DBI::PurePerl test variant: t/zvpp_09trace.t
Creating DBI::PurePerl test variant: t/zvpp_10examp.t
Creating DBI::PurePerl test variant: t/zvpp_11fetch.t
Creating DBI::PurePerl test variant: t/zvpp_14utf8.t
Creating DBI::PurePerl test variant: t/zvpp_15array.t
Creating DBI::PurePerl test variant: t/zvpp_20meta.t
Creating DBI::PurePerl test variant: t/zvpp_30subclass.t
Creating DBI::PurePerl test variant: t/zvpp_40profile.t
Creating DBI::PurePerl test variant: t/zvpp_41prof_dump.t
Creating DBI::PurePerl test variant: t/zvpp_42prof_data.t
Creating DBI::PurePerl test variant: t/zvpp_43profenv.t
Creating DBI::PurePerl test variant: t/zvpp_50dbm.t
Creating DBI::PurePerl test variant: t/zvpp_60preparse.t
Creating DBI::PurePerl test variant: t/zvpp_70callbacks.t
Creating DBI::PurePerl test variant: t/zvpp_72childhandles.t
Creating DBI::PurePerl test variant: t/zvpp_80proxy.t
Checking if your kit is complete...
Looks good
I see you're using perl 5.006001 on i386-linux, okay.
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.
Writing Makefile for DBI
/usr/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI
rm -f blib/lib/DBI/Changes.pm
cp Changes blib/lib/DBI/Changes.pm
/usr/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI
rm -f blib/lib/DBI/Roadmap.pm
cp Roadmap.pod blib/lib/DBI/Roadmap.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp Roadmap.pod blib/lib/Roadmap.pod
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
cp lib/DBD/File.pm blib/lib/DBD/File.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp dbivport.h blib/arch/auto/DBI/dbivport.h
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/bin/perl /usr/share/perl/5.6.1/ExtUtils/xsubpp -typemap /usr/share/perl/5.6.1/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
cc -c -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib/perl/5.6.1/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -DDBI_NO_THREADS Perl.c
Perl.xs: In function `dbd_st_rows':
Perl.xs:39: warning: unused parameter `h'
Perl.c: In function `XS_DBD__Perl__dr_data_sources':
Perl.c:84: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db__login':
Perl.c:119: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_selectall_arrayref':
Perl.c:153: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_do':
Perl.c:273: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_last_insert_id':
Perl.c:310: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_commit':
Perl.c:339: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_rollback':
Perl.c:356: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_disconnect':
Perl.c:373: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_STORE':
Perl.c:406: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_FETCH':
Perl.c:428: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_DESTROY':
Perl.c:447: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__db_take_imp_data':
Perl.c:506: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st__prepare':
Perl.c:568: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_bind_col':
Perl.c:620: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_bind_param':
Perl.c:671: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_bind_param_inout':
Perl.c:713: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_execute':
Perl.c:761: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_execute_for_fetch':
Perl.c:795: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_fetchall_arrayref':
Perl.c:868: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_finish':
Perl.c:901: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_blob_read':
Perl.c:931: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_STORE':
Perl.c:969: warning: unused parameter `cv'
Perl.c: In function `XS_DBD__Perl__st_DESTROY':
Perl.c:1013: warning: unused parameter `cv'
Perl.c: In function `boot_DBD__Perl':
Perl.c:1064: warning: unused parameter `cv'
Perl.c: At top level:
dbipport.h:529: warning: `my_sv_2pvbyte' defined but not used
/usr/bin/perl /usr/share/perl/5.6.1/ExtUtils/xsubpp -typemap /usr/share/perl/5.6.1/ExtUtils/typemap -typemap typemap DBI.xs > DBI.xsc && mv DBI.xsc DBI.c
cc -c -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib/perl/5.6.1/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -DDBI_NO_THREADS DBI.c
DBI.xs: In function `dbih_clearcom':
DBI.xs:1183: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_fbav':
DBI.xs:1332: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_set_attr_k':
DBI.xs:1514: warning: unused variable `Perl___notused'
DBI.xs:1416: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_attr_k':
DBI.xs:1654: warning: unused variable `Perl___notused'
DBI.xs: In function `log_where':
DBI.xs:2081: warning: unused variable `Perl___notused'
DBI.xs: In function `XS_DBI_dispatch':
DBI.xs:2971: warning: unused variable `Perl___notused'
DBI.c: In function `XS_DBI__install_method':
DBI.c:3650: warning: unused parameter `cv'
DBI.c: In function `XS_DBI_dbi_time':
DBI.c:3833: warning: unused parameter `cv'
DBI.c: In function `XS_DBD_____db_preparse':
DBI.c:3988: warning: unused parameter `cv'
DBI.c: At top level:
dbipport.h:529: warning: `my_sv_2pvbyte' defined but not used
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
rm -f blib/arch/auto/DBI/DBI.so
cc -shared -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
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" dbiproxy.PL dbiproxy
Extracted dbiproxy from dbiproxy.PL with variable substitutions.
cp dbiproxy blib/script/dbiproxy
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiproxy
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" dbiprof.PL dbiprof
Extracted dbiprof from dbiprof.PL with variable substitutions.
cp dbiprof blib/script/dbiprof
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiprof
Manifying blib/man1/dbiproxy.1p
Manifying blib/man1/dbiprof.1p
Manifying blib/man3/DBI::ProfileDumper.3pm
Manifying blib/man3/Roadmap.3pm
Manifying blib/man3/DBI::DBD::Metadata.3pm
Manifying blib/man3/DBI::Const::GetInfoReturn.3pm
Manifying blib/man3/DBI::Const::GetInfo::ANSI.3pm
Manifying blib/man3/DBI::PurePerl.3pm
Manifying blib/man3/DBI::Profile.3pm
Manifying blib/man3/DBI::SQL::Nano.3pm
Manifying blib/man3/DBD::File.3pm
Manifying blib/man3/DBD::DBM.3pm
Manifying blib/man3/DBI.3pm
Manifying blib/man3/DBI::FAQ.3pm
Manifying blib/man3/Bundle::DBI.3pm
Manifying blib/man3/Win32::DBIODBC.3pm
Manifying blib/man3/DBI::W32ODBC.3pm
Manifying blib/man3/DBI::DBD.3pm
Manifying blib/man3/DBI::ProfileData.3pm
Manifying blib/man3/DBD::Proxy.3pm
Manifying blib/man3/DBI::ProxyServer.3pm
Manifying blib/man3/DBI::Const::GetInfoType.3pm
Manifying blib/man3/DBI::ProfileDumper::Apache.3pm
Manifying blib/man3/DBD::Sponge.3pm
Manifying blib/man3/DBI::Const::GetInfo::ODBC.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basics...............ok
4/131 skipped: developer tests
t/02dbidrv...............ok
t/03handle...............ok
t/04mods.................ok
t/05thrclone.............skipped
all skipped: developer tests
t/06attrs................ok
t/07kids.................ok
t/08keeperr..............ok
t/09trace................ok
t/10examp................ok
t/11fetch................Can't load '/usr/local/lib/site_perl/i386-linux/auto/Storable/Storable.so' for module Storable: /usr/local/lib/site_perl/i386-linux/auto/Storable/Storable.so: undefined symbol: cast_iv at /usr/lib/perl/5.6.1/DynaLoader.pm line 202.
at t/11fetch.t line 8
Compilation failed in require at t/11fetch.t line 8.
BEGIN failed--compilation aborted at t/11fetch.t line 8.
t/11fetch................dubious
Test returned status 255 (wstat 65280, 0xff00)
t/14utf8.................skipped
all skipped: developer tests
t/15array................ok
t/20meta.................ok
t/30subclass.............ok
t/40profile..............ok
t/41prof_dump............ok
t/42prof_data............ok
t/43profenv..............ok
t/50dbm..................ok
t/60preparse.............ok
t/70callbacks............ok
t/72childhandles.........skipped
all skipped: developer tests
t/80proxy................skipped
all skipped: developer tests
t/pod....................skipped
all skipped: developer tests
t/zvpp_01basics..........ok
6/131 skipped: various reasons
t/zvpp_02dbidrv..........ok
10/51 skipped: various reasons
t/zvpp_03handle..........ok
76/135 skipped: various reasons
t/zvpp_04mods............ok
t/zvpp_05thrclone........skipped
all skipped: various reasons
t/zvpp_06attrs...........ok
7/137 skipped: various reasons
t/zvpp_07kids............skipped
all skipped: various reasons
t/zvpp_08keeperr.........ok
t/zvpp_09trace...........ok
t/zvpp_10examp...........ok
39/253 skipped: various reasons
t/zvpp_11fetch...........Can't load '/usr/local/lib/site_perl/i386-linux/auto/Storable/Storable.so' for module Storable: /usr/local/lib/site_perl/i386-linux/auto/Storable/Storable.so: undefined symbol: cast_iv at /usr/lib/perl/5.6.1/DynaLoader.pm line 202.
at t/11fetch.t line 8
Compilation failed in require at t/11fetch.t line 8.
BEGIN failed--compilation aborted at t/11fetch.t line 8.
...caught at t/zvpp_11fetch.t line 3.
Can't load '/usr/local/lib/site_perl/i386-linux/auto/Storable/Storable.so' for module Storable: /usr/local/lib/site_perl/i386-linux/auto/Storable/Storable.so: undefined symbol: cast_iv at /usr/lib/perl/5.6.1/DynaLoader.pm line 202.
at t/11fetch.t line 8
Compilation failed in require at t/11fetch.t line 8.
BEGIN failed--compilation aborted at t/11fetch.t line 8.
...caught ...propagated at t/zvpp_11fetch.t line 4.
t/zvpp_14utf8............skipped
all skipped: various reasons
t/zvpp_15array...........ok
t/zvpp_20meta............ok
t/zvpp_30subclass........ok
t/zvpp_40profile.........skipped
all skipped: various reasons
t/zvpp_41prof_dump.......skipped
all skipped: various reasons
t/zvpp_42prof_data.......skipped
all skipped: various reasons
t/zvpp_43profenv.........skipped
all skipped: various reasons
t/zvpp_50dbm.............ok
t/zvpp_60preparse........skipped
all skipped: various reasons
t/zvpp_70callbacks.......skipped
all skipped: various reasons
t/zvpp_72childhandles....skipped
all skipped: various reasons
t/zvpp_80proxy...........skipped
all skipped: various reasons
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/11fetch.t 255 65280 ?? ?? % ??
16 tests and 142 subtests skipped.
Failed 1/49 test scripts, 95.92% okay. 0/2156 subtests failed, 100.00% okay.
make: *** [test_dynamic] Error 11
..."
On Wed, Feb 01, 2006 at 09:15:16PM +0000, Julian Field wrote:
> Do
>
> perl -MCPAN -e shell
> install Storable
> quit
>
> Make sure it doesn't start upgrading your entire Perl installation,
> thump Ctrl-C like crazy if it does!
>
> Then try running the install.sh again.
>
> Gregg Berkholtz wrote:
> >It appears I cant install DBI as I'm getting the following error after
> >running
> >MailScanner's install.sh on a Debian 3.0 system. Any assistance is greatly
> >appreciated:
> >
More information about the MailScanner
mailing list