Re: [lfs-support] ln -sv ../usr/bin/cpp /lib

2012-03-21 Thread Simon Geard
On Wed, 2012-03-21 at 21:54 +0200, Alexander Kapshuk wrote: > (6). While still in $LFS/sources/gcc-build, I ran ln -sv ../usr/bin/cpp > /lib; And this is where I found it confusing, ../usr/bin/cpp == > $LFS/sources/usr/bin/cpp; but /usr/bin/cpp isn't found in $LFS/sources. > It's found is $LFS/u

[lfs-support] Regarding "Create a separate build directory again"

2012-03-21 Thread Sumeet Shekhar
While installing GCC-4.1.2 - Pass 2 it is said that Create a separate build directory again. When i removed the previous build gcc-build directory and again created a gcc-build directory, I am not getting any output in the command provided(for sanity check) echo 'main(){}' > dummy.c cc dummy.c rea

Re: [lfs-support] preprocessor error

2012-03-21 Thread siefke_lis...@web.de
Hello, On Wed, 21 Mar 2012 16:12:29 -0400 Thomas Pegg wrote: > I think /lib/cpp is not your problem, at this stage that should not > exist as you have not installed the final build of gcc yet. However > looking at the log you posted, one thing I noticed was several messages > about missing stdi

Re: [lfs-support] ln -sv ../usr/bin/cpp /lib

2012-03-21 Thread Alexander Kapshuk
Got it. Thanks. It's relative to /lib, not $LFS/sources/gcc-build as I had thought initially. I'll have another look at ln(1). On 03/21/2012 10:25 PM, Ken Moffat wrote: > On Wed, Mar 21, 2012 at 09:54:18PM +0200, Alexander Kapshuk wrote: > >> (6). While still in $LFS/sources/gcc-build, I r

Re: [lfs-support] error: No usable m4 in $PATH or /usr/5bin

2012-03-21 Thread Andrew Elian
Hello, On Mon, Mar 19, 2012 at 03:48:28PM +, gdsi wrote: > Hello. > Few days ago I wrote that did not might mount the LFS-partition > after chroot. Now this ok. But when I perform ./configure > --prefix=/usr --enable-cxx --enable-mpbsd from 6.14. GMP-5.0.4 and > was being issued: > ... > .

Re: [lfs-support] ln -sv ../usr/bin/cpp /lib

2012-03-21 Thread Ken Moffat
On Wed, Mar 21, 2012 at 09:54:18PM +0200, Alexander Kapshuk wrote: > (6). While still in $LFS/sources/gcc-build, I ran ln -sv ../usr/bin/cpp > /lib; And this is where I found it confusing, ../usr/bin/cpp == > $LFS/sources/usr/bin/cpp; but /usr/bin/cpp isn't found in $LFS/sources. > It's found is

Re: [lfs-support] preprocessor error

2012-03-21 Thread Thomas Pegg
On 3/21/2012 4:12 PM, Thomas Pegg wrote: > On 3/21/2012 1:03 PM, siefke_lis...@web.de wrote: >> Hello, >> >> On Wed, 21 Mar 2012 16:38:48 + Andrew Benton wrote: >>> Whereabouts in the book are you? Is this in /tools or in chroot? >> Im in chroot, im in chapter 6. >> >>> /sources/gcc-4.6.2/libgc

Re: [blfs-support] Problems porting a BLFS System

2012-03-21 Thread Ken Moffat
On Wed, Mar 21, 2012 at 05:56:45PM +0100, Dr.-Ing. Edgar Alwers wrote: > On Sun, 18 Mar 2012 14:46:41 -0500 > Bruce Dubbs wrote: > > > First, the problem is xorg, so take kde out of the loop. Look at the > > xorg config section and change ~/.xiinitrc > > In the meantime we have some new experi

Re: [lfs-support] preprocessor error

2012-03-21 Thread Thomas Pegg
On 3/21/2012 1:03 PM, siefke_lis...@web.de wrote: > Hello, > > On Wed, 21 Mar 2012 16:38:48 + Andrew Benton wrote: >> Whereabouts in the book are you? Is this in /tools or in chroot? > Im in chroot, im in chapter 6. > >> /sources/gcc-4.6.2/libgcc/configure: line 1441: /lib/cpp: No such file or

