Cannot compile BK mysql-4.0

Cannot compile BK mysql-4.0

am 18.10.2002 12:50:53 von mmokrejs

Hi,
I had to edit configure.in and remove second call to os2/Makefile. It caused
the following error. I've no idead if I should remove better the earlier occurence
few lines above configure.in:2429.

configure.in:2429: error: `os2/Makefile' is already registered with AC_CONFIG_FILES.


How-To-Repeat:

After that, I got:
/scratch/mysql-4.0$ autoheader
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING: AC_DEFINE([NEED_MAIN], 1,
WARNING: [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
autoheader: `config.h.in' is created
/scratch/mysql-4.0$ autoconf
/scratch/mysql-4.0$ automake
sql/Makefile.am:96: `YFLAGS' is a user variable, you should not override it;
sql/Makefile.am:96: use `AM_YFLAGS' instead.
/scratch/mysql-4.0$

Running

../configure --prefix=/usr/local/mysql --with-extra-charsets=complex --with-server-suffix= --enable-thread-safe-client --enable-local-infile --enable-assembler --with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static --disable-shared 'CFLAGS=-O2 -mcpu=pentiumpro ' 'CXXFLAGS=-O2 -mcpu=pentiumpro -felide-constructors -fno-exceptions -fno-rtti' CXX=gcc LDFLAGS=-static --with-pstack

gives me:

checking style of gethost* routines... other
checking style of gethostname_r routines... glibc2
checking 3 argument to gethostname_r routines... char
checking "args to pthread_getspecific"... POSIX
checking "args to pthread_mutex_init"... POSIX
checking "args to readdir_r"... POSIX
checking "style of sigwait"... POSIX
checking "for pthread_attr_setscope"... yes
checking "can netinet files be included"... "yes"
checking for ORBit... not found
checking if we should build MySQLFS... no
checking for OpenSSL... checking "character sets"... default: latin1; compiled in: latin1 big5 czech euc_kr gb2312 gbk latin1_de sjis tis620 ujis
checking for BerkeleyDB... no
Not using Berkeley DB
checking for Innodb... Using Innodb
checking for aio_read in -lrt... yes
CONFIGURING FOR INNODB
..././innobase/configure: .././innobase/configure: No such file or directory
configure: error: could not configure INNODB

Well, ./innnobase/configure really doesn't exist.
Was I supposed to do this instead?

cd mysql-4.0
aclocal; autoheader; autoconf; automake;
cd innobase
aclocal; autoheader; autoconf; automake;
cd ..
../configure # Add your favorite options here

Of course, using "--without-innodb" solves this problem for me. ;)

Then, "make" and "make test" went fine. I'll check how it works in real.
--
Martin Mokrejs ,
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585






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

Re: Cannot compile BK mysql-4.0

am 18.10.2002 13:18:44 von Sinisa Milivojevic

=3D?iso-8859-2?Q?Martin_MOKREJ=3DA9?=3D writes:
> Hi,
> I had to edit configure.in and remove second call to os2/Makefile. =
It caused
> the following error. I've no idead if I should remove better the earl=
ier occurence
> few lines above configure.in:2429.
>=20
> configure.in:2429: error: `os2/Makefile' is already registered with A=
C_CONFIG_FILES.
>=20
>=20
> Then, "make" and "make test" went fine. I'll check how it works in re=
al.
> --=20
> Martin Mokrejs ,
> PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
> MIPS / Institute for Bioinformatics
> GSF - National Research Center for Environment and Health
> Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
> tel.: +49-89-3187 3683 , fax:=A0+49-89-3187 3585

Are you using automake 1.5 and autoconf 2.54 ??

--=20
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic >
/ /|_/ / // /\ \/ /_/ / /__ 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 bugs-thread12784@lists.mysql.com
To unsubscribe, e-mail

Re: Cannot compile BK mysql-4.0

am 18.10.2002 13:40:36 von mmokrejs

On Fri, 18 Oct 2002, Sinisa Milivojevic wrote:

> =?iso-8859-2?Q?Martin_MOKREJ=A9?= writes:
> > Hi,
> > I had to edit configure.in and remove second call to os2/Makefile. It caused
> > the following error. I've no idead if I should remove better the earlier occurence
> > few lines above configure.in:2429.
> >
> > configure.in:2429: error: `os2/Makefile' is already registered with AC_CONFIG_FILES.
> >
> >
> > Then, "make" and "make test" went fine. I'll check how it works in real.
> > --
> > Martin Mokrejs ,
> > PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
> > MIPS / Institute for Bioinformatics
> > GSF - National Research Center for Environment and Health
> > Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
> > tel.: +49-89-3187 3683 , fax: +49-89-3187 3585
>
> Are you using automake 1.5 and autoconf 2.54 ??

