Andrew Burton wrote:
> I'm confused.
>
> My previous comments were based almost entirely on your post in the
> mailing list that the error was on line 1 of a perl script.
I think I used that term improperly. Maybe I should have said "perl
executable"?
> That's
> almost always #!/bin/perl or somesuch.... which is why I figured
> there must be some error in the line termination or something.
>
> What does the first line of the perl script say?
>
Here's the layout: On the cd is a shell script called install. It tries to
figure out which kind of system it's running on, and then calls another program
based on its guess. The systems it guesses at are AIX, Sun, HPUX, and Sunx86.
Since I run Linux on a 586 with iBCS, I figured my best chance would be to try
the sunx86 option and then debug from there.
Here's a printout of what I'm doing:
[root@fred sunx86]# pwd
/mnt/cdrom/unix/tools/bin/sunx86
[root@fred sunx86]# ls
perl*
[root@fred sunx86]# perl ./perl
Unrecognized character \177 at ./perl line 1.
[root@fred sunx86]# file perl
perl: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked,
not stripped
Just calling ./perl returns "no such file or directory," which I've come to
recognize as the "this-perl-app-wasn't-intended-for-Linux" error, and which
I've gotten around before by calling 'perl [filename]'.
If it would help, I could send along copies of the files in question, but up to
now I've been erring on the side of bandwidth conservation.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.