>>>>> "Michael" == Michael Jinks <[EMAIL PROTECTED]> writes:
Michael> Here's the layout: On the cd is a shell script called
Michael> install. It tries to figure out which kind of system it's
Michael> running on, and then calls another program based on its
Michael> guess. The systems it guesses at are AIX, Sun, HPUX, and
Michael> Sunx86. Since I run Linux on a 586 with iBCS, I figured my
Michael> best chance would be to try the sunx86 option and then
Michael> debug from there.
Michael> Here's a printout of what I'm doing:
Michael> [root@fred sunx86]# pwd
Michael> /mnt/cdrom/unix/tools/bin/sunx86
Michael> [root@fred sunx86]# ls
Michael> perl*
Michael> [root@fred sunx86]# perl ./perl
Nope, that's the Perl executable (i.e. _interpreter_). To see if you
can run that binary version of the Sun x86 Perl interpreter, just try
it out like this:-
sunx86# ./perl -e 'print "it works.\n" '
Michael> Unrecognized character \177 at ./perl line 1.
You're feeding a binary file (an executable in fact) to the Perl
interpreter. I get similar results using the Linux native version:-
$ /usr/bin/perl /bin/login
No #! line at /bin/login line 1.
Michael> [root@fred sunx86]# file perl
Michael> perl: ELF 32-bit LSB executable, Intel 80386, version 1,
Michael> dynamically linked, not stripped
Michael> Just calling ./perl returns "no such file or directory,"
That may mean that there is a shared library missing. I don't know
how to debug that for iBCS executables. The iBCS documentation may
help. If strace works on iBCS executables, you could try that.
Michael> which I've come to recognize as the
Michael> "this-perl-app-wasn't-intended-for-Linux" error, and which
Michael> I've gotten around before by calling 'perl [filename]'.
Michael> If it would help, I could send along copies of the files in
Michael> question, but up to now I've been erring on the side of
Michael> 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.