Re: Ok, now I am having issues
On 11/08/2011 10:51 AM, Bruce Dubbs wrote: Andrew Benton wrote: On Tue, 8 Nov 2011 07:04:54 -0600 William Immendorfwill.immend...@gmail.com wrote: (Bruce, you may want to add:) The LiveCDs of these distributions work well as a base system too. As others have said, they may need some tweaking (/bin/sh = bash, gawk, etc) That's true. Also they are somewhat more difficult to use. The binaries take a long time to load off the dvd/cd and you have to repeat any configuration changes upon reboot. I think it better to not suggest/encourage LiveCD use, although it is possible. -- Bruce IDK, I used the Gentoo Live DVD for a bare metal install the other day...it works out of the box without any tweaks. -- DJ Lucas -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
Really I have to change several *readlink test script to get through On Thu, Nov 10, 2011 at 9:35 PM, DJ Lucas d...@linuxfromscratch.org wrote: On 11/08/2011 10:51 AM, Bruce Dubbs wrote: Andrew Benton wrote: On Tue, 8 Nov 2011 07:04:54 -0600 William Immendorfwill.immend...@gmail.com wrote: (Bruce, you may want to add:) The LiveCDs of these distributions work well as a base system too. As others have said, they may need some tweaking (/bin/sh = bash, gawk, etc) That's true. Also they are somewhat more difficult to use. The binaries take a long time to load off the dvd/cd and you have to repeat any configuration changes upon reboot. I think it better to not suggest/encourage LiveCD use, although it is possible. -- Bruce IDK, I used the Gentoo Live DVD for a bare metal install the other day...it works out of the box without any tweaks. -- DJ Lucas -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
On Mon, Nov 7, 2011 at 10:42 AM, Bruce Dubbs bruce.du...@gmail.com wrote: The LFS system will be built by using an already installed Linux distribution (such as Debian, Mandriva, Red Hat, or SUSE). This existing Linux system (the host) will be used as a starting point to provide necessary programs, including a compiler, linker, and shell, to build the new system. (Bruce, you may want to add:) The LiveCDs of these distributions work well as a base system too. -- William Immendorf The ultimate in free computing. Messages in plain text, please, no HTML. GPG key ID: 1697BE98 If it's not signed, it's not from me. -- Every nonfree program has a lord, a master -- and if you use the program, he is your master. Richard Stallman -- Are you a Gmail user? Please read this important notice: http://www.fsf.org/campaigns/jstrap/gmail?31450. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
On Tue, 8 Nov 2011 07:04:54 -0600 William Immendorf will.immend...@gmail.com wrote: (Bruce, you may want to add:) The LiveCDs of these distributions work well as a base system too. As others have said, they may need some tweaking (/bin/sh = bash, gawk, etc) Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
Andrew Benton wrote: On Tue, 8 Nov 2011 07:04:54 -0600 William Immendorf will.immend...@gmail.com wrote: (Bruce, you may want to add:) The LiveCDs of these distributions work well as a base system too. As others have said, they may need some tweaking (/bin/sh = bash, gawk, etc) That's true. Also they are somewhat more difficult to use. The binaries take a long time to load off the dvd/cd and you have to repeat any configuration changes upon reboot. I think it better to not suggest/encourage LiveCD use, although it is possible. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
I am actually using a LiveCD use in a VM which I can suspend the machine before shutting it down. Danny Vukobratovich Sent from my iPhone On Nov 8, 2011, at 11:51, Bruce Dubbs bruce.du...@gmail.com wrote: Andrew Benton wrote: On Tue, 8 Nov 2011 07:04:54 -0600 William Immendorf will.immend...@gmail.com wrote: (Bruce, you may want to add:) The LiveCDs of these distributions work well as a base system too. As others have said, they may need some tweaking (/bin/sh = bash, gawk, etc) That's true. Also they are somewhat more difficult to use. The binaries take a long time to load off the dvd/cd and you have to repeat any configuration changes upon reboot. I think it better to not suggest/encourage LiveCD use, although it is possible. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
On Mon, Nov 07, 2011 at 09:24:02AM -0500, Danny Vukobratovich wrote: I am using LFS 7.0 I am working on section 5.9 Binutils-2.21.1a Pass 2 I type in the first command sequence: CC=$LFS_TGT-gcc -B/tools/lib/ \ AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \ ../binutils-2.21.1/configure --prefix=/tools \ --disable-nls --with-lib-path=/tools/lib it errors out stating: configure: error: C compiler can not create executables I check the config.log file Here is an exert from where the error occurs: FATAL: kernel too old So, what is the version of your host's kernel ? ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
Ken, I am running the kernel that the book states to run which is 3.1 is there a patch or something that I need to apply? Thanks, Danny Vukobratovich System Administrator - Original Message - From: Ken Moffat k...@linuxfromscratch.org To: LFS Support List lfs-support@linuxfromscratch.org Sent: Monday, November 7, 2011 9:37:28 AM Subject: Re: Ok, now I am having issues On Mon, Nov 07, 2011 at 09:24:02AM -0500, Danny Vukobratovich wrote: I am using LFS 7.0 I am working on section 5.9 Binutils-2.21.1a Pass 2 I type in the first command sequence: CC=$LFS_TGT-gcc -B/tools/lib/ \ AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \ ../binutils-2.21.1/configure --prefix=/tools \ --disable-nls --with-lib-path=/tools/lib it errors out stating: configure: error: C compiler can not create executables I check the config.log file Here is an exert from where the error occurs: FATAL: kernel too old So, what is the version of your host's kernel ? ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
Type uname -a in a terminal a post the result here something like this (from my machine) Linux linux-eynx 2.6.37.6-0.7-desktop #1 SMP PREEMPT 2011-07-21 02:17:24 +0200 x86_64 x86_64 x86_64 GNU/Linux On Mon, 2011-11-07 at 09:41 -0500, Danny Vukobratovich wrote: Ken, I am running the kernel that the book states to run which is 3.1 is there a patch or something that I need to apply? Thanks, Danny Vukobratovich System Administrator __ From: Ken Moffat k...@linuxfromscratch.org To: LFS Support List lfs-support@linuxfromscratch.org Sent: Monday, November 7, 2011 9:37:28 AM Subject: Re: Ok, now I am having issues On Mon, Nov 07, 2011 at 09:24:02AM -0500, Danny Vukobratovich wrote: I am using LFS 7.0 I am working on section 5.9 Binutils-2.21.1a Pass 2 I type in the first command sequence: CC=$LFS_TGT-gcc -B/tools/lib/ \ AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \ ../binutils-2.21.1/configure --prefix=/tools \ --disable-nls --with-lib-path=/tools/lib it errors out stating: configure: error: C compiler can not create executables I check the config.log file Here is an exert from where the error occurs: FATAL: kernel too old So, what is the version of your host's kernel ? ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
After typing uname -a: Linux lfslivecd 2.6.22.5-64bit #1 SMP Sun Dec 30 10:37:45 GMT 2007 x86_64 x86_64 x86_64 GNU/Linux Danny Vukobratovich System Administrator - Original Message - From: vaio286 vaio...@gmail.com To: lfs-support@linuxfromscratch.org Sent: Monday, November 7, 2011 10:57:02 AM Subject: Re: Ok, now I am having issues Type uname -a in a terminal a post the result here something like this (from my machine) Linux linux-eynx 2.6.37.6-0.7-desktop #1 SMP PREEMPT 2011-07-21 02:17:24 +0200 x86_64 x86_64 x86_64 GNU/Linux On Mon, 2011-11-07 at 09:41 -0500, Danny Vukobratovich wrote: Ken, I am running the kernel that the book states to run which is 3.1 is there a patch or something that I need to apply? Thanks, Danny Vukobratovich System Administrator __ From: Ken Moffat k...@linuxfromscratch.org To: LFS Support List lfs-support@linuxfromscratch.org Sent: Monday, November 7, 2011 9:37:28 AM Subject: Re: Ok, now I am having issues On Mon, Nov 07, 2011 at 09:24:02AM -0500, Danny Vukobratovich wrote: I am using LFS 7.0 I am working on section 5.9 Binutils-2.21.1a Pass 2 I type in the first command sequence: CC=$LFS_TGT-gcc -B/tools/lib/ \ AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \ ../binutils-2.21.1/configure --prefix=/tools \ --disable-nls --with-lib-path=/tools/lib it errors out stating: configure: error: C compiler can not create executables I check the config.log file Here is an exert from where the error occurs: FATAL: kernel too old So, what is the version of your host's kernel ? ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
Danny Vukobratovich wrote: Linux lfslivecd 2.6.22.5-64bit #1 SMP Sun Dec 30 10:37:45 GMT 2007 x86_64 x86_64 x86_64 GNU/Linux The live CD is obsolete. http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
Ok, then what should I use to build my LFS if not the liveCD? Just trying to go with what is recommended...thanks, Danny Vukobratovich System Administrator - Original Message - From: Bruce Dubbs bruce.du...@gmail.com To: LFS Support List lfs-support@linuxfromscratch.org Sent: Monday, November 7, 2011 11:21:28 AM Subject: Re: Ok, now I am having issues Danny Vukobratovich wrote: Linux lfslivecd 2.6.22.5-64bit #1 SMP Sun Dec 30 10:37:45 GMT 2007 x86_64 x86_64 x86_64 GNU/Linux The live CD is obsolete. http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
Danny Vukobratovich wrote: Ok, then what should I use to build my LFS if not the liveCD? Just trying to go with what is recommended...thanks, Don't top post. From Chapter 1, first paragraph: The LFS system will be built by using an already installed Linux distribution (such as Debian, Mandriva, Red Hat, or SUSE). This existing Linux system (the host) will be used as a starting point to provide necessary programs, including a compiler, linker, and shell, to build the new system. I will remove the 2nd paragraph. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
From: Bruce Dubbs bruce.du...@gmail.com To: LFS Support List lfs-support@linuxfromscratch.org Sent: Monday, November 7, 2011 11:42:41 AM Subject: Re: Ok, now I am having issues Danny Vukobratovich wrote: Ok, then what should I use to build my LFS if not the liveCD? Just trying to go with what is recommended...thanks, Don't top post. From Chapter 1, first paragraph: The LFS system will be built by using an already installed Linux distribution (such as Debian, Mandriva, Red Hat, or SUSE). This existing Linux system (the host) will be used as a starting point to provide necessary programs, including a compiler, linker, and shell, to build the new system. I will remove the 2nd paragraph. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page - Ok, I am downloading Fedora right now. Do I boot to it via a LiveCD or do I perform a full installation? The wording appears to be a full installation. Thanks Danny Vukobratovich System Administrator - Original Message - -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
RE: Ok, now I am having issues
Try to execute command separately First: CC=$LFS_TGT-gcc -B/tools/lib/ \ AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib Second: ../binutils-2.21.1/configure --prefix=/tools \ --disable-nls --with-lib-path=/tools/lib It worked for me From: lfs-support-boun...@linuxfromscratch.org [mailto:lfs-support-boun...@linuxfromscratch.org] On Behalf Of Danny Vukobratovich Sent: Monday, November 07, 2011 5:54 PM To: LFS Support List Subject: Ok, now I am having issues I am using LFS 7.0 I am working on section 5.9 Binutils-2.21.1a Pass 2 I type in the first command sequence: CC=$LFS_TGT-gcc -B/tools/lib/ \ AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \ ../binutils-2.21.1/configure --prefix=/tools \ --disable-nls --with-lib-path=/tools/lib it errors out stating: configure: error: C compiler can not create executables I check the config.log file Here is an exert from where the error occurs: FATAL: kernel too old onfigure:4180: $? = 1 configure:4217: result: configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME | #define PACKAGE_TARNAME | #define PACKAGE_VERSION | #define PACKAGE_STRING | #define PACKAGE_BUGREPORT | #define PACKAGE_URL | | int | main () | { |; | return 0: | } configure:4223: error: in '/mnt/lfs/sources/binutils-build': configure:4227: error: C compiler cannot create executabables then at the end of the file, I get: configure: exit 77 this is a fresh installation and I have had no problems up until this point. Thank you very much, Danny Vukobratovich Systems Administrator Marian, Inc. www.marianinc.com -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
On 07/11/11 20:27, Yaser Amini wrote: Try to execute command separately First: CC=$LFS_TGT-gcc -B/tools/lib/ \ AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib Second: ../binutils-2.21.1/configure --prefix=/tools \ --disable-nls --with-lib-path=/tools/lib It worked for me *From:*lfs-support-boun...@linuxfromscratch.org [mailto:lfs-support-boun...@linuxfromscratch.org] *On Behalf Of *Danny Vukobratovich *Sent:* Monday, November 07, 2011 5:54 PM *To:* LFS Support List *Subject:* Ok, now I am having issues I am using LFS 7.0 I am working on section 5.9 Binutils-2.21.1a Pass 2 I type in the first command sequence: CC=$LFS_TGT-gcc -B/tools/lib/ \ AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \ ../binutils-2.21.1/configure --prefix=/tools \ --disable-nls --with-lib-path=/tools/lib it errors out stating: configure: error: C compiler can not create executables I check the config.log file Here is an exert from where the error occurs: FATAL: kernel too old onfigure:4180: $? = 1 configure:4217: result: configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME | #define PACKAGE_TARNAME | #define PACKAGE_VERSION | #define PACKAGE_STRING | #define PACKAGE_BUGREPORT | #define PACKAGE_URL | | int | main () | { |; | return 0: | } configure:4223: error: in '/mnt/lfs/sources/binutils-build': configure:4227: error: C compiler cannot create executabables then at the end of the file, I get: configure: exit 77 this is a fresh installation and I have had no problems up until this point. Thank you very much, Danny Vukobratovich Systems Administrator Marian, Inc. www.marianinc.com http://www.marianinc.com Did you check the host system is compliant maybe post the output of version script -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
On Mon, 7 Nov 2011 23:57:21 +0330 Yaser Amini devil.princ...@gmail.com wrote: Try to execute command separately First: CC=$LFS_TGT-gcc -B/tools/lib/ \ AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib Second: ../binutils-2.21.1/configure --prefix=/tools \ --disable-nls --with-lib-path=/tools/lib No, don't. If you execute those commands separately then the CC and AR environment variables will be set for everything you run in that terminal. Just follow the book. Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Ok, now I am having issues
On Tue, Nov 8, 2011 at 6:28 AM, Danny Vukobratovich dvukobratov...@marianinc.com wrote: From: Bruce Dubbs bruce.du...@gmail.com To: LFS Support List lfs-support@linuxfromscratch.org Sent: Monday, November 7, 2011 11:42:41 AM Subject: Re: Ok, now I am having issues Danny Vukobratovich wrote: Ok, then what should I use to build my LFS if not the liveCD? Just trying to go with what is recommended...thanks, Don't top post. From Chapter 1, first paragraph: The LFS system will be built by using an already installed Linux distribution (such as Debian, Mandriva, Red Hat, or SUSE). This existing Linux system (the host) will be used as a starting point to provide necessary programs, including a compiler, linker, and shell, to build the new system. I will remove the 2nd paragraph. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page - Ok, I am downloading Fedora right now. Do I boot to it via a LiveCD or do I perform a full installation? The wording appears to be a full installation. Thanks Danny Vukobratovich System Administrator -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page You can either run it live or installed to your hard disk - if you run it live, you will lose any changes you make to the host system (such as installing required packages, etc) Since Fedora\Ubuntu\et al are intended to be desktop systems, they sometimes come without components needed to build LFS, or use different versions of the packages (mawk instead of gawk, etc) so you will need to use the hosts package manager to install any missing components - use the Host Requirements script in section 1 to determine what is installed in your host system, Note you can use the SLAX distribution, which is based on the original LFS Live CD, and contains an updated toolchain that should be able to build LFS without issue (untested, but on my list to do). You can also search the LFS mailing lists - from the July LiveCD mailing list, someone has apparently already updated the LiveCD 2011/7/12 parttor at gmail.com: 2011/5/23 parttor at gmail.com: 2011/5/22 Jeremy Huntwork jhuntwork at linuxfromscratch.org: On 5/21/11 8:53 PM, parttor at gmail.com wrote: I've created the livecd few weeks before. http://yesit.tk/livecd.html I've updated it to 2011-0709 kernel 2.6.39.3 gcc 4.6.1 glibc 2.14 now 2011-0723 released with 3.0 kernel Nice. Did you document how you built it? I did it follow these hints. http://www.linuxfromscratch.org/hints/downloads/files/lfscd-remastering-howto.txt http://www.linuxfromscratch.org/hints/downloads/files/boot-cd_easy.txt JH -- http://linuxfromscratch.org/mailman/listinfo/livecd FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page -- code farmer from lanxiangjixiao -- -- - Steve Crosby -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page