On Thu, Sep 06, 2001 at 06:08:00PM +0800, Chun-Hung Chen wrote:
> When configuring mysql, some errors happened.The report of config.log
> and error messages are listed below.The environment I use is Sun Solaris
> 8(SunOS 5.8) with gcc 2.95.3.
[snip]
> configure:2376: checking return type of sprintf
> ==========================================================
> error message:
>
> checking return type of sprintf... configure: error: can not run test program while
>cross compiling
Where is GCC installed?
Try using
LD_LIBRARY_PATH=/usr/local/lib
in your environment (or whatever path is appropriate).
It fixed it for me on Solaris 2.8 with GCC 2.95.3. There was a thread
about 1-2 weeks ago on the mailling list about it.
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 1 days, processed 17,353,292 queries (180/sec. avg)
---------------------------------------------------------------------
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