I decided to upgrade, as those available with out debian
were older and I had this problem. The upgrade did not help
(installing to /usr/local - they're in from of $PATH, so
they are picked up bedore those from /usr/bin). So, I have:
autoconf-2.54, automake-1.7, libtool-1.4.2.

/usr/bin/ has:
automake-1.4-p6
autoconf-2.54

With both I had this problem. Which one do you want me to unisntall. ;)
--
Martin Mokrejs ,
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585


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

Re: Cannot compile BK mysql-4.0

am 18.10.2002 13:57:39 von Sinisa Milivojevic

=3D?iso-8859-2?Q?Martin_MOKREJ=3DA9?=3D writes:
> On Fri, 18 Oct 2002, Sinisa Milivojevic wrote:
>=20
> I decided to upgrade, as those available with out debian
> were older and I had this problem. The upgrade did not help
> (installing to /usr/local - they're in from of $PATH, so
> they are picked up bedore those from /usr/bin). So, I have:
> autoconf-2.54, automake-1.7, libtool-1.4.2.
>=20
> /usr/bin/ has:
> automake-1.4-p6
> autoconf-2.54
>=20
> With both I had this problem. Which one do you want me to unisntall. =
;)
> --=20
> Martin Mokrejs ,
> PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
> MIPS / Institute for Bioinformatics
> GSF - National Research Center for Environment and Health
> Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
> tel.: +49-89-3187 3683 , fax:=A0+49-89-3187 3585
>=20

Leave automake 1.5 and autoconf 2.54 ....=20

--=20
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic >
/ /|_/ / // /\ \/ /_/ / /__ 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 bugs-thread12789@lists.mysql.com
To unsubscribe, e-mail

Re: Cannot compile BK mysql-4.0

am 18.10.2002 15:55:54 von mmokrejs

On Fri, 18 Oct 2002, Sinisa Milivojevic wrote:

> =?iso-8859-2?Q?Martin_MOKREJ=A9?= writes:
> > Hi,
> > I had to edit configure.in and remove second call to os2/Makefile. It caused
> > the following error. I've no idead if I should remove better the earlier occurence
> > few lines above configure.in:2429.
> >
> > configure.in:2429: error: `os2/Makefile' is already registered with AC_CONFIG_FILES.
>
> Are you using automake 1.5 and autoconf 2.54 ??

No, uninstalling the old versions from /usr/bin did not help.

/scratch/mysql-4.0$ autoheader
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING: AC_DEFINE([NEED_MAIN], 1,
WARNING: [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
configure.in:2429: error: `os2/Makefile' is already registered with AC_CONFIG_FILES.
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:2429: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: /usr/local/bin/autom4te failed with exit status: 1
/scratch/mysql-4.0$ ls -la /usr/bin/autoheader
ls: /usr/bin/autoheader: No such file or directory
/scratch/mysql-4.0$ ls -la /usr/local/bin/autoheader --version
ls (fileutils) 4.1
Written by Richard Stallman and David MacKenzie.

Copyright (C) 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
/scratch/mysql-4.0$



--
Martin Mokrejs ,
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585


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

Re: Cannot compile BK mysql-4.0

am 18.10.2002 19:44:22 von Melvyn Sopacua

At 15:55 18-10-2002, =?iso-8859-2?Q?Martin_MOKREJ=A9?= wrote:

