• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

The tick_twiki.pl script has been moved to twiki/tools (as it should be). Running perl tick_twiki.pl gives this error:

bash-2.05$ perl tools/tick_twiki.pl
Can't locate setlib.cfg in @INC (@INC contains: . /opt/csw/lib/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/lib/perl/csw /opt/csw/share/perl/csw /opt/csw/share/perl/csw /opt/csw/lib/perl/5.8.7 /opt/csw/share/perl/5.8.7 .) at tools/tick_twiki.pl line 37.
BEGIN failed--compilation aborted at tools/tick_twiki.pl line 38.

The header has this:

# This is so it can pick up the right TWiki environment from
# setlib.cfg.

Since it makes sense to keep this and other scripts in twiki/tools, should we introduce a setlib.cfg in this directory?

-- PTh

Maybe. The reason I am somewhat reluctant is that we then end up with multiple setlib.cfg's to maintain. There are four alternatives:

  1. Execute all scripts when cd'd to bin
  2. Copy setlib.cfg and LocalLib.cfg to tools
  3. Require that ../bin/setlib.cfg resolves from tools
  4. Require that setlib.cfg be found in @INC before running any script
Of these, 4 is my strong preference. The command-line for tick_twiki.pl would be:
perl -I ../bin tick_twiki.pl
(replace .. with the absolute path to the bin dir)

I changed the documentation accordingly.

SVN 8297


Summary tick_twiki.pl has to be executed from bin
ReportedBy PeterThoeny

SVN Range Thu, 12 Jan 2006 build 8253
AppliesTo Engine

Priority Urgent
CurrentState Closed

Checkins 8297 8309
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2006-01-15 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback