mlij wrote:
> Install Xorg:
> 
> After the command:
> 
> sed -i -e "[EMAIL PROTECTED] <linux/config.h>@/* & */@" \
> `grep -lr linux/config.h *` &&
> ( make World 2>&1 | tee xorg-compile.log && exit $PIPESTATUS )
> 
> There is the message:
> sed: it is not possible to read grep -lr linux/config.h:
> file or directory not found.
> 
> So I tried run without the grep command.
> However, there was an error.
> 
> From the file xorg-compile.log:
> 
> /usr/include/linux/config.h:1:2: #error "Compilation aborted. Please
> read the FAQ for linux-libc-headers package."
> /usr/include/linux/config.h:2:2: #error "(can be found at
> http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
> make[5]: ** [clientattrib.o] Erro 1
> make[5]: Leaving directory `/usr/src/xcbuild/lib/GL/glx'
> make[4]: ** [all] Erro 2
> make[4]: Leaving directory `/usr/src/xcbuild/lib/GL'
> make[3]: ** [all] Erro 2
> make[3]: Leaving directory `/usr/src/xcbuild/lib'
> make[2]: ** [all] Erro 2
> make[2]: Leaving directory `/usr/src/xcbuild'
> make[1]: ** [World] Erro 2
> make[1]: Leaving directory `/usr/src/xcbuild'
> make: ** [World] Erro 2
> 
> I read the faq, but ...
> So I think that the problem is the installation of linux-libc-headers
> package.
> Am I right?
> What do I have to do to fix this?
> 
> Marcos
> BFLS 6.0
> LFS 6.0

Actually no.  The problem is that xorg includes a header file that
should never be included in userspace apps, and consequently the error
to let you know that xorg is doing something they are not supposed to do
(and have been doing for a long time).  The problem is in the sed
command.  Did you use CnP...by chance put in a space after the backslash?

Fortunately, the compile can contiue without starting over or anything
like that.  Try the sed again, and make sure it works before going on
with the make line.

-- DJ Lucas
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to