On Saturday 07 July 2007 07:32, David Burgess wrote:
> In section 6.3 Binutils-2.17 at step "make configure-host" I get the
> following error:
>
> $ make configure-hostConfiguring in ./libibertyconfigure: loading
> cache ./config.cache
> configure: error: `CC' has changed since the previous run:
> configure: former value: gcc
> configure: current value: i586-pc-linux-gnu-gcc
> configure: error: `host_alias' has changed since the previous run:
> configure: former value: x86_64-cross-linux-gnu
> configure: current value: i586-pc-linux-gnu
> configure: error: changes in the environment can compromise the build
> configure: error: run `make distclean' and/or `rm ./config.cache' and start
> over
> make: *** [configure-libiberty] Error 1
>
> I tried `make distclean' and `rm ./config.cache', followed by a repeat
> of `../binutils-2.17/configure --prefix=/tools \
> --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \
> --disable-nls --enable-shared --disable-multilib'
>
> but I get the same error. Any help how to resolve this is appreciated.
Have you tried removing the binutils-2.17 and binutils-build
directories and unpacking the source again?
The source should be removed everytime after a build. For example to
build a package you should unpack its source, build and install the
package, and remove the source and build directories. You cannot use
the same source tree in different chapters of the book.
--
Nothing but perfection
Vladimir
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support