installing cpan-module

Hello,
I am trying to install a cpan-module (HTML::CalendarMonthSimple in this case).
But if I use

sudo cpan
install HTML::CalendarMonthSimple

At the end of installation it will fail with:

" CPAN.pm: Going to build S/ST/STIGMATA/HTML-CalendarMonthSimple-1.25.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for HTML::CalendarMonthSimple
-- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible "

Is there any workaround?

Thank you in advance!

Now I have a solution

Hello Austin,
i think I had. but without effect.
Now I have a solution: before strating CPAN I had to use:

sudo cpan
o conf init

After this all works perfect with
cpan install...

Thank you very much for your help!!

Have you installed this

Have you installed this package as well: libcalendar-simple-perl?

Like I said, there are probably half a dozen of these dependencies for whatever module you are trying to install. It's up to you to find them and install them. Starting with installing the Ubuntu packages using apt-get (find them using apt-search). If there aren't packages, then you can resort to using CPAN and build dependencies strait from there.

If you have to go the CPAN route, this package may need to be installed but I am not certain: libperl-dev.

Good luck.

Austin

unfortunately not succesfull

Hello Godber,
many thanks for your answer.

TWiki seems to accept only this "HTML::CalendarMonthSimple" script.
After this I tried the instuctions in http://www.jumpbox.com/node/834 . But I get always the same result in CPAN:"... make had returned bad status, install seems impossible".

Is there any 2nd solution?

installing cpan-module

Hi,
If you can avoid using the CPAN module I would do so. Just like the last perl module you needed, it might be available as an Ubuntu package. Do you see a likely package when you search for it?

sudo apt-get update
apt-cache search perl calendar

I see a likely candidate:

sudo apt-get install libhtml-calendarmonth-perl

It sounds like you will have a lot of these so if you get used to using 'apt-cache search' you will probably save some waiting around for an answer.

Also, just so you know, the reason your install above failed was because there are no development tools installed on a JumpBox. See the JumpBox FAQ on Development Tools.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.