fileutils problem

Gerard Beekmans gerard at linuxfromscratch.org
Thu Mar 7 15:10:03 PST 2002


On Thu, Mar 07, 2002 at 09:59:19PM +0100, root wrote:
> bash-2.05$ cp lib/Makfile.in lib/Makfile.in.backup &&
> > sed -e 's/\(.*\)\(fopen-safer\.c\)\\/\1\2atexit.c \\/'\
> > -e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/'\
> > lib/Makfile.in.backup > lib/Makfile.in
> sed: -e expression #1, char 45: Unknown option to 's'

There are some errors in there. You typed lib/Makfile instead of
lib/Makefile (a missing 'e').

Other than that, there is a missing space on the second line. You end with:
	\1\2atexit \\/'\

You have to put a space between the last and second last character, so it
becomes:
	\1\2atexit \\/' \

Without that space, the second line starting with '-e' won't be recognized
as a seperate option to sed, rather part of the first one which yield an
illegal syntax.
 
> So I tried installing fileutils whitout the fix and without any
> problems.
> But after running $LFS/bin/ls if says 'no such file or directory'. This
> means I have to re-install using the fix which, I my case, doesn't work.

Perhaps it ended up in $LFS/usr/bin ?

Is $LFS set to a proper value?

> Can anybody tell me how to continue ?

Try to copy & paste the instructions onto your shell instead of typing it
out. That way you're guaranteed that the instructions are not in error.

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list