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

--XjbSsFHOHxvQpKib
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

John Nielsen wrote:
[...]
> if gcc34 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include  =20
> -I/usr/local/include  -DDBUG_OFF -O -pipe  -D__USE_UNIX98 -D_REENTRANT=20
> -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -O3=20
> -fno-omit-frame-pointer -MT conf_to_src.o -MD -MP -MF=20
> ".deps/conf_to_src.Tpo" -c -o conf_to_src.o conf_to_src.c;  then mv -f=20
> ".deps/conf_to_src.Tpo" ".deps/conf_to_src.Po"; else rm -f=20
> ".deps/conf_to_src.Tpo"; exit 1; fi
> /usr/local/bin/libtool15 --preserve-dup-deps --mode=3Dlink gcc34  -DDBUG_=
OFF=20
> -O -pipe  -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE=20
> -I/usr/local/include/pthread/linuxthreads -O3 -fno-omit-frame-pointer  =
=20
> -L/usr/local/lib -o conf_to_src  conf_to_src.o xml.o  ctype.o bcmp.o =20
> -DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -D_THREAD_SAFE=20
> -I/usr/local/include/pthread/linuxthreads -L/usr/local/lib -llthread=20
> -llgcc_r -lcrypt -lm  -DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -D_THREAD_SAFE=
=20
> -I/usr/local/include/pthread/linuxthreads -L/usr/local/lib -llthread=20
> -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=3Dgcc34 CXX=3Dg++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

--XjbSsFHOHxvQpKib
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

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

--XjbSsFHOHxvQpKib--



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