You should might use Fink to install DBDs and DBI on OS X. It's the easiest way to install it and a lot more software like XFree86, vim, emacs, etc. Just go over to the Fink site and install it. Then from your terminal, you can use apt-cache search TERM to find the package (with "TERM" in its title or description) you need. The DBD package is also listed on the Fink site. After you get the package name, use apt-get install packagename to install it.
Fink is a project that wants to bring the full world of Unix Open Source software to Darwin and Mac OS X. As a result, we have two main goals. First, to modify existing Open Source software so that it will compile and run on Mac OS X. (This process is called porting.) Second, to make the results available to casual users as a coherent, comfortable distribution that matches what Linux users are used to. (This process is called packaging.) The project offers precompiled binary packages as well as a fully automated build-from-source system.
To achieve these goals, Fink relies on the excellent package management tools produced by the Debian project - dpkg, dselect and apt-get. On top of that, Fink adds its own package manager, named (surprise!) fink. You can view fink as a build engine - it takes package descriptions and produces binary .deb packages from that. In the process, it downloads the original source code from the Internet, patches it as necessary, then goes through the whole process of configuring and building the package. Finally, it wraps the results up in a package archive that is ready to be installed by dpkg.
Since Fink sits on top of Mac OS X, it has a strict policy to avoid interference with the base system. As a result, Fink manages a separate directory tree and provides the infrastructure to make it easy to use.
In general, for Perl modules you should use the CPAN installation module. This is the installation method that works on all systems that run Perl. Open the terminal and do perl -MCPAN -e'shell' Once you've loaded and configured CPAN, you can then use the install command to install all the modules you need.
--
Allolex
In reply to Re: OS X module installation
by allolex
in thread OS X module installation
by JeffR100
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |