On Tue, Feb 22, 2005 at 01:55:57PM +0100, Francesco Riosa wrote:
> After some testing on MySQL ebuild for version 4.1.x and 5.0.x appear to 
> me that is very difficult have a stable version of those databases with 
> current glibc, gcc and maybe os-headers stable defaults (at least on x86 
> and amd64).
> 
> Adding a dev-db/mysql-bin package seems the only short-term viable 
> solution to have those versions of mysql in portage tree. Leaving out 
> all the problems that dependant packages have after mysql 4.1.3 release.
> 
> I'm going to writing an ebuild that (maybe using alternatives.eclass) 
> unpack the binary distribuited version of mysql in /opt/ dir and symlink 
> all the programs to paths currently used from the source dist.
> 
> any input on how to write it in a way that permit it to be included in 
> the portage tree very apreciated, expecially that from Robin H. Johnson 
> a.k.a robbat2
I'd say it should be mutually exclusive of the source-built version
(DEPEND=!dev-db/mysql).  See about putting it's bindir into the PATH
instead of messing around with symlinks. However I think it should use
the same /var/lib/mysql for it's data directory.

By default it should provide the stock binaries, if USE=max, then
provide the mysql-max binaries, and if USE=debug, instead provide the
debugging binaries.

-- 
Robin Hugh Johnson
E-Mail     : [EMAIL PROTECTED]
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

Attachment: pgpGQQutg8tth.pgp
Description: PGP signature

Reply via email to