www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/30/17:01:36

From: pjfarley AT banet DOT net (Peter J. Farley III)
Newsgroups: comp.os.msdos.djgpp
Subject: perl5/DJGPP: MakeMaker cannot find perl executable
Date: Sun, 30 Jul 2000 20:57:30 GMT
Message-ID: <3984836f.5142294@news3.banet.net>
References: <39822adb DOT 3467762 AT news3 DOT banet DOT net>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: 32.100.250.92
X-Trace: 30 Jul 2000 20:53:59 GMT, 32.100.250.92
Organization: Global Network Services - Remote Access Mail & News Services
Lines: 135
X-Complaints-To: abuse AT prserv DOT net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

[cc'd to perl/DJGPP maintainer Laszlo Molnar <molnarl AT cdata DOT tvnet DOT hu>]

To recap here, I am trying to install a simple perl module,
Text-CSV-0.01, from CPAN.  The "perl Makefile.PL" step works, but
gives error messages.  The second of these error messages is a
critical error, since it causes the Makefile which is created not to
have the name of the perl executable, which causes other errors, like
the one I reported yesterday concerning "...blib/..." default
directories (these should be created in the working directory).

My environment info is listed at the end of this message, including
bash version and perl version.  Following are transcripts of "perl
Makefile.PL" under COMMAND.COM and under bash, including "dir" and
"vdir" of perl.exe and working directory contents.

M:\Text-CSV>dir \bin\per*.*
<Snipped>
PERL     EXE       281,100  09-13-98  6:02p perl.exe
<Snipped>
M:\Text-CSV>dir
<Snipped>
MAKEFILE PL            238  06-05-97 10:51a Makefile.PL
TEST     PL          3,434  06-05-97 10:51a test.pl
README                 871  06-05-97 10:51a README
CSV      PM         13,776  06-05-97 10:51a CSV.pm
MANIFEST                48  06-05-97 10:51a MANIFEST
         5 file(s)         18,367 bytes
         2 dir(s)   1,926,135,808 bytes free

M:\Text-CSV>perl Makefile.PL verbose
Checking if your kit is complete...
Warning: the following files are missing in your kit:
        MANIFEST
        README
Please inform the author.
        NAME => q[Text::CSV]
        PREREQ_PM => {  }
        VERSION_FROM => q[CSV.pm]
Unable to find a perl 5 (by these names: m:/bin/perl.exe miniperl perl
perl5 perl5.00502, in these dirs: M:\BIN C:\PROGRA~1\PERSON~1 D:\BAT
D:\UT D:\PT C:\ C:\WINDOWS C:\WINDOWS\COMMAND
C:\PROGRA~1\NETWOR~1\MCAFEE~1 C:\PROGRA~1\SYMANTEC\PCANYW~1\ m:/bin)
Writing Makefile for Text::CSV

Even running under bash does not seem to change the behavior:

bash-2.03$ vdir /bin/per*.*
-rwxr-xr-x   1 dosuser  root       281100 Sep 13  1998 /bin/perl.exe
bash-2.03$ vdir m:/bin/per*.*
-rwxr-xr-x   1 dosuser  root       281100 Sep 13  1998 m:/bin/perl.exe
bash-2.03$ vdir
total 21
-rw-r--r--   1 dosuser  root        13776 Jun  5  1997 CSV.pm
-rw-r--r--   1 dosuser  root          238 Jun  5  1997 Makefile.PL
-rw-r--r--   1 dosuser  root           48 Jun  5  1997 manifest
-rw-r--r--   1 dosuser  root          871 Jun  5  1997 readme
-rw-r--r--   1 dosuser  root         3434 Jun  5  1997 test.pl
bash-2.03$ perl Makefile.PL
Checking if your kit is complete...
Warning: the following files are missing in your kit:
        MANIFEST
        README
Please inform the author.
Unable to find a perl 5 (by these names: m:/bin/perl.exe miniperl perl
perl5 perl5.00502, in these dirs: m:\bin c:\progra~1\person~1 d:\bat
d:\ut d:\pt c:\ c:\windows c:\windows\command
c:\progra~1\networ~1\mcafee~1 c:\progra~1\symantec\pcanyw~1\ m:/bin)
Writing Makefile for Text::CSV

I note that the "vdir" under bash reports the file name "README" as
lower-case "readme", and "MANIFEST" as lower-case "manifest", which
probably explains the first error message.  I do not see how this
would cause the second error, however.

TIA for any help or assistance you can provide.

Environment info: W98SE, DOS box, DJGPP LFN=Y

M:\Text-CSV>perl --version

This is perl, version 5.005_02 built for dos-djgpp
<Snipped>
M:\Text-CSV>bash --version
GNU bash, version 2.03.0(1)-release (i386-pc-msdosdjgpp) r0.6
Copyright 1998 Free Software Foundation, Inc.

M:\Text-CSV>set
TMP=c:\windows\TEMP
TEMP=C:\windows\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
CTSYN=C:\WINDOWS
windir=C:\WINDOWS
BLASTER=A220 I7 D1 H5 P330 T6
PATH=M:\BIN;C:\PROGRA~1\PERSON~1;D:\BAT;D:\UT;D:\PT;C:\;C:\WINDOWS;C:\WINDOWS\CO
MMAND;C:\PROGRA~1\NETWOR~1\MCAFEE~1;C:\PROGRA~1\SYMANTEC\PCANYW~1\
DJGPP=M:\DJGPP.ENV

CONFIG.SYS:

DOS=HIGH,UMB,AUTO
DEVICE=C:\WINDOWS\HIMEM.SYS /V
DEVICE=C:\WINDOWS\EMM386.EXE V RAM NOEMS I=B000-B7FF I=E000-E9FF
REM [Header]
REM [CD-ROM Drive]
REM DEVICE=C:\CDROM\ATAPI_CD.SYS /D:MSCD001 /PIO
REM DEVICE=C:\CDROM\HIT-DVD.SYS /D:MSCD001
REM [Miscellaneous]
REM [Display]
DEVICEHIGH=c:\windows\setver.exe
[COMMON]
DEVICE=C:\DELL\RTC.CLK +R

AUTOEXEC.BAT:

@ECHO OFF
C:\PROGRA~1\NETWOR~1\MCAFEE~1\SCAN.EXE C:\
@IF ERRORLEVEL 1 PAUSE
COPY /B HPRESET.DAT LPT1:
SET BLASTER=A220 I7 D1 H5 P330  T6
SET CTSYN=C:\WINDOWS
C:\PROGRA~1\CREATIVE\SBLIVE\DOSDRV\SBEINIT.COM
REM [Header]
REM [CD-ROM Drive]
REM C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD001 /D:MSCD001
REM [Miscellaneous]
REM [Display]
IF EXIST C:\CPATH.BAT CALL C:\CPATH.BAT
CALL C:\PROGRA~1\PERSON~1\PCSVARS.BAT


----------------------------------------------------
Peter J. Farley III (pjfarley AT nospam DOT dorsai DOT org OR
                     pjfarley AT nospam DOT banet DOT net)

- Raw text -


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