Tags:
create new tag
view all tags

Question

I'm need some help with installing CalendarPlugin. Following the directions, I searched out HTML::CalendarMonthSimple CPAN package and also got the Dale::Calc package which the docs said was required. After reading the docs in these packages as well as looking through the FAQ on CPAN, I think I understand the basic steps for installing these files. However, when I got up to the point where I execute make install, I was told that I did not have permission. I'm on a hosted site. Am I right in my impression that:

  1. I must install these two perl modules in order to run the CalendarPlugin?
  2. I have to have root access on my server to install these perl modules?

Can I in fact get CalendarPlugin working on a hosted site? I'm willing to keep digging and experimenting if someone can assure me that I'm not wasting my time and perhaps point me down the next path so I can continue my stumbling, bumbling way forward.

Thanks for any help!!

  • TWiki version: Dec 01
  • Web server: Linux
  • Server OS: Apache
  • Web browser:
  • Client OS:

-- LynnwoodBrown - 25 Jul 2002

Answer

I can't give you a lot of details, but you get the permission error because the installer tries to install the libs into the directory where Perl is installated by your hosting provider. You can specify an alternate location for your libs, try the TWiki lib directory, e.g. twiki/lib. Read the docs of the CPAN modules you are trying to install.

-- PeterThoeny - 01 Aug 2002

Thanks for the help, Peter. I read through the documentation for the CPAN module, specifically the man docs for ExtUtils::MakeMaker, to try and figure out how to designate and alternative location for the installation. Unfortunately, I could not make sense of it. frown I guess I'll have to wait until I can scare up some more technical help on this, unless someone knows the syntax I need for the perl Makefile.PL command.

-- LynnwoodBrown - 01 Aug 2002

See CpanPerlModulesRequirement for some links, near the end, on how to install CPAN modules without being root. Not exactly trivial but it is possible.

Also, SettingLibPath (in TWikiAlphaRelease) is useful if you want to locate these modules somewhere that is not on the normal Perl lib path (@INC) - though if you are not on the alpha, it may be easier just to edit the use lib lines at the top of every TWiki script to point to your local modules directory. (Or you could just apply the patches for SettingLibPath, which should work for Dec 2001 code).

-- RichardDonkin - 03 Aug 2002

i'm getting the following error: Software error: Undefined subroutine &TWiki::Plugins::CalendarPlugin::handleCalendar called at ../lib/TWiki/Plugins/CalendarPlugin.pm line 109. For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.

i have put the CPAN CalendarMonthSimple.pm file in the same directory as the CalendarPlugin.pm, i haven't seen any other instructions.. any ideas? thanks

-- GarethLloyd - 25 Mar 2003

You need to use an absolute library path, not a relative one like ../lib, which might fail if a TWiki or a Plugin changes the current directory while rendering a topic.

For the TWikiRelease01Feb2003 edit twiki/bin/setlib.cfg and set $twikiLibPath to the absolute path of twiki/lib as seen from the file system.

You need to put CalendarMonthSimple.pm in the correct path below a Perl library path. The module is HTML::CalendarMonthSimple, that means, copy it into twiki/lib/HTML/CalendarMonthSimple.pm.

-- PeterThoeny - 26 Mar 2003

Please see my comments and my situation in CalendarPluginUndefinedSubroutine

-- SteveRJones - 12 Nov 2003

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2003-11-13 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.