I ran across something similar a while ago when trying to get MySQL to compile on Solaris.

It turned out that, since I had installed gcc from a package off of sunfreeware.com, it considered itself a cross-compiler. Actually downloading the gcc source tarball and compiling it locally fixed the problem and MySQL was happy.

Maybe something similar is going on here?



--On Saturday, December 22, 2001 12:17:51 PM -0500 Ben Collins <[EMAIL PROTECTED]> wrote:

On Sat, Dec 22, 2001 at 05:19:27PM +0100, Mikael Hedin wrote:

Hi,

I noticed gsmlib has failed on sparc for a long time.  The last log,
http://buildd.debian.org/fetch.php?&pkg=gsmlib&ver=1.7-1&arch=sparc&stam
p=1006071760&file=log&as=raw,  says in the end that g++-3.0 is a cross
compiler:

checking whether the C++ compiler (g++-3.0 -Wall -D_REENTRANT -O2 )
works... yes checking whether the C++ compiler (g++-3.0 -Wall
-D_REENTRANT -O2 ) is a cross-compiler... yes checking whether we are
using GNU C++... yes
checking whether g++-3.0 accepts -g... yes
configure: error: can not run test program while cross compiling
make: *** [configure-stamp] Error 1

Your package better use gcc, not gcc-3.0. Using anything other than the default supported compiler gets you a bug report.

Other than that, check the config.log output to see why it failed.

--
 .----------=======-=-======-=========-----------=====------------=-=----
-. /                   Ben Collins    --    Debian GNU/Linux
\ `  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --
[EMAIL PROTECTED]  '
 `---=========------=======-------------=-=-----=-===-======-------=--=--
-'


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]





Reply via email to