MySQL Developers:
I've found the answer to what seems to be a quite common problem with
people compiling on Solaris. Questions about the error "checking return
type of sprintf... configure: error: can not run test program while
cross compiling" during 'configure' have popped up NUMBEROUS times in
both the bugs and regular discussion list (for a link to 6 posts I found
on the first page of a search, check out my post on the regular list:
http://lists.mysql.com/cgi-ez/ezmlm-cgi?1:mss:78711:200107:keenkjbopojokdcicmgp).
Anyway, the Freeware (both Sun SFW and from what I hear sunfreeware.com)
versions of gcc and g++ have a small bug: they won't work quite right
unless you have the variable LD_LIBRARY_PATH set. For the SFW package
you need to have /opt/sfw/lib in that var, and for the sunfreeware.com
packages, I'm not sure but I believe /usr/lib and /usr/local/lib should
do it.
I go into much more detail in my
http://lists.mysql.com/cgi-ez/ezmlm-cgi?1:mss:78711:200107:keenkjbopojokdcicmgp
post, but I wanted to drop a note to these two lists in hopes that
you'll add a line to the documentation somewhere about this since it
seems to be a common problem.
I hope this helps.
Thanks,
Phil
--
Insanity Palace of Metallica
http://www.ipom.com
webmaster@stripped
--
| Thread |
|---|
| • FIX: compile error on Solaris | Phil Dibowitz | 7 Jul |