Extender Script

If you have downloaded a TWiki extension, and the installer script tells you that you need
tools/extender.pl then you have come to the right place.
- Download the attached script
- Rename it
extender.pl
- Move it to the
tools directory below your TWiki installation root (create the directory if you need to)
- Make sure the permissions are right so that the webserver user can read the script (it does not need execute permission)
Nerdy details: TWiki 4.2 now ships with a built-in module that is used by extensions installers. This module is loaded by the installer, and does most of the work. I resisted doing this before now because of the problem of supporting older versions of TWiki; but I have refactored the script now so it can be used with any version of TWiki-4 (and probably 3 as well, though that's untested).
--
CrawfordCurrie - 24 Sep 2007
Discussion
Hi,
i've installed twiki 4.1 on my debian/testing from debian repositories; but i'm not sure which is the TWiki installation root. Please an advice, how can i determine it?
--
DavidGaydou - 21 Dec 2007
It should be the directory above the TWiki
bin directory (where the TWiki scripts are located).
--
CrawfordCurrie - 22 Dec 2007
Hi, i've put a copy of extender.pl script on the following directories:
/usr/lib/cgi-bin/twiki/tools/extender.pl
/usr/share/twiki/tools/extender.pl
/var/lib/twiki/tools/extender.pl
/var/www/twiki/tools/extender.pl
and i've changed permitions to a+rwx. When i execute:
perl
MailerContrib_installer
it still doesn't find the extender.pl script.
Is there any switch to know where does
MailerContrib_installer is looking for the extender.pl script or to tell it where i've put it.
Greetings
--
DavidGaydou - 22 Dec 2007
--
DavidHunter - 12 Feb 2008
I had the same trouble.
Resolution - The install script being run needs to be in the root Twiki directory. The script looks to the relative path for the 'tools' directory containing extender.pl.
--
DavidHunter - 12 Feb 2008
I too have the same issue. I use RHEL 4.0.
I have the extender.pl in the
/tools and even did chown apache:apache * -R, chmod +x * -R, to update all the files in the twiki folder accomodate the user-id that is used by the webserver.
It continues to fail with same message. I thought it would take relative folder,so went ahead and copied the tools folder into the bin..(where the plugins are getting installed) but still no luck.
Can anybody suggest what has to be done to get this working with TWiki-4.2.0
-- SrikanthKrishnamachary - 17 Apr 2008