Maybe these will help?
# ./configure.pl
bash: ./configure.pl: No such file or directory
# perl ./configure.pl
(script runs as normal)
# ls -la /usr/bin/perl:
-rwxr-xr-x 2 root root 517052 Aug 30 1999 /usr/bin/perl
# head -n 1 configure.pl
#!/usr/bin/perl
# ls -la configure.pl
-rwxr-xr-x 1 root administ 2528 Mar 22 20:04 configure.pl
/home, the dir I'm in, is not mounted no-exec. Any other ideas?
Dan Browning
Network Administrator
Cyclone Computer Systems
> -----Original Message-----
> From: Greg Olszewski [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 22, 2000 8:09 PM
> To: Dan Browning
> Cc: [EMAIL PROTECTED]
> Subject: Re: Getting RedHat to understand the perl shebang
>
>
> On Wed, Mar 22, 2000 at 08:02:51PM -0800, Dan Browning wrote:
> > I cannot execute perl scripts ala: "./dostuff.pl", even with the correct
> > #!/usr/bin/perl, and 755 permissions. I have to prepend "perl"
> in order to
> > exec the script. Any guesses on this one?
> >
> The partition it's on is mounted noexec?
>
> Dunno... What error do you get(exactly)? Is perl actually in /usr/bin?
> > 64mb RAM on SCSI.
> Ouch! Access time must kill you :-)
>
> have fun,
>
> greg
> --
> dronf!
>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs