Re: mysql-server-4.0.10 package
On Sun, 10 Aug 2003 01:04:07 +0300 Mikael Karlsson [EMAIL PROTECTED] 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=mysqlstype=namerelease=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 |[EMAIL PROTECTED]|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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mysql-server-4.0.10 package
On Sat, 9 Aug 2003 22:18:55 +0300 Mikael Karlsson [EMAIL PROTECTED] wrote: Why does mysql-server-4.0.10 require both mysql-client-3.23.55 and mysql-client-4.0.10? Shouldn't mysql-client-4.0.10 be enough to provide the required stuff for the server!! MySQL Server DOESN'T need mysql-client-3.23.55 i.e. [EMAIL PROTECTED]|(622)| mysql40-server]# make pretty-print-build-depends-list This port requires package(s) libtool-1.3.5_1 to build. [EMAIL PROTECTED]|(623)| mysql40-server]# make pretty-print-run-depends-list This port requires package(s) mysql-client-4.0.14 p5-DBD-mysql-2.1026_1 p5-DBI-1.37 perl-5.6.1_13 to run. Maybe this is because you installed a ports that doesn't handle MySQL 4.0 dependencies. Can you send us the list of ports you use that depends on MySQL-client ? clem ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mysql-server-4.0.10 package
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=mysqlstype=namerelease=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. - Original Message - From: Clement Laforet [EMAIL PROTECTED] To: Mikael Karlsson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, August 09, 2003 11:14 PM Subject: Re: mysql-server-4.0.10 package On Sat, 9 Aug 2003 22:18:55 +0300 Mikael Karlsson [EMAIL PROTECTED] wrote: Why does mysql-server-4.0.10 require both mysql-client-3.23.55 and mysql-client-4.0.10? Shouldn't mysql-client-4.0.10 be enough to provide the required stuff for the server!! MySQL Server DOESN'T need mysql-client-3.23.55 i.e. [EMAIL PROTECTED]|(622)| mysql40-server]# make pretty-print-build-depends-list This port requires package(s) libtool-1.3.5_1 to build. [EMAIL PROTECTED]|(623)| mysql40-server]# make pretty-print-run-depends-list This port requires package(s) mysql-client-4.0.14 p5-DBD-mysql-2.1026_1 p5-DBI-1.37 perl-5.6.1_13 to run. Maybe this is because you installed a ports that doesn't handle MySQL 4.0 dependencies. Can you send us the list of ports you use that depends on MySQL-client ? clem ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mysql-server-4.0.10 package
In the last episode (Aug 10), Clement Laforet said: On Sun, 10 Aug 2003 01:04:07 +0300 Mikael Karlsson [EMAIL PROTECTED] 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=mysqlstype=namerelease=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 [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mysql-server-4.0.10 package
On Sat, 9 Aug 2003 20:11:05 -0500 Dan Nelson [EMAIL PROTECTED] wrote: Luckily the client packages are small (under 1MB), so it's not a major problem if both 3.23 and 4.0 get installed. These ports are conflicting. that's the problem :) 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. The ports handles it right, the problem is only in dependencies list. [EMAIL PROTECTED]|(909)| admin]# pkg_add -r ../All/mysql-server-4.0.14.tbz Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/../All/mysql-server-4.0.14.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/../All/p5-DBI-1.37.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/../All/mysql-client-4.0.14.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/../All/p5-DBD-mysql-2.1026_1.tbz... Done. all is ok. Because the port set 4.0 by default : .if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10) LIB_DEPENDS=mysqlclient.10:${PORTSDIR}/databases/mysql323-client .else .if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.14) LIB_DEPENDS=mysqlclient.14:${PORTSDIR}/databases/mysql41-client .else LIB_DEPENDS=mysqlclient.12:${PORTSDIR}/databases/mysql40-client .endif .endif and now the big question is why index consider MySQL ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mysql-server-4.0.10 package
Maybe they include both clients for people who administer old mysql installations. I remember reading somewhere that 4.1.0 clients don't work right with 3.x.. maybe there is a problem with 4.0.10 too. Not everyone can upgrade simultaneously. :) On Saturday, August 9, 2003, at 03:18 PM, Mikael Karlsson wrote: Why does mysql-server-4.0.10 require both mysql-client-3.23.55 and mysql-client-4.0.10? Shouldn't mysql-client-4.0.10 be enough to provide the required stuff for the server!! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Lucas Holt [EMAIL PROTECTED] FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]