Compiling Grep

Rod Roark rod at
Fri Mar 15 16:37:40 PST 2002

You could remove the already-existing link prior to the new install.

-- Rod

On Friday 15 March 2002 16:15, David wrote:
> Hi All,
> While building a LFS system I found a newer version of grep a others. My
> problem is with grep while compiling it in Chapter 6.  I find that it
> compiles to the point of installing and then fails due to it being
> previously installed during Chapter 5.
> I am trying to compile grep-2.5 which fails when it tries to make the
> links to egrep.  Here is the last few lines of the compile.
> ln -s grep /bin/egrep
> ln: `/bin/grep': File exists
> make[2]: *** [install-exec-local] Error 1
> make[2]: Leaving directory `/usr/src/grep-2.5/src'
> make[1]: ***[install-am] Error 2
> make[1]: Leaving directory `/usr/src/grep-2.5/src'
> make: *** [install-recursive] Error 1
> That's where it ends and dumps me back to the prompt.
> Any one know of a fix for this?
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list