From: "Ian" Newsgroups: comp.os.msdos.djgpp References: <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: 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" 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(") { > 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/ ]