DBI 1.54 Makefile.PL error

DBI 1.54 Makefile.PL error

am 27.03.2007 13:03:08 von Eric_D._Cardoza

------_=_NextPart_001_01C7705F.8087FA80
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello.
=20
I get the following error in the Makefile.PL run for the DBI versions
above 1.50.
=20
Warning: prerequisite File::Spec 1 not found. We have 0.86.

=20

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?
=20
Thank you.
=20
=20

> 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

>

=20

> sudo perl Makefile.PL

=20

*** You are using a perl configured with threading enabled.

*** You should be aware that using multiple threads is

*** not recommended for production environments.

=20

*** 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.

=20

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

=20

Creating test wrappers for DBI::PurePerl:

t/zvp_01basics.t=20

t/zvp_02dbidrv.t=20

t/zvp_03handle.t=20

t/zvp_04mods.t=20

t/zvp_05thrclone.t (use threads)

t/zvp_06attrs.t=20

t/zvp_07kids.t=20

t/zvp_08keeperr.t=20

t/zvp_09trace.t=20

t/zvp_10examp.t=20

t/zvp_11fetch.t=20

t/zvp_12quote.t=20

t/zvp_13taint.t=20

t/zvp_14utf8.t=20

t/zvp_15array.t=20

t/zvp_19fhtrace.t=20

t/zvp_20meta.t=20

t/zvp_30subclass.t=20

t/zvp_40profile.t=20

t/zvp_41prof_dump.t=20

t/zvp_42prof_data.t=20

t/zvp_43prof_env.t=20

t/zvp_50dbm.t=20

t/zvp_60preparse.t=20

t/zvp_65transact.t=20

t/zvp_70callbacks.t=20

t/zvp_72childhandles.t=20

t/zvp_80proxy.t=20

t/zvp_85gofer.t=20

Creating test wrappers for DBD::Gofer:

t/zvg_01basics.t=20

t/zvg_02dbidrv.t=20

t/zvg_03handle.t=20

t/zvg_04mods.t=20

t/zvg_05thrclone.t (use threads)

t/zvg_06attrs.t=20

t/zvg_07kids.t=20

t/zvg_08keeperr.t=20

t/zvg_09trace.t=20

t/zvg_10examp.t=20

t/zvg_11fetch.t=20

t/zvg_12quote.t=20

t/zvg_13taint.t=20

t/zvg_14utf8.t=20

t/zvg_15array.t=20

t/zvg_19fhtrace.t=20

t/zvg_20meta.t=20

t/zvg_30subclass.t=20

t/zvg_40profile.t=20

t/zvg_41prof_dump.t=20

t/zvg_42prof_data.t=20

t/zvg_43prof_env.t=20

t/zvg_50dbm.t=20

t/zvg_60preparse.t=20

t/zvg_65transact.t=20

t/zvg_70callbacks.t=20

t/zvg_72childhandles.t=20

t/zvg_80proxy.t=20

t/zvg_85gofer.t=20

Creating test wrappers for PurePerl & Gofer:

t/zvxgp_01basics.t=20

t/zvxgp_02dbidrv.t=20

t/zvxgp_03handle.t=20

t/zvxgp_04mods.t=20

t/zvxgp_05thrclone.t (use threads)

t/zvxgp_06attrs.t=20

t/zvxgp_07kids.t=20

t/zvxgp_08keeperr.t=20

t/zvxgp_09trace.t=20

t/zvxgp_10examp.t=20

t/zvxgp_11fetch.t=20

t/zvxgp_12quote.t=20

t/zvxgp_13taint.t=20

t/zvxgp_14utf8.t=20

t/zvxgp_15array.t=20

t/zvxgp_19fhtrace.t=20

t/zvxgp_20meta.t=20

t/zvxgp_30subclass.t=20

t/zvxgp_40profile.t=20

t/zvxgp_41prof_dump.t=20

t/zvxgp_42prof_data.t=20

t/zvxgp_43prof_env.t=20

