[lfs-support] Psmisc-22.19 section 6.23 problem
Hi all, I'm working on LFS 7.2 and in section 6.23 in the ./configure of Psmisc-22.19 I got the following error checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /tools/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /tools/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for tgetent in -ltinfo... no checking for tgetent in -lncurses... no checking for tgetent in -ltermcap... no configure: error: Cannot find tinfo, ncurses or termcap libraries ncurses was compiled and installed without any errors. How can I solve the problem? Israel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Psmisc-22.19 section 6.23 problem
On Thu, Jan 17, 2013 at 1:27 PM, Pierre Labastie pierre.labas...@neuf.frwrote: Le 17/01/2013 09:53, Israel Silberg a écrit : Hi all, I'm working on LFS 7.2 and in section 6.23 in the ./configure of Psmisc-22.19 I got the following error [...] checking for tgetent in -lncurses... no checking for tgetent in -ltermcap... no configure: error: Cannot find tinfo, ncurses or termcap libraries ncurses was compiled and installed without any errors. How can I solve the problem? Israel Hi, I have checking for tgetent in -ltinfo... no checking for tgetent in -lncurses... yes. SO it seems that something got wrong during the installation of ncurses. There are a bunch of instructions at the end of ncurses installation, which move libraries around and create some links. If you do not automate the build, it is very easy to forget one of those instructions. Usually the kind of error you are seeing comes from one of the ncurses links or libraries not being at the right place. Another possibility is that you exited chroot and forgot to reenter. What are the results of ls -l /lib/*curses* and ls -l /usr/lib/*curses* (in chroot)? Here are the results of the ls command: root:/sources/psmisc-22.19# ls -l /lib/*curses* lrwxrwxrwx 1 root root 18 Jan 17 08:31 /lib/libncursesw.so.5 - libncursesw.so.5.9 -rwxr-xr-x 1 root root 394184 Jan 17 08:31 /lib/libncursesw.so.5.9 root:/sources/psmisc-22.19# ls -l /usr/lib/*curses* lrwxrwxrwx 1 root root 12 Jan 17 08:39 /usr/lib/libcurses.a - libncurses.a lrwxrwxrwx 1 root root 13 Jan 17 08:38 /usr/lib/libcurses.so - libncurses.so lrwxrwxrwx 1 root root 13 Jan 17 08:38 /usr/lib/libcursesw.a - libncursesw.a -rw-r--r-- 1 root root 18 Jan 17 08:37 /usr/lib/libcursesw.so lrwxrwxrwx 1 root root 15 Jan 17 08:35 /usr/lib/libncurses++.a - libncurses++w.a -rw-r--r-- 1 root root 131800 Jan 17 08:31 /usr/lib/libncurses++w.a lrwxrwxrwx 1 root root 13 Jan 17 08:35 /usr/lib/libncurses.a - libncursesw.a -rw-r--r-- 1 root root 17 Jan 17 08:35 /usr/lib/libncurses.so lrwxrwxrwx 1 root root 17 Jan 17 08:42 /usr/lib/libncurses.so.5 - libncurses.so.5.9 -rwxr-xr-x 1 root root 328441 Jan 17 08:42 /usr/lib/libncurses.so.5.9 -rw-r--r-- 1 root root 554100 Jan 17 08:31 /usr/lib/libncursesw.a lrwxrwxrwx 1 root root 26 Jan 17 08:32 /usr/lib/libncursesw.so - ../../lib/libncursesw.so.5 I'm in chroot environment. Regards, Israel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Psmisc-22.19 section 6.23 problem
On Thu, Jan 17, 2013 at 3:31 PM, Pierre Labastie pierre.labas...@neuf.frwrote: Le 17/01/2013 13:50, Israel Silberg a écrit : root:/sources/psmisc-22.19# ls -l /lib/*curses* lrwxrwxrwx 1 root root 18 Jan 17 08:31 /lib/libncursesw.so.5 - libncursesw.so.5.9 -rwxr-xr-x 1 root root 394184 Jan 17 08:31 /lib/libncursesw.so.5.9 root:/sources/psmisc-22.19# ls -l /usr/lib/*curses* lrwxrwxrwx 1 root root 12 Jan 17 08:39 /usr/lib/libcurses.a - libncurses.a lrwxrwxrwx 1 root root 13 Jan 17 08:38 /usr/lib/libcurses.so - libncurses.so lrwxrwxrwx 1 root root 13 Jan 17 08:38 /usr/lib/libcursesw.a - libncursesw.a -rw-r--r-- 1 root root 18 Jan 17 08:37 /usr/lib/libcursesw.so lrwxrwxrwx 1 root root 15 Jan 17 08:35 /usr/lib/libncurses++.a - libncurses++w.a -rw-r--r-- 1 root root 131800 Jan 17 08:31 /usr/lib/libncurses++w.a lrwxrwxrwx 1 root root 13 Jan 17 08:35 /usr/lib/libncurses.a - libncursesw.a -rw-r--r-- 1 root root 17 Jan 17 08:35 /usr/lib/libncurses.so lrwxrwxrwx 1 root root 17 Jan 17 08:42 /usr/lib/libncurses.so.5 - libncurses.so.5.9 -rwxr-xr-x 1 root root 328441 Jan 17 08:42 /usr/lib/libncurses.so.5.9 -rw-r--r-- 1 root root 554100 Jan 17 08:31 /usr/lib/libncursesw.a lrwxrwxrwx 1 root root 26 Jan 17 08:32 /usr/lib/libncursesw.so - ../../lib/libncursesw.so.5 Adding to my previous message: It seems that the libraries in /lib are older than the same libraries in /usr/lib. It looks like you rebuilt the package or you typed make install again after finishing the files moving and linking. I am not sure what the consequences may be, but I would try something like rm /lib/*curses* /usr/lib/{*curses*, libform*, libpanel*, libmenu*} and build ncurses again. Good luck Pierre -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page Hi Pierre, I did the cat from the first answer, and got for the second file a reply that looks like a binary file. Aout the timing of the files, I complied the package at 8:31 and the rest are around 8:40-42 because I'm doing the LFS beside other things so it takes me a few minutes to see that a step is finished and to proceed to the next step. Regards, Israel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] LFS 7.2 section 6.52 kmod-9
On Wed, Dec 26, 2012 at 7:09 PM, Bruce Dubbs bdu...@linuxfromscratch.orgwrote: On Wed, Dec 26, 2012 at 7:44 AM, Israel Silberg isr...@silberg.co.il wrote: I'm building LFS 7.2, and during the running of the configure section of the kmod-9 I got the following: No package 'liblzma' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. How can I fix it? during the compilation of xz I didn't get any error messages. You should have liblzma.so in /tools/lib and lzma.h in /tools/include. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page Hi Bruce, Yes bith files are in their described place but they are not under /usr/lib (shouldn't they be since xz is already complied in chapter 6? Israel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] LFS 7.2 section 6.52 kmod-9
Hi all, I'm building LFS 7.2, and during the running of the configure section of the kmod-9 I got the following: checking for liblzma... no configure: error: Package requirements (liblzma = 4.99) were not met: No package 'liblzma' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables liblzma_CFLAGS and liblzma_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. How can I fix it? during the compilation of xz I didn't get any error messages. Thanks, Israel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Lynx 2.8.8 (7) now working on currect SVN LFS.
On Sep 26, 2012 5:42 PM, Peter Hanzel hanzelpe...@gmail.com wrote: Hello. I figured out that it is some problem with VMPlayer on windows7 64bit. I placed my LFS build on VMPlayer on my notebook with WinXP 32 bit and it works without problems. So it is some problem with network/VMPlayer/Win7 64 bit. So it has nothing with LFS itself. Regards On Wed, Sep 26, 2012 at 5:13 PM, Bruce Dubbs bruce.du...@gmail.com wrote: Peter Hanzel wrote: Hello. I succesfully build LFS from SVN. it is SVN-20120905. Then i compiled lynx 2.8.8dev10 and it compile fine. But when I try to open page from internet is freezes in Http Request Sent; waiting for response. A no response. But lynx -dump www.google.sk etc. is working correctly. Also wget is working ok. When I also open a local HTML file it is working fine. I also compiled lynx2.8.7rel2 and the same result. But in my previous LFS (from 04.2012) it was working. All pages from the internet fail? I'd think its a network problem. -- 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 Check if the nic of the vm is configured to bridged Israel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] (no subject)
On Fri, Sep 21, 2012 at 2:35 AM, Mikie k...@mikienet.com wrote: Did you remove backslashes at the end of lines? It should look like below: ./configure --prefix=/usr \ --libexecdir=/usr/lib \ ... Try just copypaste from the book. -- Pozdrawiam, Tomasz Sekściński Israel, Those back-slashes mean continue on the next line ... so that you can see each option on a single line. You can try it at a bash prompt. Type a single back slash and it does not return but starts a new line for the rest of your command. On each new line you can end with another back slash until you are ready to hit return. Enjoy. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page Hi all, The problem was in coping from the book. When I copied the command to a text editor and removed the new line and made everything in one line and copied it to the command line of the terminal everything went OK (for now). Israel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Chroot problem
On Sep 19, 2012 6:56 PM, Bruce Dubbs bruce.du...@gmail.com wrote: Israel Silberg wrote: On Tue, Sep 11, 2012 at 7:21 PM, Bruce Dubbs bruce.du...@gmail.com wrote: root:/sources/coreutils-8.19# su nobody -s /bin/bash -c PATH=$PATH make RUN_EXPENSIVE_TESTS=yes -k check || true su: Cannot drop the controlling terminal Before you enter chroot, mount /dev, /proc, /sys, etc according to Section 6.2. The main question is can I move on with this error Yes. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page Thank you very much,going back to building my LFS. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] (no subject)
Hi All, I'm about to loose any hope of finishing this LFS build. During the MAN-DB compilation in section 6.55 in the section: ./configure --prefix=/usr --libexecdir=/usr/lib --docdir=/usr/share/doc/man-db-2.6.2 --sysconfdir=/etc --disable-setuid --with-browser=/usr/bin/lynx --with-vgrind=/usr/bin/vgrind --with-grap=/usr/bin/grap I get the following result: root: /sources/man-db-2.6.2# --libexecdir=/usr/lib bash: --libexecdir=/usr/lib: No such file or directory root: /sources/man-db-2.6.2# --docdir=/usr/share/doc/man-db-2.6.2 bash: --docdir=/usr/share/doc/man-db-2.6.2: No such file or directory root: /sources/man-db-2.6.2# --sysconfdir=/etc bash: --sysconfdir=/etc: No such file or directory root: /sources/man-db-2.6.2# --disable-setuid bash: --disable-setuid: command not found root: /sources/man-db-2.6.2# --with-browser=/usr/bin/lynx bash: --with-browser=/usr/bin/lynx: No such file or directory root: /sources/man-db-2.6.2# --with-vgrind=/usr/bin/vgrind bash: --with-vgrind=/usr/bin/vgrind: No such file or directory root: /sources/man-db-2.6.2# --with-grap=/usr/bin/grap bash: --with-grap=/usr/bin/grap: No such file or directory I checked and indeed I don't have these file under /usr/bin What can be the reason? What have I done wrong? Regards, Israel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] lfs 7.2 section 6.55 man-db
On Sep 20, 2012 4:09 PM, Tomasz Sekściński tom...@sekscinski.pl wrote: Dnia 2012-09-20, o godz. 16:03:03 Israel Silberg isr...@silberg.co.il napisał(a): Hi All, I'm about to loose any hope of finishing this LFS build. During the MAN-DB compilation in section 6.55 in the section: ./configure --prefix=/usr --libexecdir=/usr/lib --docdir=/usr/share/doc/man-db-2.6.2 --sysconfdir=/etc --disable-setuid --with-browser=/usr/bin/lynx --with-vgrind=/usr/bin/vgrind --with-grap=/usr/bin/grap Did you remove backslashes at the end of lines? It should look like below: ./configure --prefix=/usr \ --libexecdir=/usr/lib \ ... Try just copypaste from the book. -- Pozdrawiam, Tomasz Sekściński -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page Sorry for not putting subject. I copied the command from the command line in the terminal thats why there are no back slashes. I have tried also copy paste everything from the book to the terminal, still same result Israel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] lfs 7.2 section 6.55 man-db
On Sep 20, 2012 9:44 PM, Ken Moffat zarniwh...@ntlworld.com wrote: O Thu, Sep 20, 2012 at 06:12:37PM +0300, Israel Silberg wrote: On Sep 20, 2012 4:09 PM, Tomasz Sekściński tom...@sekscinski.pl wrote: Dnia 2012-09-20, o godz. 16:03:03 Israel Silberg isr...@silberg.co.il napisał(a): Hi All, I'm about to loose any hope of finishing this LFS build. During the MAN-DB compilation in section 6.55 in the section: ./configure --prefix=/usr --libexecdir=/usr/lib --docdir=/usr/share/doc/man-db-2.6.2 --sysconfdir=/etc --disable-setuid --with-browser=/usr/bin/lynx --with-vgrind=/usr/bin/vgrind --with-grap=/usr/bin/grap Did you remove backslashes at the end of lines? It should look like below: ./configure --prefix=/usr \ --libexecdir=/usr/lib \ I copied the command from the command line in the terminal thats why there are no back slashes. I have tried also copy paste everything from the book to the terminal, still same result Israel Well, your error messages (pasted below) show that you didn't have a continuation after the first line. root: /sources/man-db-2.6.2# --libexecdir=/usr/lib bash: --libexecdir=/usr/lib: No such file or directory root: /sources/man-db-2.6.2# --docdir=/usr/share/doc/man-db-2.6.2 bash: --docdir=/usr/share/doc/man-db-2.6.2: No such file or directory I assume that configure ran through with just --prefix=/usr. Every subsequent line has been interpreted as a new command, so it is definitely not being treated as part of the configure command. If you look at the history, I think you will find that is the case (i.e. the last configure will end at --prefix=/usr, and the line starting --libexecdir will be a separate command with its own number in the history. If it had pasted correctly, only one long command would show for this, from ./configure all the way through to --with-grap=/usr/bin/grap. When you are entering commands that continue on later lines, '\' has to be the last character of each line you key in, immediately followed by Enter. If you paste, '\' should be followed by the newline character. Putting a space after '\' will break things. I think something went wrong with how you pasted it, but I cannot see how you would manage to do that (unless the version of the book you are using has a spurious space - my local copy of 7.2 looks fine). ĸ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 thanks Ken, I'll check it again on Sunday -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Chroot problem
On Tue, Sep 11, 2012 at 7:21 PM, Bruce Dubbs bruce.du...@gmail.com wrote: Israel Silberg wrote: This is the actual command line and answer that I get: root:/sources/coreutils-8.19# su nobody -s /bin/bash -c PATH=$PATH make RUN_EXPENSIVE_TESTS=yes -k check || true su: Cannot drop the controlling terminal Before you enter chroot, mount /dev, /proc, /sys, etc according to Section 6.2. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page Hi all, I'm attaching the log for the check. The main question is can I move on with this error in the system or is it a large problem? I did the compilation over 5 times all with the same results. --Israel check.log.tar.bz2 Description: BZip2 compressed data -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] LFS v7.2 Section 6.26.1
Hi all during the test with the command: su nobody -s /bin/bash \ -c PATH=$PATH make RUN_EXPENSIVE_TESTS=yes -k check || true I get the following results: make[7]: Entering directory `/sources/coreutils-8.19/gnulib-tests' make all-recursive make[8]: Entering directory `/sources/coreutils-8.19/gnulib-tests' Making all in . make[9]: Entering directory `/sources/coreutils-8.19/gnulib-tests' make[9]: Nothing to be done for `all-am'. make[9]: Leaving directory `/sources/coreutils-8.19/gnulib-tests' make[8]: Leaving directory `/sources/coreutils-8.19/gnulib-tests' make[7]: Leaving directory `/sources/coreutils-8.19/gnulib-tests' Testsuite summary for GNU coreutils 8.19 # TOTAL: 315 # PASS: 293 # SKIP: 22 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 make[6]: Leaving directory `/sources/coreutils-8.19/gnulib-tests' make[5]: Leaving directory `/sources/coreutils-8.19/gnulib-tests' make[4]: Leaving directory `/sources/coreutils-8.19/gnulib-tests' make[3]: Leaving directory `/sources/coreutils-8.19/gnulib-tests' make[2]: Leaving directory `/sources/coreutils-8.19/gnulib-tests' make[2]: Entering directory `/sources/coreutils-8.19' make[2]: Nothing to be done for `check-am'. make[2]: Leaving directory `/sources/coreutils-8.19' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/sources/coreutils-8.19' make: *** [check] Error 2 The numbers of the pass skip and xfail are identical to the results in the results logs site but I get these two errors at the end that I don't know if I can proceed with them. I did this step over 5 times and every time I get the same results. Regards, Israel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] Chroot problem
Hi all, During the compilation of coreutils I encountered a problem that required a reboot. After the reboot i chrooted like it says in the beggining of chapter 6 and after it the coreutils check with the NON_ROOT... Writes me that it can't open a sub shell. Whst can be the reason? Should I start from ch 6 again? Israel On Sep 10, 2012 5:36 PM, Baho Utot baho-u...@columbus.rr.com wrote: -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Chroot problem
I have put lfs in fstab Israel On Sep 10, 2012 9:30 PM, Bruce Dubbs bruce.du...@gmail.com wrote: Israel Silberg wrote: Hi all, During the compilation of coreutils I encountered a problem that required a reboot. After the reboot i chrooted like it says in the beggining of chapter 6 and after it the coreutils check with the NON_ROOT... Writes me that it can't open a sub shell. Whst can be the reason? Should I start from ch 6 again? Did you remount the partitions according to Section 6.2? -- 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: [lfs-support] Chroot problem
On Mon, Sep 10, 2012 at 9:58 PM, Israel Silberg isr...@silberg.co.ilwrote: I have put lfs in fstab Israel On Sep 10, 2012 9:30 PM, Bruce Dubbs bruce.du...@gmail.com wrote: Israel Silberg wrote: Hi all, During the compilation of coreutils I encountered a problem that required a reboot. After the reboot i chrooted like it says in the beggining of chapter 6 and after it the coreutils check with the NON_ROOT... Writes me that it can't open a sub shell. Whst can be the reason? Should I start from ch 6 again? Did you remount the partitions according to Section 6.2? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page This is the actual command line and answer that I get: root:/sources/coreutils-8.19# su nobody -s /bin/bash -c PATH=$PATH make RUN_EXPENSIVE_TESTS=yes -k check || true su: Cannot drop the controlling terminal I hope this would help more. Regards, Israel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] LFS v7.2 section 6.24.1 e2fsprogs
Hi all, In section e2fsprogs install-libs I get the following error root:/sources/e2fsprogs-1.42.5/build# install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info install-info: No such file or directory for /usr/share/info/com_err.info What can be wrong? Is it very critical or can I continue? Thanks, Israel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] LFS v7.2 section 6.24.1 e2fsprogs
On Sun, Sep 9, 2012 at 7:51 PM, Bruce Dubbs bruce.du...@gmail.com wrote: Israel Silberg wrote: Hi all, In section e2fsprogs install-libs I get the following error root:/sources/e2fsprogs-1.42.5/build# install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info install-info: No such file or directory for /usr/share/info/com_err.info What can be wrong? Is it very critical or can I continue? It's not critical, but it is puzzling. Did the previous instructions work OK? 1. gunzip -v /usr/share/info/libext2fs.info.gz 2, install-info --dir-file=/usr/share/info/dir \ /usr/share/info/libext2fs.info 3. makeinfo -o doc/com_err.info ../lib/et/com_err.texinfo 4. install -v -m644 doc/com_err.info /usr/share/info 5, install-info --dir-file=/usr/share/info/dir \ /usr/share/info/com_err.info Note that 2 is almost identical to 5. The only thing that install-info does is update the dir file in /usr/share/info. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page Hi Bruce, Thanks for the answer. I somehow jump with my eyes from the first install-info to the second one hence the error. Now it's OK. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] LFS 7.2 GCC pass 1
Another day, another try. I extracted the gcc again and did it again, and this time it worked. Thanks all for your support. On Tue, Sep 4, 2012 at 12:03 PM, Richard Melville richard.melvill...@googlemail.com wrote: Walter Webb wrote: I just joined this list and can't respond properly. I had a different file not found than Israel Silberg. I unset MAKEFLAGS and retried, and it worked. I'm glad you got it to build, but that's the conclusion of a simple empiricist. It's like me saying that because I went to the kitchen and made a cup of tea before it built successfully, then it must have been the tea. I also unset MAKEFLAGS from -j 2 and it *didn't* work for me. Good point. Using -j 1 can cause problems in some packages. It can cause race conditions that sometimes cause a failure. I suppose we can put a warning about this in the gcc sections, but we'd need it in three places. -- Bruce There's already a warning near the beginning of the book. Richard -- 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
[lfs-support] LFS 7.2 GCC pass 1
Hi all, I started working on LFS 7.2 and I get the following error in GCC 4.7.1 pass 1 (section 5.5.1) as far as I can tell I'm following the book to the letter and the configure I have copied and pasted. I tried the section three times already and every time I get the same error, is it OK or should I check something? My host is Ubuntu 12.04 and the prerequisites passed. the error: checking for MPFR... no configure: error: libmpfr not found or uses a different ABI (including static vs shared). make[2]: *** [configure-stage1-mpc] Error 1 make[2]: Leaving directory `/mnt/lfs/sources/gcc-build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/mnt/lfs/sources/gcc-build' make: *** [all] Error 2 I have done the tar and mv of the MPFR-3.1.1 for sure. Regards, Israel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] LFS 7.2 GCC pass 1
Hi, Thanks for your reply. I extracted all of these packages from within the GCC-4.7.1 folder and the configure and make are from gcc-build Here is the output for ls -lah of gcc-4.7.1 lfs@kitt-Lenovo-Product:/mnt/lfs/sources/gcc-4.7.1$ ls -lah total 11M drwxr-xr-x 33 lfs lfs 4.0K Sep 3 09:25 . drwxrwxrwt 4 lfs lfs 4.0K Sep 3 09:27 .. -rw-r--r-- 1 lfs lfs 38K Jul 4 2003 ABOUT-NLS -rw-r--r-- 1 lfs lfs 18K Jul 14 2005 COPYING -rw-r--r-- 1 lfs lfs 26K Jul 14 2005 COPYING.LIB -rw-r--r-- 1 lfs lfs 3.3K Apr 9 2009 COPYING.RUNTIME -rw-r--r-- 1 lfs lfs 35K Jul 17 2007 COPYING3 -rw-r--r-- 1 lfs lfs 7.5K Jul 17 2007 COPYING3.LIB -rw-r--r-- 1 lfs lfs 524K Jun 14 11:27 ChangeLog -rw-r--r-- 1 lfs lfs 3.2K May 13 2004 ChangeLog.tree-ssa drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:48 INSTALL -rw-r--r-- 1 lfs lfs 58 Jun 14 11:48 LAST_UPDATED -rw-r--r-- 1 lfs lfs 22K Feb 17 2012 MAINTAINERS -rw-r--r-- 1 lfs lfs 6.0M Jun 14 13:01 MD5SUMS -rw-r--r-- 1 lfs lfs 25K Jan 2 2012 Makefile.def -rw-r--r-- 1 lfs lfs 1.4M May 16 18:54 Makefile.in -rw-r--r-- 1 lfs lfs 67K May 16 18:54 Makefile.tpl -rw-r--r-- 1 lfs lfs 579K Jun 14 11:48 NEWS -rw-r--r-- 1 lfs lfs 815 Oct 10 2009 README drwxr-xr-x 7 lfs lfs 4.0K Jun 14 11:35 boehm-gc -rwxr-xr-x 1 lfs lfs 3.7K Aug 22 2009 compile drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:35 config -rw-r--r-- 1 lfs lfs 25K Mar 22 2011 config-ml.in -rwxr-xr-x 1 lfs lfs 44K Jun 6 2011 config.guess -rwxr-xr-x 1 lfs lfs 15K Feb 13 2011 config.rpath -rwxr-xr-x 1 lfs lfs 35K Nov 2 2011 config.sub -rwxr-xr-x 1 lfs lfs 458K Feb 2 2012 configure -rw-r--r-- 1 lfs lfs 101K Feb 2 2012 configure.ac drwxr-xr-x 5 lfs lfs 4.0K Jun 14 11:35 contrib -rwxr-xr-x 1 lfs lfs 19K Aug 22 2009 depcomp drwxr-xr-x 3 lfs lfs 4.0K Jun 14 11:48 fixincludes drwxr-xr-x 17 lfs lfs 20K Sep 3 09:27 gcc drwxr-xr-x 14 lfs lfs 4.0K May 6 14:20 gmp drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:37 gnattools drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:35 include -rwxr-xr-x 1 lfs lfs 14K Aug 22 2009 install-sh drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:34 intl drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:48 libada drwxr-xr-x 4 lfs lfs 4.0K Jun 14 11:48 libcpp drwxr-xr-x 4 lfs lfs 4.0K Jun 14 11:37 libdecnumber drwxr-xr-x 7 lfs lfs 4.0K Jun 14 11:48 libffi drwxr-xr-x 4 lfs lfs 4.0K Jun 14 11:37 libgcc drwxr-xr-x 9 lfs lfs 4.0K Jun 14 11:48 libgfortran drwxr-xr-x 6 lfs lfs 4.0K Jun 14 11:47 libgo drwxr-xr-x 4 lfs lfs 4.0K Jun 14 12:02 libgomp drwxr-xr-x 4 lfs lfs 4.0K Jun 14 11:35 libiberty drwxr-xr-x 4 lfs lfs 4.0K Jun 14 13:01 libitm drwxr-xr-x 15 lfs lfs 4.0K Jun 14 11:37 libjava drwxr-xr-x 3 lfs lfs 4.0K Jun 14 11:34 libmudflap drwxr-xr-x 4 lfs lfs 4.0K Jun 14 11:47 libobjc drwxr-xr-x 5 lfs lfs 4.0K Jun 14 12:49 libquadmath drwxr-xr-x 3 lfs lfs 4.0K Jun 14 11:48 libssp drwxr-xr-x 11 lfs lfs 4.0K Jun 14 11:34 libstdc++-v3 -rwxr-xr-x 1 lfs lfs 3.3K Sep 20 2007 libtool-ldflags -rw-r--r-- 1 lfs lfs 258K Nov 21 2011 libtool.m4 -rw-r--r-- 1 lfs lfs 1.8K Sep 26 2008 ltgcc.m4 -rw-r--r-- 1 lfs lfs 244K Jan 13 2011 ltmain.sh drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:35 lto-plugin -rw-r--r-- 1 lfs lfs 12K Dec 5 2009 ltoptions.m4 -rw-r--r-- 1 lfs lfs 4.3K Sep 26 2008 ltsugar.m4 -rw-r--r-- 1 lfs lfs 703 Dec 5 2009 ltversion.m4 -rw-r--r-- 1 lfs lfs 6.0K Dec 5 2009 lt~obsolete.m4 drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:37 maintainer-scripts -rwxr-xr-x 1 lfs lfs 12K Aug 22 2009 missing -rwxr-xr-x 1 lfs lfs 2.2K Jul 22 2000 mkdep -rwxr-xr-x 1 lfs lfs 3.5K Aug 22 2009 mkinstalldirs -rwxr-xr-x 1 lfs lfs 2.6K Feb 12 2011 move-if-change drwxr-xr-x 6 lfs lfs 4.0K Jul 19 15:46 mpc drwxr-xr-x 9 lfs lfs 4.0K Jul 3 18:02 mpfr -rwxr-xr-x 1 lfs lfs 2.3K Jul 14 2005 symlink-tree -rwxr-xr-x 1 lfs lfs 6.1K Aug 22 2009 ylwrap drwxr-xr-x 11 lfs lfs 4.0K Jun 14 11:34 zlib On Mon, Sep 3, 2012 at 11:22 AM, William Harrington berzerk...@cox.netwrote: On Sep 3, 2012, at 01:53 AM, Israel Silberg wrote: checking for MPFR... no configure: error: libmpfr not found or uses a different ABI (including static vs shared). Most likely trying to use the host's installed mpfr. First extract the gcc tarball from the sources directory and then change to the directory created. Only then should you proceed with the instructions below. (note at gcc pass1) Example: cd $LFS/sources tar xf gcc-4.7.1.tar.bz2 cd gcc-4.7.1 tar -Jxf ../mpfr-3.1.1.tar.xz mv -v mpfr-3.1.1 mpfr tar -Jxf ../gmp-5.0.5.tar.xz mv -v gmp-5.0.5 gmp tar -zxf ../mpc-1.0.tar.gz mv -v mpc-1.0 mpc .rest of book commands for gcc pass1 Section 5.3 is clear, the note of gcc is clear. not sure what else could be said to make it clear. Prerequisites are clear. Sincerely, William Harrington -- 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
Re: [lfs-support] LFS 7.2 GCC pass 1
Thaks all for the replies, Richard, what do you mean by puting it in a script to what is going on? How do I make the script write me the data I need? I know some bash scripting but clearly not enogh :-) And another question, if I want in the end tohave a LFS or BLFS system without gcc in it, shold I keep it in the toolchain or should I remove it when the system is done? How can I remove it? Should I keep its installation folder and not delete it in order to do make remove? On Sep 3, 2012 7:24 PM, Richard Melville richard.melvill...@googlemail.com wrote: I extracted all of these packages from within the GCC-4.7.1 folder and the configure and make are from gcc-build Here is the output for ls -lah of gcc-4.7.1 lfs@kitt-Lenovo-Product:/mnt/lfs/sources/gcc-4.7.1$ ls -lah total 11M drwxr-xr-x 33 lfs lfs 4.0K Sep 3 09:25 . drwxrwxrwt 4 lfs lfs 4.0K Sep 3 09:27 .. -rw-r--r-- 1 lfs lfs 38K Jul 4 2003 ABOUT-NLS -rw-r--r-- 1 lfs lfs 18K Jul 14 2005 COPYING -rw-r--r-- 1 lfs lfs 26K Jul 14 2005 COPYING.LIB -rw-r--r-- 1 lfs lfs 3.3K Apr 9 2009 COPYING.RUNTIME -rw-r--r-- 1 lfs lfs 35K Jul 17 2007 COPYING3 -rw-r--r-- 1 lfs lfs 7.5K Jul 17 2007 COPYING3.LIB -rw-r--r-- 1 lfs lfs 524K Jun 14 11:27 ChangeLog -rw-r--r-- 1 lfs lfs 3.2K May 13 2004 ChangeLog.tree-ssa drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:48 INSTALL -rw-r--r-- 1 lfs lfs 58 Jun 14 11:48 LAST_UPDATED -rw-r--r-- 1 lfs lfs 22K Feb 17 2012 MAINTAINERS -rw-r--r-- 1 lfs lfs 6.0M Jun 14 13:01 MD5SUMS -rw-r--r-- 1 lfs lfs 25K Jan 2 2012 Makefile.def -rw-r--r-- 1 lfs lfs 1.4M May 16 18:54 Makefile.in -rw-r--r-- 1 lfs lfs 67K May 16 18:54 Makefile.tpl -rw-r--r-- 1 lfs lfs 579K Jun 14 11:48 NEWS -rw-r--r-- 1 lfs lfs 815 Oct 10 2009 README drwxr-xr-x 7 lfs lfs 4.0K Jun 14 11:35 boehm-gc -rwxr-xr-x 1 lfs lfs 3.7K Aug 22 2009 compile drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:35 config -rw-r--r-- 1 lfs lfs 25K Mar 22 2011 config-ml.in -rwxr-xr-x 1 lfs lfs 44K Jun 6 2011 config.guess -rwxr-xr-x 1 lfs lfs 15K Feb 13 2011 config.rpath -rwxr-xr-x 1 lfs lfs 35K Nov 2 2011 config.sub -rwxr-xr-x 1 lfs lfs 458K Feb 2 2012 configure -rw-r--r-- 1 lfs lfs 101K Feb 2 2012 configure.ac drwxr-xr-x 5 lfs lfs 4.0K Jun 14 11:35 contrib -rwxr-xr-x 1 lfs lfs 19K Aug 22 2009 depcomp drwxr-xr-x 3 lfs lfs 4.0K Jun 14 11:48 fixincludes drwxr-xr-x 17 lfs lfs 20K Sep 3 09:27 gcc drwxr-xr-x 14 lfs lfs 4.0K May 6 14:20 gmp drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:37 gnattools drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:35 include -rwxr-xr-x 1 lfs lfs 14K Aug 22 2009 install-sh drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:34 intl drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:48 libada drwxr-xr-x 4 lfs lfs 4.0K Jun 14 11:48 libcpp drwxr-xr-x 4 lfs lfs 4.0K Jun 14 11:37 libdecnumber drwxr-xr-x 7 lfs lfs 4.0K Jun 14 11:48 libffi drwxr-xr-x 4 lfs lfs 4.0K Jun 14 11:37 libgcc drwxr-xr-x 9 lfs lfs 4.0K Jun 14 11:48 libgfortran drwxr-xr-x 6 lfs lfs 4.0K Jun 14 11:47 libgo drwxr-xr-x 4 lfs lfs 4.0K Jun 14 12:02 libgomp drwxr-xr-x 4 lfs lfs 4.0K Jun 14 11:35 libiberty drwxr-xr-x 4 lfs lfs 4.0K Jun 14 13:01 libitm drwxr-xr-x 15 lfs lfs 4.0K Jun 14 11:37 libjava drwxr-xr-x 3 lfs lfs 4.0K Jun 14 11:34 libmudflap drwxr-xr-x 4 lfs lfs 4.0K Jun 14 11:47 libobjc drwxr-xr-x 5 lfs lfs 4.0K Jun 14 12:49 libquadmath drwxr-xr-x 3 lfs lfs 4.0K Jun 14 11:48 libssp drwxr-xr-x 11 lfs lfs 4.0K Jun 14 11:34 libstdc++-v3 -rwxr-xr-x 1 lfs lfs 3.3K Sep 20 2007 libtool-ldflags -rw-r--r-- 1 lfs lfs 258K Nov 21 2011 libtool.m4 -rw-r--r-- 1 lfs lfs 1.8K Sep 26 2008 ltgcc.m4 -rw-r--r-- 1 lfs lfs 244K Jan 13 2011 ltmain.sh drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:35 lto-plugin -rw-r--r-- 1 lfs lfs 12K Dec 5 2009 ltoptions.m4 -rw-r--r-- 1 lfs lfs 4.3K Sep 26 2008 ltsugar.m4 -rw-r--r-- 1 lfs lfs 703 Dec 5 2009 ltversion.m4 -rw-r--r-- 1 lfs lfs 6.0K Dec 5 2009 lt~obsolete.m4 drwxr-xr-x 2 lfs lfs 4.0K Jun 14 11:37 maintainer-scripts -rwxr-xr-x 1 lfs lfs 12K Aug 22 2009 missing -rwxr-xr-x 1 lfs lfs 2.2K Jul 22 2000 mkdep -rwxr-xr-x 1 lfs lfs 3.5K Aug 22 2009 mkinstalldirs -rwxr-xr-x 1 lfs lfs 2.6K Feb 12 2011 move-if-change drwxr-xr-x 6 lfs lfs 4.0K Jul 19 15:46 mpc drwxr-xr-x 9 lfs lfs 4.0K Jul 3 18:02 mpfr -rwxr-xr-x 1 lfs lfs 2.3K Jul 14 2005 symlink-tree -rwxr-xr-x 1 lfs lfs 6.1K Aug 22 2009 ylwrap drwxr-xr-x 11 lfs lfs 4.0K Jun 14 11:34 zlib I know it's frustrating -- it's the same bug that I and numerous others have experienced, but none of the team will accept that it's a bug. It took me four or five attempts to get GCC to build, but my problem was at pass 2. At one attempt I even copied and pasted the whole instruction set and it still failed at the same point that you've found. Bruce suggested wrapping the commands in a script so you can see what's happening, and that seems like a good idea, however I had already built it by then by doing nothing different
Re: [lfs-support] LFS 7.2 GCC pass 1
And another thing, when you have a compiler you never know if a software works because you wrote it good or because it has the compiler's enviroment. Anotger question a bit OT, can a LFS be built from rpms so we will have a comfertable way to update it? On Sep 3, 2012 9:21 PM, Bruce Dubbs bruce.du...@gmail.com wrote: Eleanore Boyd wrote: On 9/3/2012 12:24 PM, Israel Silberg wrote: Thaks all for the replies, Richard, what do you mean by puting it in a script to what is going on? How do I make the script write me the data I need? I know some bash scripting but clearly not enogh :-) And another question, if I want in the end tohave a LFS or BLFS system without gcc in it, shold I keep it in the toolchain or should I remove it when the system is done? How can I remove it? Should I keep its installation folder and not delete it in order to do make remove? Why do you want to remove gcc at all? If you want to add ANY new programs at all, you'll need gcc in order to compile and install them properly. Even if you want to use other compilers, they still need to be compiled and installed with gcc prior to removing gcc at all. Removing gcc can do a couple of things. First is saves some space. Second, it makes is more difficult for a bad guy to compile malware for the system. The original worm, the Morris worm around 1988, propagated itself via email where sendmail automatically compiled a program and ran it. That hole has been closed for a long time, but in theory, the same thing can happen if the compiler is present. -- 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: [lfs-support] remove or hide the build tools - was LFS 7.2 GCC pass 1
Thanks for the clear explanation On Sep 3, 2012 11:03 PM, Tobias Gasser l...@ebp-gasser.ch wrote: Am 03.09.2012 19:24, schrieb Israel Silberg: And another question, if I want in the end tohave a LFS or BLFS system without gcc in it, shold I keep it in the toolchain or should I remove it when the system is done? i just add --bindir=${DEVLOP} --sbindir=${DEVLOP} to the following packages configure-options: gcc glibc automake autoconf pkgconfig libtool binutils there might be some other packages to consider, but for me these seem to be sufficient. root and lfsuser (the user who builds all the stuff) have the following added to their profile DEVLOP=/home/lfsuser/devlop PATH=${DEVLOP}:${PATH} no user but root and lfsuser have access to ${DEVLOP} by chown lfsuser.root ${DEVLOP} everything but bin and sbin files are install in the usual place. but the binaries are some kind of hidden. binutils is a little special: some binaries are installed in ${DEVLOP} AND /usr/bin (ar as ld ld.bfd objcopy objdump ranlib strip) which i delete from /usr/bin to have juse one copy in ${DEVLOP} if there is need, you can just move a file from ${DEVLOP} to /usr/bin. i do so for size and strings from binutils and i had to make a symlink from ${DEVLOP}/cpp to /lib/cpp as some packages require /lib/cpp (don't ask which - it's quite some time ago i 'invented' this 'security scheme' for my servers) to be even more paranoid, just move all the stuff in ${DEVLOP} to an usb stick - it's less than 8mb of data! whenever you have to build something, just insert the stick and mount it to ${DEVLOP}. that's what i did first. but as i have to maintain the servers over ssh (or travel for hours), i dropped it - except for the client-systems at our local school. tobias -- 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
[lfs-support] GMP 5.0.4 cmpilation - chapter 6.14 - LFS version 7.1
Hi all, I'm a first time LFS maker. when I try to run the ./configure --prefix=/usr --enable-cxx --enable-mpbsd I get the following output: checking build system type... core2-pc-linux-gnu checking host system type... core2-pc-linux-gnu checking for a BSD-compatible install... /tools/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /tools/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking compiler gcc -O2 -pedantic -m64 ... no checking ABI=32 checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer ... yes checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer has sizeof(long)==4... yes checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=core2... yes checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=core2 -march=core2... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking how to run the C preprocessor... gcc -std=gnu99 -E checking build system compiler gcc -std=gnu99... yes checking for build system preprocessor... gcc -std=gnu99 -E checking for build system executable suffix... checking whether build system compiler is ANSI... yes checking for build system compiler math library... -lm checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking C++ compiler g++ -m32 -O2 -pedantic -fomit-frame-pointer -mtune=core2 -march=core2... no checking C++ compiler g++ -g -O2... no configure: error: C++ compiler not available, see config.log for details I attached the config.log file too. Up until this step everything was OK but 9 minor errors in the make check of the binutils 2.22 I'm doing the LFS on Ubuntu 12.04 that has been installed and used solely for this purpose. config.log Description: Binary data -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] GMP 5.0.4 cmpilation - chapter 6.14 - LFS version 7.1
Hi Bruce, Yes I have the file g++ under /tools/bin in the chroot environment. On Tue, Jul 24, 2012 at 7:26 PM, Bruce Dubbs bruce.du...@gmail.com wrote: Israel Silberg wrote: Hi all, I'm a first time LFS maker. when I try to run the ./configure --prefix=/usr --enable-cxx --enable-mpbsd I get the following output: checking C++ compiler g++ -g -O2... no configure: error: C++ compiler not available, see config.log for details You either don't have gcc installed properly or have a path problem. Do you have a /tools directory in chroot? Do you have /tools/bin/g++? -- 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