Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

vars.pm strict.pm Time/Local.pm?

Quote Reply
vars.pm strict.pm Time/Local.pm?
Hi

I get some error messages because I don't have the required modules, but I can't see that the modules are required...?

I get this error when I try to add a link:

Error Message : fatal error: Can't locate Time/Local.pm in @INC (@INC contains: g:\activewebroot\00110\u00110582\dir\cgi-bin\admin .) at g:/activewebroot/00110/u00110582/dir/cgi-bin/admin/links.cfg line 163.


And this error when I try to validate a link:

Error Message : fatal error: Can't locate strict.pm in @INC (@INC contains: g:\activewebroot\00110\u00110582\dir\cgi-bin\admin .) at g:/activewebroot/00110/u00110582/dir/cgi-bin/admin/Template.pm line 21.
BEGIN failed--compilation aborted at g:/activewebroot/00110/u00110582/dir/cgi-bin/admin/Template.pm line 21.


And this error when I try to build the pages:

Can't locate vars.pm in @INC (@INC contains: .) at g:\activewebroot\00110\u00110582\dir\cgi-bin\admin\nph-build.pl line 36. BEGIN failed--compilation aborted at g:\activewebroot\00110\u00110582\dir\cgi-bin\admin\nph-build.pl line 36.


Summary:
Can't find vars.pm, strict.pm and Time/Local.pm

Where do I get this modules, ore what can I do?

Please help me!

Best Regards,
Sebastian

Quote Reply
Re: vars.pm strict.pm Time/Local.pm? In reply to
Take a look at cpan.com or perl.com.

If you get module errors like that and there aren't any 'use' or 'require' statements in the script related to the module with the error, then it is because the module that is listed depends on other modules to be installed in order to work (in other words, they have 'use' and 'require' statements embeded in them the same way the scripts do, and the errors will be passed to the script).

But anyway, um... well, if you look closely enough in the config files and scripts, these modules are listed.

--Drew
Quote Reply
Re: vars.pm strict.pm Time/Local.pm? In reply to
Thank you!

Seb

Quote Reply
Re: vars.pm strict.pm Time/Local.pm? In reply to
In Reply To:
Take a look at cpan.com or perl.com.
Actually it is http://www.cpan.org not http://www.cpan.com. Wink

Also...all current Perl modules come with the current releases of Perl via http://www.activestate.com. Try upgrading your Perl package first before downloading modules via CPAN.

Regards,

Eliot Lee

Quote Reply
Re: vars.pm strict.pm Time/Local.pm? In reply to
I knew that Blush. (What's the connection between the domain name 'cpan.com' and that shopping directory? beats me.)

--Drew