Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2003 00:20:15 +0200
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        "Mikael Karlsson" <mikael.karlsson@saunalahti.fi>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mysql-server-4.0.10 package
Message-ID:  <20030810002015.37cdfc24.sheepkiller@cultdeadsheep.org>
In-Reply-To: <000c01c35ec2$28ff1d20$5500000a@skullbook>
References:  <000a01c35eab$141588c0$5500000a@skullbook> <20030809221438.360003ad.sheepkiller@cultdeadsheep.org> <000c01c35ec2$28ff1d20$5500000a@skullbook>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

3.23.x dependencies are added because native p5-DBD-mysql use 3.23 
p5-DBD-mysql-2.1026_1|/usr/ports/databases/p5-DBD-mysql|/usr/local|MySQL
driver for the Perl5 Database Interface (DBI)|/usr/ports/databases/p5-DBD-mysql/pkg-descr
|skv@FreeBSD.org|databases perl5|mysql-client-3.23.57 p5-DBI-1.37|mysql-client-3.23.57
p5-DBI-1.37|http://search.cpan.org/dist/DBD-mysql/

It's a big headache to fix this kind of conflict, since the buid cluster
doesn't handle make-time switches.
I've made a patch to test it, and it's quite suboptimal :-)

regards,
clem



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