Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Aug 2003 20:11:05 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Clement Laforet <sheepkiller@cultdeadsheep.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mysql-server-4.0.10 package
Message-ID:  <20030810011104.GE43222@dan.emsphone.com>
In-Reply-To: <20030810002015.37cdfc24.sheepkiller@cultdeadsheep.org>
References:  <000a01c35eab$141588c0$5500000a@skullbook> <20030809221438.360003ad.sheepkiller@cultdeadsheep.org> <000c01c35ec2$28ff1d20$5500000a@skullbook> <20030810002015.37cdfc24.sheepkiller@cultdeadsheep.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 10), Clement Laforet said:
> On Sun, 10 Aug 2003 01:04:07 +0300
> "Mikael Karlsson" <mikael.karlsson@saunalahti.fi> wrote:
> > I'm trying to install MySQL-server-4.0.10 package in 4.8 release as
> > it says right there under Requires: at this link
> > http://www.freebsd.org/cgi/ports.cgi?query=mysql&stype=name&release=4.8-RELEASE%2Fi386#mysql-server-4.0.10
> > that it REQUIRES both 3.23.55 and 4.0.10 mysql-clients and when I
> > try to install it both are installed along as dependencies! I'm not
> > really interested in compiling the port even if it only requires
> > one client.
> 
> In fact, it's a nasty building related problem :-) When you build
> mysql-server-4.x, p5-DBD-mysql is compiled with the current version
> of mysql-client, by performing a simple test on MySQL libs, if no
> libs are install, default is 3.23. The main problem with this, is
> that, when the packages is built, depedencies are not built, but
> install via packages, then you have a nasty conflict.

Luckily the client packages are small (under 1MB), so it's not a major
problem if both 3.23 and 4.0 get installed.

Doesn't the port build handle this right?  mysql40-client is listed
before p5-DBD-mysql in RUN_DEPENDS, so ideally bsd.port.mk should be
able to build and install the 4.0 client, then just use that for the
p5-DBD-mysql build.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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