DBI 1.54 Makefile.PL error



Hello.

I get the following error in the Makefile.PL run for the DBI versions
above 1.50.

Warning: prerequisite File::Spec 1 not found. We have 0.86.



The full Makefile.PL list is below. I have Perl 5.8.2 and IBM xlC
compiler. Can someone tell me what file is missing?

Thank you.



sudo make realclean

rm -f blib/script/dbiprof blib/script/dbiproxy

rm -rf Perl.c DBI.c DBI-1.54 Perl.xsi t/zv*_*.t dbiproxy dbiprof
dbitrace.log dbi.prof ndtest.prt ./blib Makefile.aperl
blib/arch/auto/DBI/extralibs.all blib/arch/auto/DBI/extralibs.ld
perlmain.c tmon.out mon.out so_locations pm_to_blib *.o *.a perl.exe
perl perl DBI.bs DBI.bso DBI.def libDBI.def DBI.exp DBI.x core
core.*perl.*.? *perl.core core.[0-9] core.[0-9][0-9]
core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9]
core.[0-9][0-9][0-9][0-9][0-9]

mv Makefile Makefile.old > /dev/null 2>&1

rm -rf blib/lib/auto/DBI blib/arch/auto/DBI

rm -rf DBI-1.54

rm -f blib/arch/auto/DBI/DBI.so blib/arch/auto/DBI/DBI.bs

rm -f blib/arch/auto/DBI/DBI.a

rm -f blib/lib/DBI.pm blib/lib/DBD/NullP.pm blib/lib/DBD/DBM.pm
blib/lib/DBD/Gofer/Transport/http.pm blib/lib/DBI/DBD.pm
blib/lib/Win32/DBIODBC.pm blib/arch/auto/DBI/DBIXS.h

rm -f blib/lib/DBI/Const/GetInfoReturn.pm
blib/lib/DBI/Gofer/Request.pm blib/lib/DBI/ProxyServer.pm
blib/lib/DBI/Gofer/Transport/pipeone.pm blib/lib/DBD/Sponge.pm
blib/lib/DBI/Gofer/Transport/stream.pm

rm -f blib/arch/auto/DBI/dbipport.h
blib/lib/DBD/Gofer/Transport/stream.pm blib/lib/DBI/FAQ.pm Makefile
blib/lib/DBI/Util/_accessor.pm blib/lib/DBD/Gofer/Policy/pedantic.pm

rm -f blib/lib/DBI/W32ODBC.pm blib/lib/DBD/ExampleP.pm
blib/lib/DBD/Gofer/Transport/pipeone.pm blib/arch/auto/DBI/Driver.xst
blib/lib/DBD/Gofer/Policy/rush.pm blib/lib/DBI/Gofer/Response.pm

rm -f blib/lib/DBI/ProfileDumper.pm blib/lib/TASKS.pod
blib/lib/DBD/Gofer/Transport/Base.pm blib/lib/DBI/SQL/Nano.pm
blib/lib/DBI/Gofer/Execute.pm blib/arch/auto/DBI/dbivport.h

rm -f blib/lib/DBI/Const/GetInfoType.pm blib/lib/DBD/Proxy.pm
blib/lib/DBD/Gofer/Policy/classic.pm blib/lib/DBI/DBD/Metadata.pm
Makefile.old blib/lib/DBI/Profile.pm

rm -f blib/arch/auto/DBI/dbd_xsh.h
blib/lib/DBI/ProfileDumper/Apache.pm blib/arch/auto/DBI/Driver_xst.h
blib/arch/auto/DBI/dbi_sql.h blib/lib/DBI/Const/GetInfo/ODBC.pm

rm -f blib/lib/DBI/ProfileData.pm blib/lib/DBI/ProfileSubs.pm
blib/lib/Bundle/DBI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
blib/lib/DBI/PurePerl.pm blib/lib/DBD/File.pm blib/lib/DBD/Gofer.pm

rm -f blib/lib/DBI/Gofer/Transport/mod_perl.pm
blib/lib/DBD/Gofer/Policy/Base.pm blib/lib/Roadmap.pod
blib/lib/DBI/Gofer/Transport/Base.pm
blib/lib/DBD/Gofer/Transport/null.pm





sudo 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://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 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

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

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

Checking if your kit is complete...

Looks good

Warning: prerequisite File::Spec 1 not found. We have 0.86.



I see you're using perl 5.008002 on aix-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




Eric Cardoza


Relevant Pages

  • Problem of DBI build
    ... I installed Oracle Application Server 4.0.8.2 included perl module. ... I need to installe DBI and DBD::Oracle module. ... You can install them any time after installing the DBI. ... line 318: error 1705: Function prototypes are an ANSI feature. ...
    (perl.dbi.users)
  • Problem of DBI build
    ... I installed Oracle Application Server 4.0.8.2 included perl module. ... I need to installe DBI and DBD::Oracle module. ... You can install them any time after installing the DBI. ... line 318: error 1705: Function prototypes are an ANSI feature. ...
    (perl.dbi.users)
  • Installing DBI and DBD::TSM
    ... I am having trouble installing DBI. ... This is perl, v5.8.0 built for aix-thread-multi ... blib/lib/DB ... You can install them any time after installing the DBI. ...
    (perl.dbi.users)
  • Problem of installing DBI packages
    ... my curent configuration of HP Unix system is as below: ... When i do>>perl makefile.PL, ... You can install them any time after installing the DBI. ...
    (perl.dbi.users)
  • Re: DBI Installation Problems
    ... In case if anyone else has this ELFCLASS problem in the future when building DBI & DBD::Oracle on Solaris 10 using a 32-bit Perl installation, here is what worked for me. ... Next you can install DBI as it is normally setup... ... wrong ELF class: ELFCLASS64 at ...
    (perl.dbi.users)