Paul,
Try this:
perl -e 'print "hello world\n"'
If this works, your perl is fine.
Dan Liston
Paul wrote:
>
> Hi Todd,
>
> > So I have 'perl' where do I go from here?
> > Look /usr/lib and see if there is a perl directory there.
>
> Yes there is a perl directory!
>
> >I'm trying to install v 1.94.4 under RH5.2 I have edited the files as
> >instructed in the docs. The compile fails:
> >Can't open perl script "-e" : no such file or driectory
> >This appears to refer to line #142 in the makefile
> >
> >The other response to this was pretty complete, I'll add only the
> >following: It's saying that it can't open perl script "-e". I'm unsure
> >if this is a perl error message or a script error message. Of course
> >there is no file named "-e". It may be that whatever environment
> >variable that is supposed to be passed after the -e is actually not
> >defined for some reason. Quote the line that is calling perl and the
> >line(s) that define any environment variables used in that line.
>
> Here's the failing line #142:
>
> @cd $(TMP); $(PERL) -p -i -e 's@^#!\S+perl.*@#!$(PERL)@' $(TOOLS) $(BINBIN)
> $(BIN)
>
> Sorry but I don't know which environment variables (if any) to include here
> (I am a relative newbie)
>
> I agree it appears that whatever "-e" option is looking for is missing. Does
> the above line provide enough info? If not, what else do I need to provide?
>
> Paul Delaney
> kb2shu@linux.kb2shu.ampr.org
> kb2shu@kb2shu.#sca.ca.usa.noam
> paul@moonlink.net
> www.moonlink.net/~paul
References:
|
|