Re: Help Required

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

 



On Sat, 2004-09-18 at 08:49, Paul wrote:
> Hi,
> 
> > I am new to Linux World. I have installed Fedora Core release 2 (Tettnang)
> > with linux kernel version 2.6.5-1.358
> > Installation went fine, but I am getting error whenever log on to system -->
> > 
> > -sh: /usr/local/bin/grep: cannot execute binary file
> > -sh: /usr/local/bin/grep: cannot execute binary file
> 
> Is this as soon as login or are you specifically trying to
> run /usr/local/bin/grep? Have you installed anything recently and more
> over, you need to run yum update to get your system up to date.
> 
> > this error I am getting with all accounts. ( including root). I get
> > similar error when I tries to use vi or any other command.
> > -sh-2.05b$ vi
> > -sh: /usr/local/bin/vim: cannot execute binary file
> 
Why is he using system files in the /usr/local tree?

> Sounds like something has gone mad on your system.
> 
> > I checked the file permission. It's ok. ( read and executeto everyone.)
> > -sh-2.05b$ ls -l /usr/local/bin/vim
> > -rwxr-xr-x  1 root bin 409600 Jun 16  1997 /usr/local/bin/vim
> > 
> > But I use the vim from /usr/bin then I don't getany error.
> 
> It sounds like when you've done a source code install, something has
> broken on the non-rpm version. Try removing the source code version, run
> vi, if it works then you've a broken source version install.
> 
That would not necessarily be a broken install.  Simply an improperly
installed package and one where the source install broke the default
install.

Most packages I install from source default to /usr/local and if you
want to put it in the system default location you have to specify the
prefix when you run configure that package prior to compiling
/installing.

> TTFN
> 
> Paul



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux