-1

Hey guys i am trying to install the dropbox-api onto my suse 11.4 but i keep getting this error:

Can't locate DateTime.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.12.3/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.12.3 /usr/lib/perl5/vendor_perl/5.12.3/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.3 /usr/lib/perl5/5.12.3/i586-linux-thread-multi /usr/lib/perl5/5.12.3 .) at /root/bin/dropbox-api line 6. BEGIN failed--compilation aborted at /root/bin/dropbox-api line 6.

At first i thought it lacked some perl modules so i go ahead and install some CPAN modules along with the CPAN shell using #perl -MCPAN -e shell so through the shell i install the extra modules like # install DateTime::TimeZone But still i get the same error does anyone know what i could be doing wrong or whats wrong? I am using the instructions on this link to install the api

https://github.com/s-aska/dropbox-api-command

roykasa
  • 2,907
  • 6
  • 28
  • 29

1 Answers1

5

At first i thought it lacked some perl modules so i go ahead and install some CPAN modules along with the CPAN shell using #perl -MCPAN -e shell so through the shell i install the extra modules like # install DateTime::TimeZone

The error states that the module DateTime isn't installed, DateTime is not DateTime::Timezone. Install the DateTime module

Raoul
  • 3,849
  • 3
  • 24
  • 30
  • 1
    Thanks guys. It seems that its just the modules are not installed as pointed out by Raoul. i am installing them one by one. Incase i come up to another huddle that i fail to solve i will let you guys know. but thanks for the help. – roykasa Jul 07 '11 at 11:18
  • 1
    @roykasa if you're installing via CPAN you can configure it to install all dependencies: http://stackoverflow.com/questions/898782/how-do-i-tell-cpan-to-install-all-dependencies – Raoul Jul 07 '11 at 11:51