Error while configuring bash 3.1

David Fix g4ta4az02 at sneakemail.com
Tue Dec 13 10:49:21 PST 2005


> In CLFS-SVN-20051212-x86_64-Multilib, 6.21 Bash 3.1, during the
> configure process, I got this error and the configure did not finish:
> 
> checking whether setvbuf arguments are reversed... configure: error:
> cannot run test program while cross compiling

I got around this by doing the following:

echo "ac_cv_func_setvbuf_reversed=no" >> config.cache

CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
   ./configure --prefix=/tools --with-curses \
   --without-bash-malloc --host=${LFS_TARGET} \
   --cache-file=config.cache

I'm not sure whether the "no" part is right, but I hope so!  :P  Anyone know
how I can check this?

	Dave




More information about the cross-lfs mailing list