[Clfs-support] expect-5.43.0 cannot be cross compiled? svn-20080213

Shawn Jin shawnxjin at gmail.com
Tue Feb 19 22:21:59 PST 2008


Hi,

I stumbled again in the process of building CLFS SVN-20080213. Now
it's expect-5.43.0. The configure command returns error. Below are the
command I executed following the instructions. BTW, I'm following the
chroot path.

sed -i '/EXP_LIB_SPEC=/s@${exec_prefix}/lib@${libdir}@' configure
patch -Np1 -i /sources/expect-5.43.0-spawn-2.patch
./configure --prefix=/tools --with-tcl=/tools/lib \
>     --with-tclinclude=/tools/include
configuring Expect 5.43.0
checking for autoconf... no
checking configure up to date... yes
checking host system type... Invalid configuration
`x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking target system type... Invalid configuration
`x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking build system type... Invalid configuration
`x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

.......
configure: error: Expect can't be cross compiled

This makes me wondering if I did something wrong when building the
compiler and glibc or when setting up the bash environment. Any
suggestions?

Thanks,
-Shawn.



More information about the Clfs-support mailing list