Re: [XFree86] mandrake 8.1, brand new nvidia gforce, XFree864.3,..."a.out"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 04, 2003 at 03:08:02PM -0700, Mark Vojkovich wrote:
>On Thu, 4 Sep 2003, Rob McKibben wrote:
>
>> > >
>> > > /lib/libc-2.2.4.so
>> >
>> >    I believe that means you want to get all your binaries
>> > from the /pub/XFree86/4.3.0/binaries/Linux-ix86-glibc22 directory.
>> 
>> Did that already while I was waiting for a response.
>> 
>> Actually I copied "Xinstall.so" and "extract",  from each of the
>> /pub/...glibc2x directories one at a time and ran them.
>> 
>> Everytime it responds with:
>> 
>> Checking which OS you're running . . .
>> uname reports 'Linux' version '2.4.8-26mdk', architecture 'i686'
>> object format is 'a.out'
>> Linux a.out is no longer supported
>> 
>> The following two lines are in my error file after running sh
>> Xinstall.so -check 2> jrmerror
>> 
>> Xinstall.sh: file: command not found
>> Xinstall.sh: strings: command not found
>> 
>> Should I try to run Xinstall anyway, from library #22, and hope that it
>> overwrites whatever is forcing a.out?
>
>   From looking at the install script it seems to determine
>whether or not you have an a.out or elf system by running
>file on /bin/sh.  It looks like the failure case is a.out.

Yeah, it's long past time that we made the default case ELF rather than
a.out.  We probably don't even need to check for a.out on Linux any
more.

>The messages above make it sound like you don't have file or
>strings on your system which would explain why the a.out vs.
>elf detection is failing.  Do you really not have file or
>strings?  They are unix standard utilities and are usually
>in /usr/bin.  If you don't have file, it makes sense that
>Xinstall's elf detection would fail.  I don't think I've
>heard of a Linux distribution not having file or strings.

I think it's possible to not install them depending on how finely distros
are splitting stuff out these days.  The script should be modified to
check for the utilities it needs.

Try the attached version.  It does most of this, and also doesn't do
the libc version check (which needs 'strings') when doing an install.
Running 'Xinstall.sh -check' will still fail, but the installation might
succeed assuming the few other utilities required are present.

David
-- 
David Dawes                                     X-Oz Technologies
www.XFree86.org/~dawes                          www.x-oz.com

Attachment: Xinstall.sh
Description: Bourne shell script


[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux