On Mon, Aug 27, 2001 at 09:43:23PM +0300, Sinisa Milivojevic wrote:
>
> Jeremy,
>
> In our manual, chapter on Solaris, there are instructions on which
> lines to delete from configure script in the case like above.
Right. I've looked at:
http://www.mysql.com/doc/S/o/Solaris.html
http://www.mysql.com/doc/S/o/Solaris_2.7.html
But none of them seem related to the problem I'm having. I'm using
gcc 2.95.3, not Sun's compiler, so I can rule out a lot of those
problems.
And I'm not even to the point of trying to actually *build* MySQL, so
I can rule out most of the stuff on the 2nd page. I'm stuck at
./configure.
The only thing that seems to apply is this part:
If you get the following error from configure:
checking for restartable system calls... configure: error can not
run test programs while cross compiling
This means that you have something wrong with your compiler
installation! In this case you should upgrade your compiler to a
newer version. You may also be able to solve this problem by
inserting the following row into the `config.cache' file:
ac_cv_sys_restartable_syscalls=${ac_cv_sys_restartable_syscalls='no'}
If you are using Solaris on a SPARC, the recommended compiler is gcc
2.95.2. You can find this at http://gcc.gnu.org/. Note that egcs 1.1.1
and gcc 2.8.1 don't work reliably on SPARC!
But that's not the error I'm seeing. I'm not getting that far.
I've looked at config.cache and found this already set:
ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross='no'}
So I'm not sure why it thinks I'm cross-compiling.
I'll tinker some more, but if anyone knows which setting is messed up,
I'd appreciate knowing.
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,728,901 queries (137/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