Mail Archives: djgpp/2003/04/10/14:45:04
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 -