DBI Build error in36 line

DBI Build error in36 line

am 09.02.2006 16:47:33 von sridhar.madadi

--Boundary_(ID_3GdABUgU5YIyliyz5NVlmg)
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT

Hi All,

When I am trying to build DBI module, I am getting the below error. I am
running per 5.8.0 version

/tmp/CPAN_perlmodules/DBI-1.50 :# pkginfo -l VRTSperl
PKGINST: VRTSperl
NAME: *Perl 5.8.0 for VERITAS*
CATEGORY: optional
ARCH: sparc
VERSION: 4.0.2
BASEDIR: /
VENDOR: VERITAS Software Corp.
DESC: Perl 5.8.0 for VERITAS
PSTAMP: 4.0.2 11062003
INSTDATE: Apr 01 2005 10:05
STATUS: completely installed
FILES: 1533 installed pathnames
1 shared pathnames
189 directories
3 executables
64263 blocks used (approx)



/tmp/CPAN_perlmodules/DBI-1.50 :# *perl Makefile.PL*
Can't locate Test/More.pm in @INC (@INC contains: lib
/usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1
/usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int
/usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at Makefile.PL
line 36.
BEGIN failed--compilation aborted at *Makefile.PL line 36*.


Thanks for in advance.

Cheers,
Sridhar


************************************************************ *********
Britannia was recently voted "Best Direct Mortgage Lender 2004-05" by Your Mortgage Magazine and "Best Online Secured Loan Provider 2004" by Your Money Magazine.

This Email and any attachments contains confidential information and is intended solely for the individual to whom it is addressed. If this Email has been misdirected, please notify the author as soon as possible. If you are not the intended recipient you must not disclose, distribute, copy, print or rely on any of the information contained, and all copies must be deleted immediately.
Whilst we take reasonable steps to try to identify any software viruses, any attachments to this e-mail may nevertheless contain viruses which our anti-virus software has failed to identify. You should therefore carry out your own anti-virus checks before opening any documents. Britannia Building Society will not accept any liability for damage caused by computer viruses emanating from any attachment or other document supplied with this e-mail.
Britannia Building Society reserves the right to monitor and archive all e-mail communications through its network. No representative or employee of Britannia Building Society has the authority to enter into any contract on behalf of Britannia Building Society by email.
Britannia Building Society is authorised and regulated by the Financial Services Authority. Britannia Building Society is entered in the FSA register, register number 104879. Britannia Building Society, Britannia House, Leek, Staffordshire Moorlands, ST13 5RG.
************************************************************ ********


--Boundary_(ID_3GdABUgU5YIyliyz5NVlmg)--

Re: DBI Build error in36 line

am 10.02.2006 01:16:53 von jkstill

------=_Part_3345_21456013.1139530613421
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Try googling for it.

The exact phrase "Can't locate Test/More.pm in @INC" turned up 449
hits when I checked.

Hint: try installing with CPAN and see if that works for you.

Jared


On 2/9/06, Sridhar Madadi wrote:
>
> Hi All,
>
> When I am trying to build DBI module, I am getting the below error. I am
> running per 5.8.0 version
>
> /tmp/CPAN_perlmodules/DBI-1.50 :# pkginfo -l VRTSperl
> PKGINST: VRTSperl
> NAME: *Perl 5.8.0 for VERITAS*
> CATEGORY: optional
> ARCH: sparc
> VERSION: 4.0.2
> BASEDIR: /
> VENDOR: VERITAS Software Corp.
> DESC: Perl 5.8.0 for VERITAS
> PSTAMP: 4.0.2 11062003
> INSTDATE: Apr 01 2005 10:05
> STATUS: completely installed
> FILES: 1533 installed pathnames
> 1 shared pathnames
> 189 directories
> 3 executables
> 64263 blocks used (approx)
>
>
>
> /tmp/CPAN_perlmodules/DBI-1.50 :# *perl Makefile.PL*
> Can't locate Test/More.pm in @INC (@INC contains: lib
> /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib
> /usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1
> /usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int
> /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at Makefile.PL
> line 36.
> BEGIN failed--compilation aborted at *Makefile.PL line 36*.
>
>
> Thanks for in advance.
>
> Cheers,
> Sridhar
>
>
> ************************************************************ *********
> Britannia was recently voted "Best Direct Mortgage Lender 2004-05" by You=
r
> Mortgage Magazine and "Best Online Secured Loan Provider 2004" by Your Mo=
ney
> Magazine.
>
> This Email and any attachments contains confidential information and is
> intended solely for the individual to whom it is addressed. If this Email
> has been misdirected, please notify the author as soon as possible. If yo=
u
> are not the intended recipient you must not disclose, distribute, copy,
> print or rely on any of the information contained, and all copies must be
> deleted immediately.
> Whilst we take reasonable steps to try to identify any software viruses,
> any attachments to this e-mail may nevertheless contain viruses which our
> anti-virus software has failed to identify. You should therefore carry ou=
t
> your own anti-virus checks before opening any documents. Britannia Buildi=
ng
> Society will not accept any liability for damage caused by computer virus=
es
> emanating from any attachment or other document supplied with this e-mail=
..
> Britannia Building Society reserves the right to monitor and archive all
> e-mail communications through its network. No representative or employee =
of
> Britannia Building Society has the authority to enter into any contract o=
n
> behalf of Britannia Building Society by email.
> Britannia Building Society is authorised and regulated by the Financial
> Services Authority. Britannia Building Society is entered in the FSA
> register, register number 104879. Britannia Building Society, Britannia
> House, Leek, Staffordshire Moorlands, ST13 5RG.
> ************************************************************ ********
>
>
>


--
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

------=_Part_3345_21456013.1139530613421--

Re: Makefile.PL"s with dependancies (was DBI Build error in36 line)

am 10.02.2006 10:54:59 von Tim.Bunce

On Thu, Feb 09, 2006 at 04:21:01PM -0800, Tyler MacDonald wrote:
>
> However, this reveals a more sinister problem with the Makefile.PL
> in DBI:
>
> use Test::Harness; # tests use it so check it's loadable early
> use Test::More 0.4; # tests use it so check it's loadable early

I'd hardly call that a 'sinister problem'.

> Those should probably just be handled by PREREQ_PM; CPAN will then
> attempt to download the latest version if it's not installed; the
> Makefile.PL will advise the user that these dependancies haven't been met;
> if the user plows ahead and installs anyways, the tests may fail but at
> least the code will still work.
>
> IMHO the only timea package should be "use"d in a Makefile.PL is if
> the Makefile.PL itself needs it to make decision, and then it should fail
> gracefully.

I agree. (Though I believe there were good reasons at the time the
original lines were added - but I don't recall them now.)

I've removed them.

Tim.