Re: [lfs-support] ln -sv ../usr/bin/cpp /lib

2012-03-21 Thread Alexander Kapshuk
Here's what I did to build gcc: (1). Extracted the gcc archive within the $LFS/sources directory; (2). cd'd into gcc-4.6.2; (3). Ran the instructions from 6.17.1. Installation of GCC; (4). Created $LFS/sources/gcc-build and cd'd into it; (5). Configured and compiled gcc; (6). While still in $LFS/so

Re: [lfs-support] preprocessor error

2012-03-21 Thread siefke_lis...@web.de
Hello, so i have try to build gcc with the symlink, but the error is the same. In config log is No such file or Directory. Config Log: http://nopaste.info/46ce92a6ab.html Can me someone say which simlink i must set. Or should begin new? Regards Silvio -- http://linuxfromscratch.org/mailman/

Re: [lfs-support] preprocessor error

2012-03-21 Thread siefke_lis...@web.de
Hello, On Wed, 21 Mar 2012 16:38:48 + Andrew Benton wrote: > Whereabouts in the book are you? Is this in /tools or in chroot? Im in chroot, im in chapter 6. > /sources/gcc-4.6.2/libgcc/configure: line 1441: /lib/cpp: No such file or > directory I has symlinked now the cpp to /lib/cpp but t

[lfs-support] glibc compilation error (LFS 7.1)

2012-03-21 Thread Kael D'alcamo
hi, i'm tryng to compile the glibc packtage but return a errror (2) this is the log of configuration and compilation of packet: lfs@pandaubuntu-RF511-RF411-RF711:/mnt/lfs/sources/glibc-build$ case `uname -m` in i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;; esac lfs@pandaubuntu

Re: [blfs-support] Problems porting a BLFS System

2012-03-21 Thread Dr.-Ing. Edgar Alwers
On Sun, 18 Mar 2012 14:46:41 -0500 Bruce Dubbs wrote: > First, the problem is xorg, so take kde out of the loop. Look at the > xorg config section and change ~/.xiinitrc In the meantime we have some new experiences: 1.) There are no differences in the behaviour of the desktop and the laptop (

Re: [lfs-support] preprocessor error

2012-03-21 Thread Andrew Benton
On Wed, 21 Mar 2012 13:02:09 + "siefke_lis...@web.de" wrote: > Hello, > > now in Build LFS System, GCC come the error again. > > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether /sources/gcc-build/./gcc/xgcc -B/sources/gc

Re: [lfs-support] preprocessor error

2012-03-21 Thread siefke_lis...@web.de
On Wed, 21 Mar 2012 07:17:44 -0600 Rick Shelton wrote: > In your config.log, on several lines, there is the message: > "# /sources/gcc-4.6.2/libgcc/configure: line 1441: /lib/cpp: No such > file or directory " > > It looks like the symbolic link wasn't created correctly. (Hopefully > it is as simp

Re: [lfs-support] preprocessor error

2012-03-21 Thread Rick Shelton
On Wed, Mar 21, 2012 at 7:01 AM, siefke_lis...@web.de wrote: > Hello, > > now in Build LFS System, GCC come the error again. > > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether /sources/gcc-build/./gcc/xgcc -B/sources/gcc-build/

[lfs-support] preprocessor error

2012-03-21 Thread siefke_lis...@web.de
Hello, now in Build LFS System, GCC come the error again. checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /sources/gcc-build/./gcc/xgcc -B/sources/gcc-build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isyst

Re: [lfs-support] ln -sv ../usr/bin/cpp /lib

2012-03-21 Thread Simon Geard
On Tue, 2012-03-20 at 16:50 +0200, Alexander Kapshuk wrote: > So in other words, 'ln -sv ../usr/bin/cpp /lib' and 'ln > -sv /usr/bin/cpp /lib' are equivalent? Not quite, and the difference can be seen when you look at the link *outside* the chroot environment (i.e where the filesystem is mounted t