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

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> <jPfla.1732$1b1 DOT 223907 AT news20 DOT bellglobal DOT com> <3E95B84F DOT 669E2AC4 AT phekda DOT freeserve DOT co DOT uk>
Subject: Re: perl testing
Lines: 106
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: <7rkla.10742$id.522629@news20.bellglobal.com>
Date: Thu, 10 Apr 2003 16:27:19 -0400
NNTP-Posting-Host: 64.230.33.75
X-Complaints-To: abuse AT sympatico DOT ca
X-Trace: news20.bellglobal.com 1050006339 64.230.33.75 (Thu, 10 Apr 2003 16:25:39 EDT)
NNTP-Posting-Date: Thu, 10 Apr 2003 16:25:39 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,
    You are right when I do env bash tells me that the shell is command
.com.  I'll have to look up my bash book to change that in bashrc or
somewhere.

        Regards Ian.
"Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk> wrote in message
news:3E95B84F DOT 669E2AC4 AT phekda DOT freeserve DOT co DOT uk...
> Hello.
>
> Ian wrote:
> [snip]
> > 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
>
> Hmmm, maybe this is a shell issue. Maybe it's running a command using
Perl's
> system call that fails, because SHELL in the environment is set to
> COMMAND.COM.
>
> > 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.
> >
> > ===========================================================
>
> Does it work if you set SHELL to point to bash? It looks like DJGPP is in
> e:\djgpp\bin on your system, so try this before running "perl
Makefile.PL":
>
>      set SHELL=e:\djgpp\bin\bash.exe
>
> from COMMAND.COM or this from bash:
>
>      export SHELL=/dev/env/DJDIR/bin/bash.exe
>
> > >
> > > 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.)
>
> Did you try running the commands I suggested above?
>
> Regards,
>
> --
> Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]


- Raw text -


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