delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/10/11:15:16

From: "Ian" <Ian AT junk DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <mx3la.4937$oJ2 DOT 742778 AT news20 DOT bellglobal DOT com> <3E953319 DOT 397195E4 AT phekda DOT freeserve DOT co DOT uk>
Subject: Re: perl testing
Lines: 88
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <jPfla.1732$1b1.223907@news20.bellglobal.com>
Date: Thu, 10 Apr 2003 11:11:46 -0400
NNTP-Posting-Host: 64.230.33.75
X-Complaints-To: abuse AT sympatico DOT ca
X-Trace: news20.bellglobal.com 1049987407 64.230.33.75 (Thu, 10 Apr 2003 11:10:07 EDT)
NNTP-Posting-Date: Thu, 10 Apr 2003 11:10:07 EDT
Organization: Bell Sympatico
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk> wrote in message
news:3E953319 DOT 397195E4 AT phekda DOT freeserve DOT co DOT uk...
> Hello.
>
> Ian wrote:
> >     I've installed the binary port of perl5.6.1 and I'm having no end of
> > frustration with cpan.  I skipped cpan and downloaded the tarball of DBI
and
> > unpacked it with winzip 8 okay. perl Makefile.PL gave me errors and I'd
like
> > to know how to test perl itself (not DBI)?  There somewhere is a script
that
> > I can run which tests the perl installation.  Any pointers would be a
great
> > help in figuring out where I've messed up.
>
> If you posted some error messages, that might help diagnose what's up.
perl Makefile.PL &> file.txt
==========================================
*** 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://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 extra DBI::PurePerl test: t/zz_01basics_pp.t
Creating extra DBI::PurePerl test: t/zz_02dbidrv_pp.t
Creating extra DBI::PurePerl test: t/zz_03hleak_pp.t
Creating extra DBI::PurePerl test: t/zz_04mods_pp.t
Creating extra DBI::PurePerl test: t/zz_05thrclone_pp.t
Creating extra DBI::PurePerl test: t/zz_06attrs_pp.t
Creating extra DBI::PurePerl test: t/zz_07kids_pp.t
Creating extra DBI::PurePerl test: t/zz_08keeperr_pp.t
Creating extra DBI::PurePerl test: t/zz_10examp_pp.t
Creating extra DBI::PurePerl test: t/zz_15array_pp.t
Creating extra DBI::PurePerl test: t/zz_20meta_pp.t
Creating extra DBI::PurePerl test: t/zz_30subclass_pp.t
Creating extra DBI::PurePerl test: t/zz_40profile_pp.t
Creating extra DBI::PurePerl test: t/zz_41prof_dump_pp.t
Creating extra DBI::PurePerl test: t/zz_42prof_data_pp.t
Creating extra DBI::PurePerl test: t/zz_60preparse_pp.t
Creating extra DBI::PurePerl test: t/zz_80proxy_pp.t
***This is where it is failing.  Ian.
Unable to find a perl 5 (by these names: E:/djgpp/bin/perl.exe miniperl perl
perl5 perl5_6_1, in these dirs: e:\djgpp\bin e:\djgpp\bin\sh
e:\djgpp\bin\lynx283 e:\djgpp\bin\wget c:\windows\command
/dev/env/DJDIR/bin)
Bad command or file name
Bad command or file name
Writing Makefile for DBI

    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.

===========================================================
>
> I don't know of any tests to check the Perl installation. Perhaps using
> autoconf or automake would be a good test. Or you could try something like
> this from bash:
>
>     echo foo > t.t
>     perl -e 'use FileHandle; $fh = new FileHandle("<t.t"); while (<$fh>) {
> print; } $fh->close();'
>
> The perl command should all be on one line. It should display "foo". Maybe
if
> there was a problem with extracting the Perl distribution, you will get an
> error. (FileHandle.pm does not fit exactly into 8+3, so this may highlight
any
> problems with extraction of the Perl binary archive.)
>
> Regards,
>
> --
> Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019