t/zvxgp_50dbm.t=20

t/zvxgp_60preparse.t=20

t/zvxgp_65transact.t=20

t/zvxgp_70callbacks.t=20

t/zvxgp_72childhandles.t=20

t/zvxgp_80proxy.t=20

t/zvxgp_85gofer.t=20

Checking if your kit is complete...

Looks good

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

=20

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.

=20

Writing Makefile for DBI

>

=20
Eric Cardoza

------_=_NextPart_001_01C7705F.8087FA80--

Re: DBI 1.54 Makefile.PL error

am 27.03.2007 16:09:39 von jonathan.leffler

------=_Part_11814_22264176.1175004579448
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 3/27/07, Cardoza, Eric D. wrote:

> 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.
>

Well, this is not an error - it says "Warning". However, just like there is
a module DBI at version 1.54, there is also a module file::Spec that needs
to be at version 1.00 or greater, and your version of it is 0.86.

So - go get it from CPAN and install it. (And I suggest you get a newer
Perl while you're at it, but that is not mandatory.)

--
Jonathan Leffler #include
Guardian of DBD::Informix - v2007.0226 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."

------=_Part_11814_22264176.1175004579448--

Re: DBI 1.54 Makefile.PL error

am 28.03.2007 11:06:39 von Tim.Bunce

On Tue, Mar 27, 2007 at 07:09:39AM -0700, Jonathan Leffler wrote:
> On 3/27/07, Cardoza, Eric D. wrote:
>
> >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.
>
> Well, this is not an error - it says "Warning". However, just like there is
> a module DBI at version 1.54, there is also a module file::Spec that needs
> to be at version 1.00 or greater, and your version of it is 0.86.
>
> So - go get it from CPAN and install it. (And I suggest you get a newer
> Perl while you're at it, but that is not mandatory.)

Actually I don't think the DBI needs to require version 1 of File::Spec.
I've changed the next release to not require a minimum version of File::Spec.

Eric, if you've not upgraded File::Spec yet then I'd appreciate it if
you'd try using the 0.86 version you already have.

Just delete the
"File::Spec" => 1
line in Makefile.PL

Thanks.

Tim.

RE: DBI 1.54 Makefile.PL error

am 28.03.2007 12:50:23 von Eric_D._Cardoza

=20
Thank you Tim.

Eric Cardoza


-----Original Message-----
From: Tim Bunce [mailto:Tim.Bunce@pobox.com]=20
Sent: Wednesday, March 28, 2007 5:07 AM
To: Jonathan Leffler
Cc: Cardoza, Eric D.; dbi-users@perl.org
Subject: Re: DBI 1.54 Makefile.PL error

On Tue, Mar 27, 2007 at 07:09:39AM -0700, Jonathan Leffler wrote:
> On 3/27/07, Cardoza, Eric D. wrote:
>=20
> >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.
>=20
> Well, this is not an error - it says "Warning". However, just like=20
> there is a module DBI at version 1.54, there is also a module=20
> file::Spec that needs to be at version 1.00 or greater, and your
version of it is 0.86.
>=20
> So - go get it from CPAN and install it. (And I suggest you get a=20
> newer Perl while you're at it, but that is not mandatory.)

Actually I don't think the DBI needs to require version 1 of File::Spec.
I've changed the next release to not require a minimum version of
File::Spec.

Eric, if you've not upgraded File::Spec yet then I'd appreciate it if
you'd try using the 0.86 version you already have.

Just delete the
"File::Spec" =3D> 1
line in Makefile.PL

Thanks.

Tim.

Re: DBI 1.54 Makefile.PL error

am 29.03.2007 08:39:50 von pgollucci

> Just delete the
> "File::Spec" => 1
> line in Makefile.PL
Tim, the versions of File::Spec that ship with perl 5.6.2 through 5.8.5
are < 1.0.

5.8.6 is at least 1.0 as the warning doesn't show up.

All versions passed the test suite.

(Thats FreeBSD)



--
------------------------------------------------------------ ------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.