[29438] in Perl-Users-Digest
Perl-Users Digest, Issue: 682 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Jul 25 21:14:18 2007
Date: Wed, 25 Jul 2007 18:14:11 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Wed, 25 Jul 2007 Volume: 11 Number: 682
Today's topics:
Problem installing DBI <joliver@john-oliver.net>
Re: Problem installing DBI <tlviewer@yahoo.com>
XML Validation <shirazk@gmail.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 25 Jul 2007 23:31:25 GMT
From: John Oliver <joliver@john-oliver.net>
Subject: Problem installing DBI
Message-Id: <slrnfafnac.2f4.joliver@ns.sdsitehosting.net>
On a CentOS 5 system:
[root@rt-2 rt-3.6.4]# perl -MCPAN -e 'install DBI'
CPAN: File::HomeDir loaded ok (v0.65)
Sorry, we have to rerun the configuration dialog for CPAN.pm due to
the following indispensable but missing parameters:
auto_commit, mbuild_arg, mbuild_install_arg,
mbuild_install_build_command, mbuildpl_arg
Normally CPAN.pm keeps config variables in memory and changes need to
be saved in a separate 'o conf commit' command to make them permanent
between sessions. If you set the 'auto_commit' option to true, changes
to a config variable are always automatically committed to disk.
Always commit changes to config variables to disk? [no]
The next questions deal with Module::Build support.
A Build.PL is run by perl in a separate process. Likewise we run
'./Build' and './Build install' in separate processes. If you have any
parameters you want to pass to the calls, please specify them here.
Parameters for the 'perl Build.PL' command?
Typical frequently used settings:
--install_base /home/xxx # different installation
directory
Your choice: []
Parameters for the './Build' command?
Setting might be:
--extra_linker_flags -L/usr/foo/lib # non-standard library location
Your choice: []
Do you want to use a different command for './Build install'?
Sudo users will probably prefer:
su root -c ./Build
or
sudo ./Build
or
/path1/to/sudo -u admin_account ./Build
or some such. Your choice: [./Build]
Parameters for the './Build install' command?
Typical frequently used setting:
--uninst 1 # uninstall conflicting files
Your choice: []
Please remember to call 'o conf commit' to make the config permanent!
CPAN: Storable loaded ok (v2.15)
Going to read /root/.cpan/Metadata
Database was generated on Wed, 25 Jul 2007 21:51:40 GMT
Running install for module 'DBI'
Running make for T/TI/TIMB/DBI-1.58.tar.gz
CPAN: checksum security checks disabled because Digest::SHA not
installed.
Please consider installing the Digest::SHA module.
CPAN: Time::HiRes loaded ok (v1.86)
DBI-1.58/
DBI-1.58/Changes
DBI-1.58/dbd_xsh.h
DBI-1.58/DBI.pm
DBI-1.58/DBI.xs
DBI-1.58/dbi_sql.h
DBI-1.58/dbilogstrip.PL
DBI-1.58/dbipport.h
DBI-1.58/dbiprof.PL
DBI-1.58/dbiproxy.PL
DBI-1.58/dbivport.h
DBI-1.58/DBIXS.h
DBI-1.58/dbixs_rev.h
DBI-1.58/dbixs_rev.pl
DBI-1.58/Driver.xst
DBI-1.58/Driver_xst.h
DBI-1.58/ex/
DBI-1.58/ex/perl_dbi_nulls_test.pl
DBI-1.58/ex/profile.pl
DBI-1.58/goferperf.pl
DBI-1.58/lib/
DBI-1.58/lib/Bundle/
DBI-1.58/lib/Bundle/DBI.pm
DBI-1.58/lib/DBD/
DBI-1.58/lib/DBD/DBM.pm
DBI-1.58/lib/DBD/ExampleP.pm
DBI-1.58/lib/DBD/File.pm
DBI-1.58/lib/DBD/Gofer/
DBI-1.58/lib/DBD/Gofer/Policy/
DBI-1.58/lib/DBD/Gofer/Policy/Base.pm
DBI-1.58/lib/DBD/Gofer/Policy/classic.pm
DBI-1.58/lib/DBD/Gofer/Policy/pedantic.pm
DBI-1.58/lib/DBD/Gofer/Policy/rush.pm
DBI-1.58/lib/DBD/Gofer/Transport/
DBI-1.58/lib/DBD/Gofer/Transport/Base.pm
DBI-1.58/lib/DBD/Gofer/Transport/null.pm
DBI-1.58/lib/DBD/Gofer/Transport/pipeone.pm
DBI-1.58/lib/DBD/Gofer/Transport/stream.pm
DBI-1.58/lib/DBD/Gofer.pm
DBI-1.58/lib/DBD/NullP.pm
DBI-1.58/lib/DBD/Proxy.pm
DBI-1.58/lib/DBD/Sponge.pm
DBI-1.58/lib/DBI/
DBI-1.58/lib/DBI/Const/
DBI-1.58/lib/DBI/Const/GetInfo/
DBI-1.58/lib/DBI/Const/GetInfo/ANSI.pm
DBI-1.58/lib/DBI/Const/GetInfo/ODBC.pm
DBI-1.58/lib/DBI/Const/GetInfoReturn.pm
DBI-1.58/lib/DBI/Const/GetInfoType.pm
DBI-1.58/lib/DBI/DBD/
DBI-1.58/lib/DBI/DBD/Metadata.pm
DBI-1.58/lib/DBI/DBD.pm
DBI-1.58/lib/DBI/FAQ.pm
DBI-1.58/lib/DBI/Gofer/
DBI-1.58/lib/DBI/Gofer/Execute.pm
DBI-1.58/lib/DBI/Gofer/Request.pm
DBI-1.58/lib/DBI/Gofer/Response.pm
DBI-1.58/lib/DBI/Gofer/Transport/
DBI-1.58/lib/DBI/Gofer/Transport/Base.pm
DBI-1.58/lib/DBI/Gofer/Transport/pipeone.pm
DBI-1.58/lib/DBI/Gofer/Transport/stream.pm
DBI-1.58/lib/DBI/Profile.pm
DBI-1.58/lib/DBI/ProfileData.pm
DBI-1.58/lib/DBI/ProfileDumper/
DBI-1.58/lib/DBI/ProfileDumper/Apache.pm
DBI-1.58/lib/DBI/ProfileDumper.pm
DBI-1.58/lib/DBI/ProfileSubs.pm
DBI-1.58/lib/DBI/ProxyServer.pm
DBI-1.58/lib/DBI/PurePerl.pm
DBI-1.58/lib/DBI/SQL/
DBI-1.58/lib/DBI/SQL/Nano.pm
DBI-1.58/lib/DBI/Util/
DBI-1.58/lib/DBI/Util/_accessor.pm
DBI-1.58/lib/DBI/W32ODBC.pm
DBI-1.58/lib/Win32/
DBI-1.58/lib/Win32/DBIODBC.pm
DBI-1.58/Makefile.PL
DBI-1.58/MANIFEST
DBI-1.58/META.yml
DBI-1.58/Perl.xs
DBI-1.58/README
DBI-1.58/Roadmap.pod
DBI-1.58/t/
DBI-1.58/t/01basics.t
DBI-1.58/t/02dbidrv.t
DBI-1.58/t/03handle.t
DBI-1.58/t/04mods.t
DBI-1.58/t/05thrclone.t
DBI-1.58/t/06attrs.t
DBI-1.58/t/07kids.t
DBI-1.58/t/08keeperr.t
DBI-1.58/t/09trace.t
DBI-1.58/t/10examp.t
DBI-1.58/t/11fetch.t
DBI-1.58/t/12quote.t
DBI-1.58/t/13taint.t
DBI-1.58/t/14utf8.t
DBI-1.58/t/15array.t
DBI-1.58/t/19fhtrace.t
DBI-1.58/t/20meta.t
DBI-1.58/t/30subclass.t
DBI-1.58/t/40profile.t
DBI-1.58/t/41prof_dump.t
DBI-1.58/t/42prof_data.t
DBI-1.58/t/43prof_env.t
DBI-1.58/t/50dbm.t
DBI-1.58/t/60preparse.t
DBI-1.58/t/65transact.t
DBI-1.58/t/70callbacks.t
DBI-1.58/t/72childhandles.t
DBI-1.58/t/80proxy.t
DBI-1.58/t/85gofer.t
DBI-1.58/t/86gofer_fail.t
DBI-1.58/t/pod.t
DBI-1.58/TASKS.pod
DBI-1.58/test.pl
DBI-1.58/TODO_2005.txt
DBI-1.58/typemap
CPAN: File::Temp loaded ok (v0.18)
CPAN.pm: Going to build T/TI/TIMB/DBI-1.58.tar.gz
*** Your LANG environment variable is set to 'en_US.UTF-8'
*** This is known to cause problems for some perl installations.
*** If you get test failures, please try again with LANG unset.
*** Please also email dbi-dev@perl.org and include the output of 'perl
-V'
*** 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://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
Your perl was compiled with gcc (version 4.1.1 20061011 (Red Hat
4.1.1-30)), okay.
Creating test wrappers for DBI::PurePerl:
t/zvp_01basics.t
t/zvp_02dbidrv.t
t/zvp_03handle.t
t/zvp_04mods.t
t/zvp_05thrclone.t (use threads)
t/zvp_06attrs.t
t/zvp_07kids.t
t/zvp_08keeperr.t
t/zvp_09trace.t
t/zvp_10examp.t
t/zvp_11fetch.t
t/zvp_12quote.t
t/zvp_13taint.t
t/zvp_14utf8.t
t/zvp_15array.t
t/zvp_19fhtrace.t
t/zvp_20meta.t
t/zvp_30subclass.t
t/zvp_40profile.t
t/zvp_41prof_dump.t
t/zvp_42prof_data.t
t/zvp_43prof_env.t
t/zvp_50dbm.t
t/zvp_60preparse.t
t/zvp_65transact.t
t/zvp_70callbacks.t
t/zvp_72childhandles.t
t/zvp_80proxy.t
t/zvp_85gofer.t
t/zvp_86gofer_fail.t
Creating test wrappers for DBD::Gofer:
t/zvg_01basics.t
t/zvg_02dbidrv.t
t/zvg_03handle.t
t/zvg_04mods.t
t/zvg_05thrclone.t (use threads)
t/zvg_06attrs.t
t/zvg_07kids.t
t/zvg_08keeperr.t
t/zvg_09trace.t
t/zvg_10examp.t
t/zvg_11fetch.t
t/zvg_12quote.t
t/zvg_13taint.t
t/zvg_14utf8.t
t/zvg_15array.t
t/zvg_19fhtrace.t
t/zvg_20meta.t
t/zvg_30subclass.t
t/zvg_40profile.t
t/zvg_41prof_dump.t
t/zvg_42prof_data.t
t/zvg_43prof_env.t
t/zvg_50dbm.t
t/zvg_60preparse.t
t/zvg_65transact.t
t/zvg_70callbacks.t
t/zvg_72childhandles.t
t/zvg_80proxy.t
t/zvg_85gofer.t
t/zvg_86gofer_fail.t
Creating test wrappers for PurePerl & Gofer:
t/zvxgp_01basics.t
t/zvxgp_02dbidrv.t
t/zvxgp_03handle.t
t/zvxgp_04mods.t
t/zvxgp_05thrclone.t (use threads)
t/zvxgp_06attrs.t
t/zvxgp_07kids.t
t/zvxgp_08keeperr.t
t/zvxgp_09trace.t
t/zvxgp_10examp.t
t/zvxgp_11fetch.t
t/zvxgp_12quote.t
t/zvxgp_13taint.t
t/zvxgp_14utf8.t
t/zvxgp_15array.t
t/zvxgp_19fhtrace.t
t/zvxgp_20meta.t
t/zvxgp_30subclass.t
t/zvxgp_40profile.t
t/zvxgp_41prof_dump.t
t/zvxgp_42prof_data.t
t/zvxgp_43prof_env.t
t/zvxgp_50dbm.t
t/zvxgp_60preparse.t
t/zvxgp_65transact.t
t/zvxgp_70callbacks.t
t/zvxgp_72childhandles.t
t/zvxgp_80proxy.t
t/zvxgp_85gofer.t
t/zvxgp_86gofer_fail.t
Checking if your kit is complete...
Looks good
I see you're using perl 5.008008 on x86_64-linux-thread-multi, 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
CPAN: YAML loaded ok (v0.65)
/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/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/Gofer/Response.pm blib/lib/DBI/Gofer/Response.pm
cp lib/DBI/Util/_accessor.pm blib/lib/DBI/Util/_accessor.pm
cp lib/DBI/Gofer/Transport/Base.pm blib/lib/DBI/Gofer/Transport/Base.pm
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp dbixs_rev.pl blib/lib/dbixs_rev.pl
cp Roadmap.pod blib/lib/Roadmap.pod
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp lib/DBD/Gofer/Transport/pipeone.pm
blib/lib/DBD/Gofer/Transport/pipeone.pm
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBD/File.pm blib/lib/DBD/File.pm
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp lib/DBI/ProfileSubs.pm blib/lib/DBI/ProfileSubs.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/Gofer.pm blib/lib/DBD/Gofer.pm
cp dbivport.h blib/arch/auto/DBI/dbivport.h
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp dbixs_rev.h blib/arch/auto/DBI/dbixs_rev.h
cp lib/DBD/Gofer/Transport/Base.pm blib/lib/DBD/Gofer/Transport/Base.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBD/Gofer/Policy/rush.pm blib/lib/DBD/Gofer/Policy/rush.pm
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBI/Gofer/Request.pm blib/lib/DBI/Gofer/Request.pm
cp lib/DBD/Gofer/Transport/stream.pm
blib/lib/DBD/Gofer/Transport/stream.pm
cp lib/DBD/Gofer/Policy/classic.pm blib/lib/DBD/Gofer/Policy/classic.pm
cp goferperf.pl blib/lib/goferperf.pl
cp lib/DBD/Gofer/Policy/Base.pm blib/lib/DBD/Gofer/Policy/Base.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBI/Gofer/Transport/stream.pm
blib/lib/DBI/Gofer/Transport/stream.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBD/Gofer/Policy/pedantic.pm
blib/lib/DBD/Gofer/Policy/pedantic.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/Gofer/Transport/pipeone.pm
blib/lib/DBI/Gofer/Transport/pipeone.pm
cp lib/DBD/Gofer/Transport/null.pm blib/lib/DBD/Gofer/Transport/null.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp TASKS.pod blib/lib/TASKS.pod
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/Gofer/Execute.pm blib/lib/DBI/Gofer/Execute.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Perl.xs >
Perl.xsc && mv Perl.xsc Perl.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.58\"
-DXS_VERSION=\"1.58\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -W -Wall
-Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare
-Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap DBI.xs > DBI.xsc
&& mv DBI.xsc DBI.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.58\"
-DXS_VERSION=\"1.58\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -W -Wall
-Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare
-Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter DBI.c
DBI.xs: In function ‘set_err_sv’:
DBI.xs:471: warning: value computed is not used
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
rm -f blib/arch/auto/DBI/DBI.so
gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic 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" 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
/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" dbilogstrip.PL dbilogstrip
Extracted dbilogstrip from dbilogstrip.PL with variable substitutions.
cp dbilogstrip blib/script/dbilogstrip
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/dbilogstrip
Manifying blib/man1/dbiprof.1
Manifying blib/man1/dbiproxy.1
Manifying blib/man1/dbilogstrip.1
Manifying blib/man3/DBI::Gofer::Response.3pm
Manifying blib/man3/DBD::Proxy.3pm
Manifying blib/man3/DBI::Gofer::Transport::Base.3pm
Manifying blib/man3/DBD::DBM.3pm
Manifying blib/man3/DBI::Const::GetInfoType.3pm
Manifying blib/man3/Roadmap.3pm
Manifying blib/man3/DBI::DBD::Metadata.3pm
Manifying blib/man3/DBI::Const::GetInfo::ODBC.3pm
Manifying blib/man3/DBD::Gofer::Transport::pipeone.3pm
Manifying blib/man3/DBI::ProfileDumper::Apache.3pm
Manifying blib/man3/DBD::File.3pm
Manifying blib/man3/DBI::ProfileSubs.3pm
Manifying blib/man3/DBD::Gofer.3pm
Manifying blib/man3/DBD::Gofer::Transport::Base.3pm
Manifying blib/man3/DBI::FAQ.3pm
Manifying blib/man3/DBD::Gofer::Policy::rush.3pm
Manifying blib/man3/DBI::SQL::Nano.3pm
Manifying blib/man3/DBI::Const::GetInfo::ANSI.3pm
Manifying blib/man3/DBI::Gofer::Request.3pm
Manifying blib/man3/DBD::Gofer::Transport::stream.3pm
Manifying blib/man3/DBD::Gofer::Policy::classic.3pm
Manifying blib/man3/DBI::Const::GetInfoReturn.3pm
Manifying blib/man3/DBI::Gofer::Transport::stream.3pm
Manifying blib/man3/DBI.3pm
Manifying blib/man3/DBD::Gofer::Policy::Base.3pm
Manifying blib/man3/DBD::Sponge.3pm
Manifying blib/man3/DBD::Gofer::Policy::pedantic.3pm
Manifying blib/man3/DBI::Gofer::Transport::pipeone.3pm
Manifying blib/man3/DBI::W32ODBC.3pm
Manifying blib/man3/DBD::Gofer::Transport::null.3pm
Manifying blib/man3/Bundle::DBI.3pm
Manifying blib/man3/TASKS.3pm
Manifying blib/man3/DBI::Profile.3pm
Manifying blib/man3/DBI::ProfileDumper.3pm
Manifying blib/man3/DBI::ProxyServer.3pm
Manifying blib/man3/DBI::Gofer::Execute.3pm
Manifying blib/man3/DBI::DBD.3pm
Manifying blib/man3/Win32::DBIODBC.3pm
Manifying blib/man3/DBI::PurePerl.3pm
Manifying blib/man3/DBI::ProfileData.3pm
TIMB/DBI-1.58.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basics................ok
4/130 skipped: various reasons
t/02dbidrv................ok
t/03handle................ok
t/04mods..................ok
t/05thrclone..............ok
t/06attrs.................ok
t/07kids..................ok
t/08keeperr...............ok
t/09trace.................ok
t/10examp.................ok
t/11fetch.................ok
t/12quote.................ok
t/13taint.................ok
t/14utf8..................ok
t/15array.................ok
t/19fhtrace...............ok
t/20meta..................ok
t/30subclass..............ok
t/40profile...............ok
t/41prof_dump.............ok
1/16 skipped: various reasons
t/42prof_data.............ok
t/43prof_env..............ok
t/50dbm...................ok
t/60preparse..............ok
t/65transact..............ok
t/70callbacks.............ok
t/72childhandles..........skipped
all skipped: Scalar::Util::weaken not available (Undefined
subroutine &Scalar::Util::weaken called at t/72childhandles.t line 17.)
t/80proxy.................skipped
all skipped: modules required for proxy are probably not
installed (e.g., RPC/PlClient.pm)
t/85gofer.................ok
18/234 skipped: various reasons
t/86gofer_fail............ok
t/pod.....................skipped
all skipped: Test::Pod 1.00 required for testing POD
t/zvg_01basics............ok
4/130 skipped: various reasons
t/zvg_02dbidrv............ok
t/zvg_03handle............ok
44/137 skipped: various reasons
t/zvg_04mods..............ok
t/zvg_05thrclone..........ok
t/zvg_06attrs.............ok
2/145 skipped: various reasons
t/zvg_07kids..............ok
t/zvg_08keeperr...........ok
t/zvg_09trace.............ok
t/zvg_10examp.............ok
t/zvg_11fetch.............ok
t/zvg_12quote.............ok
1/10 skipped: various reasons
t/zvg_13taint.............skipped
all skipped: Taint attribute tests not functional with
DBI_AUTOPROXY
t/zvg_14utf8..............ok
t/zvg_15array.............ok
t/zvg_19fhtrace...........ok
t/zvg_20meta..............ok
t/zvg_30subclass..........ok
t/zvg_40profile...........ok
t/zvg_41prof_dump.........ok
1/16 skipped: various reasons
t/zvg_42prof_data.........ok
t/zvg_43prof_env..........ok
t/zvg_50dbm...............ok
2/12 skipped: various reasons
t/zvg_60preparse..........ok
t/zvg_65transact..........skipped
all skipped: Transactions not supported by DBD::Gofer
t/zvg_70callbacks.........ok
t/zvg_72childhandles......skipped
all skipped: Scalar::Util::weaken not available (Undefined
subroutine &Scalar::Util::weaken called at ./t/72childhandles.t line
17.)
t/zvg_80proxy.............skipped
all skipped: modules required for proxy are probably not
installed (e.g., RPC/PlClient.pm)
t/zvg_85gofer.............ok
45/234 skipped: various reasons
t/zvg_86gofer_fail........skipped
all skipped: Gofer DBI_AUTOPROXY
t/zvp_01basics............ok
6/130 skipped: various reasons
t/zvp_02dbidrv............ok
10/51 skipped: various reasons
t/zvp_03handle............NOK 100/137
# Failed test 'should have 3 entries (implementation detail)'
# at ./t/03handle.t line 296.
# got: '0'
# expected: '3'
t/zvp_03handle............NOK 101/137
# Failed test 'should have 2 defined handles'
# at ./t/03handle.t line 297.
# got: '0'
# expected: '2'
t/zvp_03handle............NOK 105/137
# Failed test 'sth should be reblessed'
# at ./t/03handle.t line 309.
# got: 'DBI::st'
# expected: 'DBI::zombie'
t/zvp_03handle............NOK 106/137
# Failed test at ./t/03handle.t line 311.
# ''
# doesn't match '(?-xism:Can't locate object method)'
# Looks like you failed 4 tests of 137.
t/zvp_03handle............dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 100-101, 105-106
Failed 4/137 tests, 97.08% okay (less 57 skipped tests: 76 okay,
55.47%)
t/zvp_04mods..............ok
t/zvp_05thrclone..........ok
t/zvp_06attrs.............ok
7/145 skipped: various reasons
t/zvp_07kids..............skipped
all skipped: $h->{Kids} attribute not supported for
DBI::PurePerl
t/zvp_08keeperr...........ok
t/zvp_09trace.............ok
t/zvp_10examp.............ok
3/205 skipped: various reasons
t/zvp_11fetch.............ok
t/zvp_12quote.............ok
t/zvp_13taint.............skipped
all skipped: Taint attributes not supported with DBI::PurePerl
t/zvp_14utf8..............ok
t/zvp_15array.............ok
t/zvp_19fhtrace...........ok
t/zvp_20meta..............ok
t/zvp_30subclass..........ok
t/zvp_40profile...........skipped
all skipped: profiling not supported for DBI::PurePerl
t/zvp_41prof_dump.........skipped
all skipped: profiling not supported for DBI::PurePerl
t/zvp_42prof_data.........skipped
all skipped: profiling not supported for DBI::PurePerl
t/zvp_43prof_env..........skipped
all skipped: profiling not supported for DBI::PurePerl
t/zvp_50dbm...............ok
t/zvp_60preparse..........skipped
all skipped: preparse not supported for DBI::PurePerl
t/zvp_65transact..........ok
t/zvp_70callbacks.........skipped
all skipped: $h->{Callbacks} attribute not supported for
DBI::PurePerl
t/zvp_72childhandles......skipped
all skipped: Scalar::Util::weaken not available (Undefined
subroutine &Scalar::Util::weaken called at ./t/72childhandles.t line
17.)
t/zvp_80proxy.............skipped
all skipped: modules required for proxy are probably not
installed (e.g., RPC/PlClient.pm)
t/zvp_85gofer.............ok
18/234 skipped: various reasons
t/zvp_86gofer_fail........skipped
all skipped: requires Callbacks which are not supported with
PurePerl
t/zvxgp_01basics..........ok
6/130 skipped: various reasons
t/zvxgp_02dbidrv..........ok
10/51 skipped: various reasons
t/zvxgp_03handle..........ok
76/137 skipped: various reasons
t/zvxgp_04mods............ok
t/zvxgp_05thrclone........ok
t/zvxgp_06attrs...........ok
9/145 skipped: various reasons
t/zvxgp_07kids............skipped
all skipped: $h->{Kids} attribute not supported for
DBI::PurePerl
t/zvxgp_08keeperr.........ok
t/zvxgp_09trace...........ok
t/zvxgp_10examp...........ok
3/205 skipped: various reasons
t/zvxgp_11fetch...........ok
t/zvxgp_12quote...........ok
1/10 skipped: various reasons
t/zvxgp_13taint...........skipped
all skipped: Taint attributes not supported with DBI::PurePerl
t/zvxgp_14utf8............ok
t/zvxgp_15array...........ok
t/zvxgp_19fhtrace.........ok
t/zvxgp_20meta............ok
t/zvxgp_30subclass........ok
t/zvxgp_40profile.........skipped
all skipped: profiling not supported for DBI::PurePerl
t/zvxgp_41prof_dump.......skipped
all skipped: profiling not supported for DBI::PurePerl
t/zvxgp_42prof_data.......skipped
all skipped: profiling not supported for DBI::PurePerl
t/zvxgp_43prof_env........skipped
all skipped: profiling not supported for DBI::PurePerl
t/zvxgp_50dbm.............ok
2/12 skipped: various reasons
t/zvxgp_60preparse........skipped
all skipped: preparse not supported for DBI::PurePerl
t/zvxgp_65transact........skipped
all skipped: Transactions not supported by DBD::Gofer
t/zvxgp_70callbacks.......skipped
all skipped: $h->{Callbacks} attribute not supported for
DBI::PurePerl
t/zvxgp_72childhandles....skipped
all skipped: Scalar::Util::weaken not available (Undefined
subroutine &Scalar::Util::weaken called at ./t/72childhandles.t line
17.)
t/zvxgp_80proxy...........skipped
all skipped: modules required for proxy are probably not
installed (e.g., RPC/PlClient.pm)
t/zvxgp_85gofer...........ok
45/234 skipped: various reasons
t/zvxgp_86gofer_fail......skipped
all skipped: requires Callbacks which are not supported with
PurePerl
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/zvp_03handle.t 4 1024 137 4 100-101 105-106
31 tests and 375 subtests skipped.
Failed 1/121 test scripts. 4/5637 subtests failed.
Files=121, Tests=5637, 48 wallclock secs (35.68 cusr + 10.93 csys =
46.61 CPU)
Failed 1/121 test programs. 4/5637 subtests failed.
make: *** [test_dynamic] Error 255
TIMB/DBI-1.58.tar.gz
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
--
* John Oliver http://www.john-oliver.net/ *
------------------------------
Date: Wed, 25 Jul 2007 17:38:25 -0700
From: Mark Pryor <tlviewer@yahoo.com>
Subject: Re: Problem installing DBI
Message-Id: <pan.2007.07.26.00.38.24.244781@yahoo.com>
On Wed, 25 Jul 2007 23:31:25 +0000, John Oliver wrote:
> On a CentOS 5 system:
>
> [root@rt-2 rt-3.6.4]# perl -MCPAN -e 'install DBI'
> CPAN: File::HomeDir loaded ok (v0.65)
> Sorry, we have to rerun the configuration dialog for CPAN.pm due to
> the following indispensable but missing parameters:
Stop there. Why install DBI when this package is already a Core RPM,
called perl-DBI? Granted its not the latest, 1.52, but you don't need to
install from scratch.
#rpm -qa | grep DBI
The CentOS 5 has a very complete Perl environment, especially if you have
all the LAMP packages. To verify this do
#yum groupinfo "MySQL Database"
#yum groupinfo "Web Server"
Using Perl in CentOS is alot more fun and painless if you treat RPM and
YUM as your friends.
--
Mark
------------------------------
Date: Wed, 25 Jul 2007 14:56:36 -0700
From: Shiraz <shirazk@gmail.com>
Subject: XML Validation
Message-Id: <1185400596.357712.287670@q75g2000hsh.googlegroups.com>
I am trying to use the XML simple to parse out some xml data. If I use
the code below with invalid xml, i just get a warning 'not well-formed
(invalid token) at line 1, column 16, byte 16 at /usr/local/lib/perl5/
site_perl/5.8.7/i686-linux/XML/Parser.pm line 187'
A test like 'unless (my $data = $xml->XMLin($msg) ) ' doesnt work
either.
Anyone know how to test for valid XML using just XML::Simple or would
i have to get a XML checking library
Thanks,
code:
#!/usr/bin/perl
use strict;
use XML::Simple;
$|=1;
my $xml = new XML::Simple;
my $msg = '<xml><select app>orig_gw</select></xml>'; #this is bad xml
my $data = $xml->XMLin($msg)
result:
not well-formed (invalid token) at line 1, column 16, byte 16 at /usr/
local/lib/perl5/site_perl/5.8.7/i686-linux/XML/Parser.pm line 187
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V11 Issue 682
**************************************