DBD::mysql question
Ryan Schmidt
ryandesign at macports.org
Sat Oct 29 17:50:18 PDT 2011
On Oct 29, 2011, at 08:11, Mr. Puneet Kishor wrote:
> I could be wrong, but I think if a port depends on another port (as described in its portfile), you are kinda out of luck --- the dependency will get installed. That is why I have a couple of three different perls now on my computer, and a few other superfluous software packages.
If MacPorts installed the ports for you, in response to a port you asked to have installed, then they're not superfluous.
Having multiple perls installed is annoying, I agree. Most ports that use perl shouldn't care which perl you use. 5.12 is the version we're defaulting to now so that would probably be a safe version to use.
> Instead, for the most part, when it comes to perl modules, just install them using cpan or cpanminus (I prefer cpanminus). As long as your macport preferred perl is the default perl in the path, your requested module will get installed correctly.
If you use MacPorts, you shouldn't use CPAN to install modules; they'll conflict with MacPorts ports of those modules. If ports don't exist for the modules you need, request them, or even create them yourself and submit them; the cpan2port script makes it pretty easy to create ports for perl modules.
More information about the macports-users
mailing list