delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/25/15:23:58

X-Spam-Check-By: sourceware.org
Message-ID: <462FAA9F.4C9FC6AD@dessent.net>
Date: Wed, 25 Apr 2007 12:23:11 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Newbie question on current version running established perl program
References: <497079 DOT 53305 DOT qm AT web34710 DOT mail DOT mud DOT yahoo DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Jennifer Young wrote:

> to run my program, I was instructed to use command:
> 
> $ perl preprocesstest.pl -o buffer -n 2 -t 00:00:000
> -l 300
> 
> (-o = output, -n = number in test, -t = start time, -l
> = length of time of test)
> 
> system returns:
> 
> bash perl: command not found

This would indicate that perl isn't installed.  Run setup.exe again,
click on Next until you get to the "Select Packages" page.  Then click
the 'View' button to switch to 'Full' view, this shows everything in a
flat alphabetical list instead of by categories, and is easier for
finding packages by name.  Scroll down to the p's until you find the
perl package ("perl: Larry Wall's Practical Extracting and ...") -- this
is really the only package that you should require, although having the
others with perl in their names installed shouldn't hurt either.  Check
if it is installed -- if it is, you should see a version in the
"Current" column like 5.8.7-5 and the New column should say Keep.  If
there's nothing in the Current column or the New column says "Skip" then
you don't have it installed; in that case just click on the New column
so that it changes from Skip to the version number.  Then just hit Next
as many times as necessary to finish the process.

Hopefully you just were missing the perl package, if not then something
else more serious is wrong and we're going to need more info from you to
figure out what's wrong.  The best way to provide this is to run
"cygcheck -svr >cygcheck.out" and then send that cygcheck.out file as an
attachment to this list.

> I looked this up and tried another instruction adding
> ./ before the line to make:
> 
> $ ./perl preprocesstest.pl -o buffer -n 2 -t 00:00:000
> -l 300
> 
> This gave me a new error message:
> 
> bash: ./perl:  no such file or directory

This is not an instance where adding ./ at the beginning would do any
good or make any sense, so this error is expected.

> I followed instructions in the FAQ for another fix for
> this specific question, to enter in 2 lines of code.
> FAQ# 37 as copied below.  I didn't get the warnings
> and it seemed take the commands fine.  Got the same
> error messages, though.

And as far as I can tell this is talking about something unrelated to
your problem.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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