|
发表于 2010-1-7 13:45:06
|
显示全部楼层
照着LZ的方法做,最后我可以看到 mysql-5.1.x 的ebuild
- # eix-update
- # eix -e dev-db/mysql
- [i] dev-db/mysql
- Available versions: [M]3.23.58-r1 [M]4.0.27-r1 [M]4.1.22-r1 [M]5.0.26-r2 [M]~5.0.32 [M]~5.0.34 [M]5.0.38 [M]5.0.40 [M]5.0.42 [M]5.0.44 [M]5.0.44-r1 [M]5.0.44-r2 [M]5.0.54 [M]~5.0.56 [M]~5.0.60 5.0.60-r1 5.0.70 5.0.70-r1 ~5.0.72 ~5.0.72-r1 ~5.0.76 ~5.0.76-r1 ~5.0.83 ~5.0.84 5.0.84-r1 [M]5.1.41[1] [M]5.1.42[1] {berkdb big-tables cluster community debug embedded extraengine filesystem innodb latin1 max-idx-128 minimal pbxt perl profiling raid readline revision selinux soliddb sphinx spider ssl static tcpd}
- Installed versions: 5.0.84-r1(04:32:29 PM 12/27/2009)(berkdb community perl ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -profiling -selinux -static)
- Homepage: http://www.mysql.com/
- Description: A fast, multi-threaded, multi-user SQL database server.
- [1] "go-mysql" /usr/local/portage/layman/go-mysql
复制代码
emerge 也可以。除LZ所说的意外,还要把 virtual/mysql ~x86 加到 portage.keywords 中。
- emerge -av =dev-db/mysql-5.1.42
- These are the packages that would be merged, in order:
- Calculating dependencies - * QA Notice: EXPORT_FUNCTIONS is called before inherit in mysql.eclass. For
- * compatibility with <=portage-2.1.6.7, only call EXPORT_FUNCTIONS after
- * inherit(s).
- * QA Notice: EXPORT_FUNCTIONS is called before inherit in mysql.eclass. For
- * compatibility with <=portage-2.1.6.7, only call EXPORT_FUNCTIONS after
- * inherit(s).
- * QA Notice: EXPORT_FUNCTIONS is called before inherit in mysql.eclass. For
- * compatibility with <=portage-2.1.6.7, only call EXPORT_FUNCTIONS after
- * inherit(s).
- * QA Notice: EXPORT_FUNCTIONS is called before inherit in mysql.eclass. For
- * compatibility with <=portage-2.1.6.7, only call EXPORT_FUNCTIONS after
- * inherit(s).
- ... done!
- [ebuild N ] dev-libs/xmlrpc-c-1.18.02 USE="cgi curl cxx threads -abyss -tools" 540 kB [0]
- [ebuild N ] dev-util/cmake-2.6.4-r3 USE="emacs -qt4 -vim-syntax" 3,209 kB [0]
- [ebuild U ] dev-db/mysql-5.1.42 [5.0.84-r1] USE="community perl ssl -big-tables -cluster -debug -embedded -extraengine -filesystem% -innodb% -latin1 -max-idx-128 -minimal -pbxt% -profiling -revision% (-selinux) -soliddb% -sphinx% -spider% -static (-berkdb%*)" 21,746 kB [0=>1]
- [ebuild U ] virtual/mysql-5.1 [5.0] 0 kB [0=>1]
- Total: 4 packages (2 upgrades, 2 new), Size of downloads: 25,494 kB
- Portage tree and overlays:
- [0] /usr/portage
- [1] /usr/local/portage/layman/go-mysql
- Would you like to merge these packages? [Yes/No]
复制代码 |
|