cpan Date::Manip perl module on Darwin (not Darwin ports)

less than 1 minute read

When attempting to install the Date::Manip perl module via cpan on Darwin it will probably give an error like:

make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

You are not really given much information, but if you attempt to build from source you will see a few dependencies are missing:
Test::Pod::Coverage and Test::Inter

Install these first via cpan:

cpan> install Test::Pod::Coverage
cpan> install Test::Inter

After that the cpan install of Date::Manip still did not work for me, but installing from source seemed to.
Download the Date::Manip source (make sure you have developer tools installed to build from source)

Building this module is a bit weird. Unpack it, and move into the directory. Then run the following to build and install:

perl Build.PL
./Build test
sudo ./Build install




Leave a Comment