>On Fri, 18 Oct 2002, Sinisa Milivojevic wrote:
>
> > =?iso-8859-2?Q?Martin_MOKREJ=A9?= writes:
> > > Hi,
> > > I had to edit configure.in and remove second call to os2/Makefile.
> It caused
> > > the following error. I've no idead if I should remove better the
> earlier occurence
> > > few lines above configure.in:2429.
> > >
> > > configure.in:2429: error: `os2/Makefile' is already registered with
> AC_CONFIG_FILES.
> >
> > Are you using automake 1.5 and autoconf 2.54 ??
>
>No, uninstalling the old versions from /usr/bin did not help.
>
>/scratch/mysql-4.0$ autoheader
>WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
>WARNING: and `config.h.top', to define templates for `config.h.in'
>WARNING: is deprecated and discouraged.
>
>WARNING: Using the third argument of `AC_DEFINE' and
>WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
>WARNING: `acconfig.h':
>
>WARNING: AC_DEFINE([NEED_MAIN], 1,
>WARNING: [Define if a function `main' is needed.])
>
>WARNING: More sophisticated templates can also be produced, see the
>WARNING: documentation.
>configure.in:2429: error: `os2/Makefile' is already registered with
>AC_CONFIG_FILES.
>autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...

rm =rf autom4te.cache
and try again.

Revert to autoconf 2.52 if that doesn't work.
The autoconf 2.5x cache is 'work in progress'.


Best regards,
Melvyn Sopacua
WebMaster IDG.nl
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
If it applies, where it applies - this email is a personal
contribution and does not reflect the views of my employer
IDG.nl.
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\


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

Re: Cannot compile BK mysql-4.0

am 18.10.2002 19:58:17 von Sinisa Milivojevic

Melvyn Sopacua writes:
> At 15:55 18-10-2002, =?iso-8859-2?Q?Martin_MOKREJ=A9?= wrote:
>
> > >
> > > Are you using automake 1.5 and autoconf 2.54 ??
> >
>
> rm =rf autom4te.cache
> and try again.
>
> Revert to autoconf 2.52 if that doesn't work.
> The autoconf 2.5x cache is 'work in progress'.
>
>
> Best regards,
> Melvyn Sopacua
> WebMaster IDG.nl
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> If it applies, where it applies - this email is a personal
> contribution and does not reflect the views of my employer
> IDG.nl.
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\
>

Thanks for the info on autoconf 2.5x cache.

I use automake 1.5 and autoconf 2.54 and BUILD/compile-* scripts work
just fine for me.

--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ 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 bugs-thread12797@lists.mysql.com
To unsubscribe, e-mail

Re: Cannot compile BK mysql-4.0

am 18.10.2002 20:13:39 von Melvyn Sopacua

At 19:58 18-10-2002, Sinisa Milivojevic wrote:

> > rm =rf autom4te.cache
> > and try again.
> >
> > Revert to autoconf 2.52 if that doesn't work.
> > The autoconf 2.5x cache is 'work in progress'.
> >
>
>Thanks for the info on autoconf 2.5x cache.
>
>I use automake 1.5 and autoconf 2.54 and BUILD/compile-* scripts work
>just fine for me.

That may be, but the problem is with m4 dependencies. They are not
updated. Since 2.52 is the minimum required by MySQL, you cannot revert
to 2.13, but that would be ideal in this case.

The problem the user is describing, looks like an m4 dependancy to me,
that's why once it's set (incorrectly), it doesn't get re-evaluated.

I could be wrong - but this is a known problem and it's best to rule that
out.


Best regards,
Melvyn Sopacua
WebMaster IDG.nl
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
If it applies, where it applies - this email is a personal
contribution and does not reflect the views of my employer
IDG.nl.
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\


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

Re: Cannot compile BK mysql-4.0

am 20.10.2002 15:00:34 von mmokrejs

On Fri, 18 Oct 2002, Melvyn Sopacua wrote:

> At 19:58 18-10-2002, Sinisa Milivojevic wrote:
>
> > > rm =rf autom4te.cache
> > > and try again.
> > >
> > > Revert to autoconf 2.52 if that doesn't work.
> > > The autoconf 2.5x cache is 'work in progress'.
> > >
> >
> >Thanks for the info on autoconf 2.5x cache.
> >
> >I use automake 1.5 and autoconf 2.54 and BUILD/compile-* scripts work
> >just fine for me.
>
> That may be, but the problem is with m4 dependencies. They are not
> updated. Since 2.52 is the minimum required by MySQL, you cannot revert
> to 2.13, but that would be ideal in this case.
>
> The problem the user is describing, looks like an m4 dependancy to me,
> that's why once it's set (incorrectly), it doesn't get re-evaluated.
>

But removing the autom4te.cache directory doesn't help. Actually, I tried
even pulling from BK the tree again to a new directory, no luck. Simply,
2.54 doesn't work. But I think for me is easier to remove one of those
cals to os2/Makefile, as it "solves" the problem.

> I could be wrong - but this is a known problem and it's best to rule that
> out.

Well, maybe you would like to report it to the auto* developers. Recently,
they accepted my complain and fixed a bug, which caused originally their
perl scripts to bail when user supplied @sys variable in path specified
as --prefix.

--
Martin Mokrejs ,
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585


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