Jeremy Zawodny writes:
> I have a fairly new Solaris 2.8 (Ultra Sparc) machine on which I'm
> trying to build the MySQL client libraries.  According to the
> INSTALL-SOURCE file, I need to use a command-line like this:
> 
> CC=gcc CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions 
>-fno-rtti" ./configure --without-server --with-low-memory --enable-assembler >& 
>config.err
> 
> When I do that and look at config.err, I see the error message:
> 
>   configure: error: can not run test program while cross compiling
> 
> Here's the whole thing (since the list won't take attachments).  It's
> not too long.
> 
> 
> According to the INSTALL-SOURCE file, that error means "you have
> something wrong with your compiler installation!"  But I've already
> used this exact same compiler to bulild a *ton* of other packages on
> the machine.
> 
> What can I do to fix/debug this problem?
> 
> Thanks,
> 
> Jeremy
> -- 
> Jeremy D. Zawodny, <[EMAIL PROTECTED]>
> Technical Yahoo - Yahoo Finance
> Desk: (408) 349-7878   Fax: (408) 349-5454   Cell: (408) 685-5936
> 
> MySQL 3.23.41-max: up 10 days, processed 124,283,460 queries (137/sec. avg)
> 

Jeremy, 

In our manual, chapter on Solaris, there are instructions on which
lines to delete from configure script in the case like above.

Just do that !

-- 
Regards,
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, FullTime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
       <___/   www.mysql.com


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to