5.7.1. Installation of Glibc :unrecognized option

Andrew Benton b3nton at gmail.com
Fri Sep 10 09:08:04 PDT 2010


On 10/09/10 09:26, karl tattersall wrote:
>
> *../glibc-2.11.1/configure --prefix=/tools \ *
>
> *--host=$LFS_TGT --build=$(../glibc-2.11.1/scripts/config.guess) \ *
>
> *--disable-profile --enable-add-ons \ *
>
> *--enable-kernel=2.6.18 --with-headers=/tools/include \ *
>
> *libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes *
>
>
> I was greeted with the following error:
>
>
> *configure: error: unrecognized option: --buildi686-pc-linux-gnu*
>

It looks like you missed out the = sign

>
> */bin/sh -> /bin/dash *
Fix this:
sudo ln -sf bash /bin/sh
>
> *./version-check.sh: line 7: bison: command not found *
>
> *yacc not found *

sudo apt-get install bison flex

> *Texinfo: *

sudo apt-get install texinfo

> I also assumed that before entering commands for 5.6 I had to cd into
> the directory created by unpacking linux-2.6.32.8.tar.bz2. I *didn't*
> remove this directory after installing Linux API Headers.
>
Well you should. For each page in LFS you should untar the package in 
/mnt/lfs/sources, then cd into the folder that is created by the 
untaring process and then execute the commands on the page in the LFS book.

Andy



More information about the lfs-support mailing list