On Thu, Jul 2, 2009 at 2:54 AM, Zhang Jun <gb2313@gmail.com> wrote:
DBD::mysql is just need some mysql library and header files,
mysqld should not be needed.

maybe the reason is gentoo does not like other pre-compiled distro,
and compiling the header/lib need compile mysqld ?

# emerge -pvt DBD-mysql

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] dev-perl/DBD-mysql-4.00.5  120 kB
[ebuild  N    ]  virtual/mysql-5.0  0 kB
[ebuild  N    ]   dev-db/mysql-5.0.70-r1  USE="berkdb perl ssl
-big-tables -cluster -debug -embedded -extraengine -latin1
-max-idx-128 -minimal (-selinux) -static" 28,028 kB
[ebuild  N    ]    dev-db/mysql-init-scripts-1.2  0 kB
[ebuild  N    ]    sys-apps/ed-1.0  67 kB



  <flag name='minimal'>Install client programs only, no server</flag>

--
Kent

perl -e  "print substr( \"edrgmaM  SPA NOcomil.ic\\@tfrken\", \$_ * 3, 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );

http://kent-fredric.fox.geek.nz