Tags:
archive_me1Add my vote for this tag create new tag
view all tags

Bug: testenv breaks on ActivePerl

ActiveState Perl 5.6.1 builds 628 and 631 (latest at present) both break on the Dec 2001 testenv script, because of calls to getpwuid and getgrid, which don't exist in this port of Perl (although they do in CygWin Perl - see WindowsInstallCookbook for installation details).

Test case

Run testenv.

Environment

TWiki version: Dec2001
TWiki plugins: Default set
Server OS: Windows 2000 SP2
Web server: Apache 1.3.20
Perl version: ActivePerl 5.6.1 build 628 and 631
Client OS: Win2000
Web Browser: IE5.5

-- RichardDonkin - 24 Feb 2002

Follow up

The latest testenv (CVSget:bin/testenv) fixes this and also provides many new features such as checking the exact Perl version, and whether you are using ActiveState or CygWin Perl (easy to pick up the wrong one if you have both installed.) It provides much more help and diagnostics, particularly for Windows installations, with some new features that apply to all platforms and to Unix.

Fix record

While CygWin Perl is highly compatible with Unix Perl, ActivePerl differs in a number of respects, as of 5.6.1 build 631, hence the fixed script available at CVSget:bin/testenv. Generally, the latest testenv should always work on earlier TWiki releases, and often has improved diagnostics.

Summary of new features:

  • Tests whether Apache's mod_perl is loaded, and whether it was used to run testenv - see ModPerl.
  • Tests for versions of Perl and RCS, with warning if versions are old
  • Checks for GNU diff
  • Checks the TWiki.pm module can be loaded
  • Checks for required and optional Perl modules
  • Tests for .exe files on Windows
  • Shows original and cut-down PATH settings
  • Diagnoses PATH_INFO problems (where servers provide corrupt PATH_INFO, leading to a webname that is corrupt - e.g. CobaltRaqInstall, WebDoesNotExist, etc). This problem has affected IIS, Apache + cgiwrap (and in particular Cobalt Raq servers).
  • Works with older TWikis as well as with the Feb 2003 release onwards
  • Much more robust when modules are missing or paths are wrongly set
  • Supports InternationalisationEnhancements for use of national characters in WikiWords etc
  • [See CVS log entries at CVS:bin/testenv for more details]

Contributors:

Download

Use CVSget:bin/testenv to download the latest version, which works with the Dec 2001 and earlier releases, as well as with the Feb 2003 release and later alphas/betas leading up to CairoRelease.

Edit | Attach | Watch | Print version | History: r21 < r20 < r19 < r18 < r17 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r21 - 2005-02-15 - SamHasler
 
  • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.