rpm --rebuild /usr/src/packages/SRPMS/MySQL-3.23.55-1.src.rpm fails on SuSE 7.3/8.1

rpm --rebuild /usr/src/packages/SRPMS/MySQL-3.23.55-1.src.rpm fails on SuSE 7.3/8.1

am 01.02.2003 22:23:12 von Bernhard Graf

Previous version up to 3.23.54 compiled w/o any problem.

How-to-repeat :

Please look here (includes full Logs for downloading):
http://www.augensalat.de/mysql-3.23.55/
--
Bernhard Graf http://www.augensalat.de/


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

Re: rpm --rebuild /usr/src/packages/SRPMS/MySQL-3.23.55-1.src.rpmfails on SuSE 7.3/8.1

am 04.02.2003 22:23:59 von Lenz Grimmer

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Sat, 1 Feb 2003, Bernhard Graf wrote:

> Previous version up to 3.23.54 compiled w/o any problem.
>
> How-to-repeat :
>
> Please look here (includes full Logs for downloading):
> http://www.augensalat.de/mysql-3.23.55/

Thanks for the links. Here's my comments:

SuSE Linux 7.3:

libmysql.c: In function `mysql_real_connect':
libmysql.c:1349: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type
libmysql.c:1349: too few arguments to function `gethostbyname_r'
libmysql.c:1349: warning: assignment makes pointer from integer without a cast
make[2]: *** [libmysql.lo] Error 1

This is a very common error - please install the C++ compiler package
"gpp" or try to define "CXX=gcc" and try again. It seems like the
configure script tries to use "c++" for this specific test
(gethostbyname_r arguments) - I have not had the time to look into this
yet :(

The error on 8.1:

+ automake
configure.in:7: your implementation of AM_INIT_AUTOMAKE comes from an
configure.in:7: old Automake version. You should recreate aclocal.m4
configure.in:7: with aclocal and run automake again.
automake: strings/Makefile.am: Assembler source seen but `CCAS' not defined in `configure.in'
automake: strings/Makefile.am: Assembler source seen but `CCASFLAGS' not defined in `configure.in'

As the script recommends, please try to add a call to "aclocal" before
running "automake" in the spec file.

Hope that helps! We're working on updating our source tree to require
a more recent toolchain, but this whole auto* stuff is quite complex :(

Bye,
LenZ
- --
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Lenz Grimmer
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Production Engineer
/_/ /_/\_, /___/\___\_\___/ Hamburg, Germany
<___/ www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+QC9ySVDhKrJykfIRArVZAJ9/sKeWDd8kVlEhN72wVEoyCv1KjwCe PQOO
oW15xat0FFQMHzfcaop0iOo=
=WM4h
-----END PGP SIGNATURE-----

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

Re: rpm --rebuild /usr/src/packages/SRPMS/MySQL-3.23.55-1.src.rpm fails on SuSE 7.3/8.1

am 08.02.2003 13:33:53 von Bernhard Graf

On Tue, 4 Feb 2003, Lenz Grimmer wrote:

> On Sat, 1 Feb 2003, Bernhard Graf wrote:
> > Previous version up to 3.23.54 compiled w/o any problem.
> >
> > How-to-repeat :
>
> SuSE Linux 7.3:

> This is a very common error - please install the C++ compiler package
> "gpp" or try to define "CXX=gcc" and try again. It seems like the
> configure script tries to use "c++" for this specific test
> (gethostbyname_r arguments) - I have not had the time to look into
> this yet :(

Yup. Now it works.

> The error on 8.1:
>
> + automake
> configure.in:7: your implementation of AM_INIT_AUTOMAKE comes from an
> configure.in:7: old Automake version. You should recreate aclocal.m4
> configure.in:7: with aclocal and run automake again.
> automake: strings/Makefile.am: Assembler source seen but `CCAS' not
> defined in `configure.in' automake: strings/Makefile.am: Assembler
> source seen but `CCASFLAGS' not defined in `configure.in'
>
> As the script recommends, please try to add a call to "aclocal"
> before running "automake" in the spec file.

Works on 8.1 but fails with 7.3 now. :-/

> Hope that helps! We're working on updating our source tree to require
> a more recent toolchain, but this whole auto* stuff is quite complex
> :(

Thanks a lot for your help.

Bernhard Graf


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