You are not logged in.

#1 2017-01-27 17:25:46

dbickin
Member
Registered: 2015-09-30
Posts: 76

[SOLVED] perl DATA-ICAL-DATETIME

I have been a happy user of Crunchbang for a good number of years, but have decided to give Bunsen a try.

I am stuck because I wrote a perl script that uses the Data::iCAL::Datetime module to read some of my on-line data. Somehow I got that module installed on Crunchbang, but I can't remember how.

I don't see that package included in Debian's repository.
I followed a guide on installing cpan to in turn install the module, but that guide was written for an old version of Debian, and I tried to use what I thought were the more up to date tools, but the end results was a plethora of error messages that I haven't been able to get around.

So, my question here is... can anyone point me to a "simple" guide that will walk me through how to get the needed module in to my fresh BunsenLab install?

Thanks,
David

Last edited by dbickin (2017-01-28 15:08:35)

Offline

#2 2017-01-27 17:34:26

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] perl DATA-ICAL-DATETIME

I recently installed a perl module with CPAN, using this construction:

perl -MCPAN -e 'install Data::iCAL::Datetime'

Other methods shown here: http://www.cpan.org/modules/INSTALL.html

Last edited by damo (2017-01-27 17:37:44)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2017-01-28 02:59:14

dbickin
Member
Registered: 2015-09-30
Posts: 76

Re: [SOLVED] perl DATA-ICAL-DATETIME

That still doesn't appear to work. Lots and lots of text, but I could see recurring lines with 'make -- NOT OK', and a few times I saw couldn't "find compiler."

I see some gcc stuff is installed, but gcc itself doesn't appear to be installed.

Which packages should I install?

David

EDIT:: Okay, I misspelled build-essential when I tried installing that. That is now in place, and the CPAN stuff looks like it is generating "less" errors. Hard to tell with all the text it spits out... not a very user friendly utility.

Last edited by dbickin (2017-01-28 03:12:37)

Offline

#4 2017-01-28 15:08:02

dbickin
Member
Registered: 2015-09-30
Posts: 76

Re: [SOLVED] perl DATA-ICAL-DATETIME

Okay, I got it working.
For the record,

I ran:
sudo apt-get install build-essential
sudo perl -MCPAN -e 'install App::cpanminus'
sudo cpanm Data::ICal::DateTime
  (which failed, but exmining cpanm's log showed that the failure had to do with European timezones, which don't apply to me)
sudo cpanm --force Data::ICal::DateTime

Thank you, damo for the link to the Install methods, cpanm reduced the noise levels to the point where I could figure out what was going wrong.

David

Offline

Board footer

Powered by FluxBB