[csw-maintainers] Building MySQL 5.1.x

Dagobert Michelsen dam at opencsw.org
Fri Dec 4 12:03:16 CET 2009


Hi Maciej,

Am 02.12.2009 um 16:55 schrieb Maciej (Matchek) Blizinski:
> I'm looking at MySQL 5.1.  I'm currently experimenting with building
> it in /opt/csw, with the support for different versions (5.0, 5.1 and
> so forth).  I'm starting this thread to track everything related to
> building and testing MySQL 5.1.
>
> I've just run into this:
>
> source='conf_to_src.c' object='conf_to_src.o' libtool=no \
>        DEPDIR=.deps depmode=none /bin/bash ../depcomp \
>        /opt/studio/SOS11/SUNWspro/bin/cc -DHAVE_CONFIG_H -I.
> -I../include -I../include -I../include  -I/opt/csw/include
> -I/opt/csw/include/mysql5/5.1  -g  -DSAFE_MUTEX -g -xarch=v8 -mt
> -D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__   -D_FILE_OFFSET_BITS=64
> -DHAVE_CURSES_H
> -I/home/maciej/src/opencsw/pkg/mysql5/branches/mysql-5.1.x-optcsw/ 
> work/solaris8-sparc/build-isa-sparcv8/mysql-5.1.40/include
> -DHAVE_RWLOCK_T -DUNIV_SOLARIS -DUNIV_SOLARIS -c conf_to_src.c
> /bin/bash ../libtool --preserve-dup-deps --tag=CC   --mode=link
> /opt/studio/SOS11/SUNWspro/bin/cc  -g  -DSAFE_MUTEX -g -xarch=v8 -mt
> -D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__   -D_FILE_OFFSET_BITS=64
> -DHAVE_CURSES_H
> -I/home/maciej/src/opencsw/pkg/mysql5/branches/mysql-5.1.x-optcsw/ 
> work/solaris8-sparc/build-isa-sparcv8/mysql-5.1.40/include
> -DHAVE_RWLOCK_T -DUNIV_SOLARIS -DUNIV_SOLARIS -static -xarch=v8
> -L/opt/csw/lib -L/opt/csw/lib/mysql5/5.1 -L/opt/csw/lib  -o
> conf_to_src conf_to_src.o xml.o ctype.o bcmp.o  -lpthread -lposix4
> -lresolv -lc -lsocket -lnsl -lm  -lpthread
> libtool: Version mismatch error.  This is libtool 2.2.6, but the
> libtool: definition of this LT_INIT comes from libtool 2.2.6b.
> libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
> libtool: and run autoconf again.
> gmake[4]: *** [conf_to_src] Error 63
> gmake[4]: *** Waiting for unfinished jobs....
> gmake[4]: Leaving directory
> `/home/maciej/src/opencsw/pkg/mysql5/branches/mysql-5.1.x-optcsw/ 
> work/solaris8-sparc/build-isa-sparcv8/mysql-5.1.40/strings'
>
> This is a completely clean build, no preexisting files.  Has anyone
> seen this problem before?

*Sigh* I did update libtool to 2.2.6b a couple of days ago.
Most certainly this is the cause for the problem. However,
I don't understand why it actually *is* a problem as the
macros should only be pulled in when the autoconf-files are
regenerated. I can offer to look at the problem but won't
consider myself a libtool wizard.


Best regards

   -- Dago



More information about the maintainers mailing list