Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 01-14-2007, 06:55 AM   #1
Registered: Jan 2005
Location: Vancouver, WA
Distribution: Suse 10.2, FreeBSD 6.2
Posts: 175

Rep: Reputation: 32
Error 5.4.1 install gcc


I was on step 5.4.1 of the manual where gcc is being built. My host system is Suse 10.2. I am building a 6.2 LFS system. I also tried this same thing using the LFS live cd and got the same results on the build. Has anybody else ran into this and solved it?

if [ x"" != x ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir
make[1]: *** No rule to make target `../include/ansidecl.h', needed by `regex.o'. Stop.
make[1]: Leaving directory `/mnt/lfs/sources/gcc-4.0.3/build-i686-pc-linux-gnu/libiberty'
make: *** [all-build-libiberty] Error 2

The command I used was make bootstrap.



Last edited by galliar; 01-14-2007 at 06:59 AM.
Old 01-16-2007, 01:21 AM   #2
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Are you in a separate build directory? ie. if /mnt/lfs/sources/gcc-4.0.3/ is your source directory then you want to be building in /mnt/lfs/sources/gcc-build/ or something similar.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC 4.0.2 Install Error p4inkill4 Linux - Newbie 2 10-08-2005 02:14 PM
gcc-4.0.1 install error Dragoonboy Linux - Software 1 08-16-2005 03:36 PM
gcc-3.3.3 make install error Louis_Carole Linux From Scratch 4 07-31-2004 03:14 PM
Install gcc-3.3.1 error matador Linux From Scratch 1 03-15-2004 04:58 PM
trying to install linneighborhood but have gcc error? bosewicht Linux - Newbie 1 12-01-2003 03:17 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration