DBD-mysql should not depend on dev-db/mysql

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

DBD-mysql should not depend on dev-db/mysql

Zhang Jun
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

Reply | Threaded
Open this post in threaded view
|

Re: DBD-mysql should not depend on dev-db/mysql

Ruslan Zakirov
As far as I recall gentoo has no mysql-libs package, so to build libs
you have to install whole mysql.

On Wed, Jul 1, 2009 at 6:54 PM, Zhang Jun<[hidden email]> 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
>
>



--
Best regards, Ruslan.

Reply | Threaded
Open this post in threaded view
|

Re: DBD-mysql should not depend on dev-db/mysql

Adam Prime
I'm pretty sure that with USE=minimal dev-db/mysql will only install the
client libraries.

Adam

Ruslan Zakirov wrote:

> As far as I recall gentoo has no mysql-libs package, so to build libs
> you have to install whole mysql.
>
> On Wed, Jul 1, 2009 at 6:54 PM, Zhang Jun<[hidden email]> 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
>>
>>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: DBD-mysql should not depend on dev-db/mysql

Kent Fredric
In reply to this post by Zhang Jun


On Thu, Jul 2, 2009 at 2:54 AM, Zhang Jun <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: DBD-mysql should not depend on dev-db/mysql

Zhang Jun
In reply to this post by Adam Prime
O, thank you!

2009/7/2 Adam Prime <[hidden email]>:

> I'm pretty sure that with USE=minimal dev-db/mysql will only install the
> client libraries.
>
> Adam
>
> Ruslan Zakirov wrote:
>>
>> As far as I recall gentoo has no mysql-libs package, so to build libs
>> you have to install whole mysql.
>>
>> On Wed, Jul 1, 2009 at 6:54 PM, Zhang Jun<[hidden email]> 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
>>>
>>>
>>
>>
>>
>
>
>