Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2005 22:57:59 +0200
From:      Simon Barner <barner@FreeBSD.org>
To:        John Nielsen <lists@jnielsen.net>
Cc:        stable@freebsd.org, sysadmin@alexdupre.com
Subject:   Re: MySQL 4.1, GCC 3.x, FreeBSD 4.x
Message-ID:  <20050921205759.GO25698@zi025.glhnet.mhn.de>
In-Reply-To: <200509211431.19141.lists@jnielsen.net>
References:  <200509211431.19141.lists@jnielsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
John Nielsen wrote:
[...]
> if gcc34 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include   
> -I/usr/local/include  -DDBUG_OFF -O -pipe  -D__USE_UNIX98 -D_REENTRANT 
> -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -O3 
> -fno-omit-frame-pointer -MT conf_to_src.o -MD -MP -MF 
> ".deps/conf_to_src.Tpo" -c -o conf_to_src.o conf_to_src.c;  then mv -f 
> ".deps/conf_to_src.Tpo" ".deps/conf_to_src.Po"; else rm -f 
> ".deps/conf_to_src.Tpo"; exit 1; fi
> /usr/local/bin/libtool15 --preserve-dup-deps --mode=link gcc34  -DDBUG_OFF 
> -O -pipe  -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE 
> -I/usr/local/include/pthread/linuxthreads -O3 -fno-omit-frame-pointer   
> -L/usr/local/lib -o conf_to_src  conf_to_src.o xml.o  ctype.o bcmp.o  
> -DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -D_THREAD_SAFE 
> -I/usr/local/include/pthread/linuxthreads -L/usr/local/lib -llthread 
> -llgcc_r -lcrypt -lm  -DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -D_THREAD_SAFE 
> -I/usr/local/include/pthread/linuxthreads -L/usr/local/lib -llthread 
> -llgcc_r
> libtool15: link: unable to infer tagged configuration
> libtool15: link: specify a tag with `--tag'

[...]

I recently had the same problem, but the other way round (gcc295 on
FreeBSD 6).

I fixed it by pkg_deleting libtool, autoconf, automake and reinstalling
them with the same compiler that you want to use later.

This is most easily done, when you simply run

make CC=gcc34 CXX=g++34 in the mysql port directory, since this will
pull in missing dependencies.

Don't forget to delete them again when you're done -- otherwise you
will break other ports (that use the stock gcc).

HTH, and best regards,
 Simon

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDMclXCkn+/eutqCoRAoz7AKDzwL83k2ZMY4uJfNd9q262ReeeGQCgiB4n
YOqzNnILZ9h/H1iCRgDgKzE=
=AzIf
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050921205759.GO25698>