MySQL 3.23.51 compilation problem (Mandrake 9.0). Is it a bug ?

MySQL 3.23.51 compilation problem (Mandrake 9.0). Is it a bug ?

am 16.01.2003 13:34:35 von Rob Nikada

Hello,

I have encountered a problem when trying to compile
MySQL version 3.23.51 on Mandrake version 9.0. I've
been browsing through several pages related to
problems met while compiling that version but didn't
find anything relevant. My nerves are starting to
shake seriously...

The "configure" part worked well with the command line
:

../configure --prefix=/usr/local/mysql
--with-named-curses-libs=/usr/lib/libncurses.so.5

But during the make install part, I have the following
Error message :

libmysql.c: In function `mysql_real_connect':
libmysql.c:1325: warning: passing arg 5 of
`gethostbyname_r' from incompatible pointer type
libmysql.c:1325: too few arguments to function
`gethostbyname_r'
libmysql.c:1325: warning: assignment makes pointer
from integer without a cast
make[1]: *** [libmysql.lo] Erreur 1
make[1]: Quitte le répertoire
`/var/tmp/mysql-3.23.51/libmysql'
make: *** [install-recursive] Erreur 1

This version of MySQL has been compiled using gcc
version 3.2 as shown below.

Configured with: ../configure --prefix=/usr
--libdir=/usr/lib --with-slibdir=/lib
--mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix
--disable-checking --enable-long-long
--enable-__cxa_atexit
--enable-languages=c,c++,ada,f77,objc,java
--host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)

Any hint, anyone ? Shall I downgrade to GCC 2.95 ?

Thanks very much !




__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.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 bugs-thread13489@lists.mysql.com
To unsubscribe, e-mail

Re: MySQL 3.23.51 compilation problem (Mandrake 9.0). Is it a bug ?

am 16.01.2003 13:49:53 von Sinisa Milivojevic

Rob Nikada writes:
> Hello,
>=20
> I have encountered a problem when trying to compile
> MySQL version 3.23.51 on Mandrake version 9.0. I've
> been browsing through several pages related to
> problems met while compiling that version but didn't
> find anything relevant. My nerves are starting to
> shake seriously...
>=20
> The "configure" part worked well with the command line
> :
>=20
> ./configure --prefix=3D/usr/local/mysql=20
> --with-named-curses-libs=3D/usr/lib/libncurses.so.5
>=20
> But during the make install part, I have the following
> Error message :
>=20
> libmysql.c: In function `mysql_real_connect':
> libmysql.c:1325: warning: passing arg 5 of
> `gethostbyname_r' from incompatible pointer type
> libmysql.c:1325: too few arguments to function
> `gethostbyname_r'
> libmysql.c:1325: warning: assignment makes pointer
> from integer without a cast
> make[1]: *** [libmysql.lo] Erreur 1
> make[1]: Quitte le r=E9pertoire
> `/var/tmp/mysql-3.23.51/libmysql'
> make: *** [install-recursive] Erreur 1
>=20
> This version of MySQL has been compiled using gcc
> version 3.2 as shown below.
>=20
> Configured with: ../configure --prefix=3D/usr
> --libdir=3D/usr/lib --with-slibdir=3D/lib
> --mandir=3D/usr/share/man --infodir=3D/usr/share/info
> --enable-shared --enable-threads=3Dposix
> --disable-checking --enable-long-long
> --enable-__cxa_atexit
> --enable-languages=3Dc,c++,ada,f77,objc,java
> --host=3Di586-mandrake-linux-gnu --with-system-zlib
> Thread model: posix
> gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)
>=20
> Any hint, anyone ? Shall I downgrade to GCC 2.95 ?
>=20
> Thanks very much !

Hi!

If you wish to build MySQL yourself, please use latest 3.23 source
tarball from our site.

There have been many bug fixes meanwhile, some dealing with
configuring scripts.

If you get the above error on our latest binary, please report also a
version of GLIBC that is installed on your system.

--=20
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic >
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com

Join MySQL Users Conference and Expo:
http://www.mysql.com/events/uc2003/


------------------------------------------------------------ ---------
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 bugs-thread13490@lists.mysql.com
To unsubscribe, e-mail