Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2003 14:34:07 +0100
From:      Matthew Seaman <matthew@cryptosphere.com>
To:        Matt Sealey <matt@kittycat.co.uk>
Cc:        ports@freebsd.org
Subject:   Re: databases/mysql-server build problems with dns/bind installed as base?
Message-ID:  <20031014133407.GB47574@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <EKENLNBIDBAHKIELDLPNGEFCCAAA.matt@kittycat.co.uk>
References:  <EKENLNBIDBAHKIELDLPNGEFCCAAA.matt@kittycat.co.uk>

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

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

On Tue, Oct 14, 2003 at 02:15:38PM +0100, Matt Sealey wrote:
>=20
> I'm leaning towards blaming my installations of BIND (PORT_REPLACES_BASE_=
BIND8=3Dyes)
>=20
> I'm sure I had this problem a year or two back when I ran 4.x on a server=
, but
> I can't remember how I solved it, if at all.
>=20
> Anyone got any ideas what's broken here, and if it can be fixed (either i=
n the
> BIND port, or the MySQL port)?

Sounds like you've mixed up the C header files from the system (see
the definition of h_errno in /usr/include/netdb.h) and your new
resolver library code, where h_errno can be turned into a macro hiding
a function __h_errno() rather than a global variable -- see for
example /usr/src/contrib/bind/include/netdb.h or the equivalent from
BINDv9.

Either link mysql entirely against the system version of the resolver
library, or entirely against the BINDv8 resolver from the port. You
can probably do that by intelligent application of -I and -L flags
during the MySQL compilation, which requires a little fiddling about
with CONFIGURE_ARGS and/or CONFIGURE_ENV ib the MySQL port directory.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

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

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

iD8DBQE/i/tPdtESqEQa7a0RAmC9AJ41KFbkebag+wsRNyr77K33U8SodgCfYhmh
ELD6NDudqBjVq0SPFHRBLvI=
=28lU
-----END PGP SIGNATURE-----

--gj572EiMnwbLXET9--



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