[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] mysql-bin ebuild
From:       Francesco Riosa <francesco () pnpitalia ! it>
Date:       2005-02-27 1:26:28
Message-ID: 422121C4.5030300 () pnpitalia ! it
[Download RAW message or body]

Robin H. Johnson ha scritto:

>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.
>
>  
>
- PATH & MANPATH added to /etc/env.d/98mysql
- include & lib both are simlynked, /etc/my.cnf too to avoid client 
problems.

http://bugs.gentoo.org/show_bug.cgi?id=83424
http://bugs.gentoo.org/attachment.cgi?id=52202&action=view

Best Regards,
Francesco Riosa
--
gentoo-dev@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic