error: can not run test program while cross compiling

"Alexis Jeannerod" <[email protected]>
Newsgroups gmane.comp.lib.libwww
Message-ID <[email protected]>
Hello,

I'm compiling libwww 5.3.2 on Redhat Linux2.2.16-22smp,
but the following error occured (at the end) :

>./configure --without-expat
loading cache ./config.cache
checking host system type... config/config.guess: ./dummy-14671: Permission denied
i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) /usr/bin/gcc -c -DATNR_UMMAPI_LINUX
checking whether the C compiler (/usr/bin/gcc -c -DATNR_UMMAPI_LINUX  ) works... yes
checking whether the C compiler (/usr/bin/gcc -c -DATNR_UMMAPI_LINUX  ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether /usr/bin/gcc -c -DATNR_UMMAPI_LINUX accepts -g... (cached) yes
(...)
checking for BOOLEAN... no
checking for u_char... yes
checking for u_short... yes
checking for u_long... yes
checking size of char... configure: error: can not run test program while cross compiling

How can I get it to compile ?
Thanks for any answer.
Best regards.

    Al
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.