RE: Compiling mysql with correct libraries

2002-10-21 Thread Iago Sineiro
> -Mensaje original-
> De: Sinisa Milivojevic [mailto:sinisa@;mysql.com]
> Enviado el: lunes, 21 de octubre de 2002 14:28
> Para: Iago Sineiro
> CC: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Asunto: Re: Compiling mysql with correct libraries
>
>
> On Mon, 21 Oct 2002 09:51:41 +0200
> "Iago Sineiro" <[EMAIL PROTECTED]> wrote:
>
> > Hi all.
> >
> > I want to compile MySQL statically with my own UDF and InnoDB support in
> > one box and with make_binary_distribution install it in a RedHat 8.0
> > box.
> >
> > Which are the correct versions for gcc and glibc? And automake,
> > autoconfig, and any another posible package needed for compile MySQL?
> > Which is the best version of RedHat for compiling MySQL?
> >
> > Also which are the options used in compilation when is created
> > MySQL-3.23.x-MAX.rpm?
> >
> > Thanks in advance.
> >
> > Iago.
> >
> >
>
> HI!
>
> This is a difficult question, as we learned recently that there
> are some problems with MySQL and
> glibc supplied with RH 8.0.
>
> You can use gcc 3.2, automake 1.5 and autoconf 2.54.
>

But at www.mysql.com download page there is this compiler advisory:

Compiler Advisory: Several of our users have reported random crashes and
table corruption with MySQL binaries compiled with gcc 2.96 on the x86 Linux
platform. Although we were unable to duplicate the problems ourselves or
understand their exact cause, we suspect with a great degree of confidence
that the problem was compiler related. Replacing the faulty binary with our
binary always eliminated the problem.
We recommend that MySQL be compiled with gcc 2.95 if you have to compile
your own binary at all. It is also acceptable to compile it with gcc 2.91 -
builds with these compilers have been tested extensively. We would suggest,
however, that you stay away from gcc 3.0 series until we have had some time
to do some more extensive testing.

...

Is gcc 3.2 really tested or I should compile mysql with gcc 2.96?

> The options used in creating our 3.23 RPM are described in our manusl.
>

Yes, I was looking in the manual when I see it. Sorry.

> We currently build our RPM's on updated RH 6.2.
>
> --

How updated is your RH 6.2?

Iago.



-
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




Re: Compiling mysql with correct libraries

2002-10-21 Thread Michael T. Babcock


builds with these compilers have been tested extensively. We would suggest,
however, that you stay away from gcc 3.0 series until we have had some time
to do some more extensive testing.
 

Speaking of which, how /is/ testing of gcc 3.x going?  Is this an active 
issue for the new MySQL major releases?

--
Michael T. Babcock
C.T.O., FibreSpeed Ltd.
http://www.fibrespeed.net/~mbabcock



-
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



Re: Compiling mysql with correct libraries

2002-10-21 Thread Sinisa Milivojevic
On Mon, 21 Oct 2002 09:51:41 +0200
"Iago Sineiro" <[EMAIL PROTECTED]> wrote:

> Hi all.
> 
> I want to compile MySQL statically with my own UDF and InnoDB support in
> one box and with make_binary_distribution install it in a RedHat 8.0
> box.
> 
> Which are the correct versions for gcc and glibc? And automake,
> autoconfig, and any another posible package needed for compile MySQL?
> Which is the best version of RedHat for compiling MySQL?
> 
> Also which are the options used in compilation when is created
> MySQL-3.23.x-MAX.rpm?
> 
> Thanks in advance.
> 
> Iago.
> 
>

HI!

This is a difficult question, as we learned recently that there are some problems with 
MySQL and 
glibc supplied with RH 8.0.

You can use gcc 3.2, automake 1.5 and autoconf 2.54.

The options used in creating our 3.23 RPM are described in our manusl.

We currently build our RPM's on updated RH 6.2.

--

Regards,

--
For technical support contracts, go to https://order.mysql.com/?ref=msmi
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /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