Tags:
create new tag
view all tags

Question

Am trying to install TWiki on my Win98 PC at home. Yes I know it's old .. but it's what I've got right now. Have so far spent the day reading through all the cookbooks, instructions and comments, and installed as per the written advice. However, am having problems running it. The testenv script didn't appear in the download, so I manually downloaded the latest from here.

I can see the basic twiki install page at 127.0.0.1, but accessing 127.0.0.1/bin/testenv results in an internal server error. Accessing /bin results in a Forbidden .. no permission error.

Have gone through all the configurations twice, and all seems ok, so hopefully someone can kindly give me a few pointers as to what to look at next?

I've attached a run of testenv below.

Environment

TWiki version: TWikiRelease2005x12x17x7873beta
TWiki plugins: none
Server OS: MS Windows 98SE 4.10.2222 A
Web server: Apache 1.3.34-win32-x86
Perl version: v5.8.7
Client OS: MS Windows 98SE 4.10.2222 A
Web Browser: Mozilla firefox 1.5
Categories: Installation

Running testenv manually, I get this:

Test the environment for TWiki
Please read the TWikiInstallationNotes for more information on TWiki installation.
Environment variables:
!C:   C:\download\Cygwin\bin
BLASTER   A220 I5 D1 T4
CMDLINE   bash --login -i
CVS_RSH   /bin/ssh
HOME   /c/cygwin/home/administrator
HOSTNAME   hj7500
INFOPATH   /usr/local/info:/usr/share/info:/usr/info:
MAKE_MODE   unix
MANPATH   /usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man
OLDPWD   /c/twiki/lib
PATH   /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/WINDOWS:/c/windows:/c/windows/COMMAND
PRINTER   HP LaserJet 4L
PROMPT   $p$g
PS1   \[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$
PWD   /c/twiki/bin
SHLVL   1
SYSTEMROOT   C:\WINDOWS
TEMP   /c/windows/TEMP
TERM   cygwin
TMP   /c/windows/TEMP
USER   admin
WINBOOTDIR   C:\WINDOWS
WINDIR   C:\WINDOWS
_   ./testenv
CGI Setup:
[Mon Jan 2 20:02:57 2006] testenv: Use of uninitialized value in string eq at ./testenv line 296. [Mon Jan 2 20:02:57 2006] testenv: Use of uninitialized value in string ne at ./testenv line 355. [Mon Jan 2 20:03:02 2006] testenv: Use of uninitialized value in substitution (s///) at ./testenv line 516.
Operating system:   (cygwin)
Perl version:   5.8.7-5 (Cygwin)
@INC library path:   /c/twiki/lib/CPAN/lib//arch/
/c/twiki/lib/CPAN/lib//5.8.7/cygwin-thread-multi-64int/
/c/twiki/lib/CPAN/lib//5.8.7/
/c/twiki/lib/CPAN/lib//
/c/twiki/lib
/usr/lib/perl5/5.8/cygwin
/usr/lib/perl5/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
.
   Note: This is the Perl library path, used to load TWiki modules, third-party modules used by some plugins, and Perl built-in modules.
TWiki module in @INC path:   
   OK, TWiki.pm found (TWiki version: unknown)
Required Perl modules:   
   CGI (3.10)
   CGI::Carp (1.29)
   File::Copy (2.08)
   File::Spec (3.05)
   FileHandle (2.01)
   Digest::SHA1 (2.10)
   MIME::Base64 (3.07)
   Net::SMTP (2.29)
Optional Perl modules:   
   Algorithm::Diff (1.1901)
   MIME::Base64 (3.07)
   POSIX (1.08)
   Encode (2.10)
   Note: Optional module 'Unicode::MapUTF8' not installed - check TWiki documentation to see if your configuration needs this module.
   Note: Optional module 'Unicode::Map' not installed - check TWiki documentation to see if your configuration needs this module.
   Note: Optional module 'Unicode::Map8' not installed - check TWiki documentation to see if your configuration needs this module.
   Note: Optional module 'Jcode' not installed - check TWiki documentation to see if your configuration needs this module.
   Digest::MD5 (2.33)
PATH_INFO:   
   Note: For a URL such as http://localhost/./testenv/foo/bar, the correct PATH_INFO is /foo/bar, without any prefixed path components. Test this now - particularly if you are using mod_perl, Apache or IIS, or are using a web hosting provider. The page resulting from the test link should have a PATH_INFO of /foo/bar.
mod_perl:   Not used for this script (mod_perl not loaded into Apache)
User:   admin
   Note: Your CGI scripts are executing as this user.
   Warning: Since your CGI script is not running as user nobody, you need to change the locks in the *,v RCS files of the TWiki distribution from nobody to admin. Otherwise, changes to topics will not be logged by RCS.
   Fix: If needed, relock all the rcs files to user admin
Group(s):   all all
Test of TWiki.cfg Configuration:
[Mon Jan 2 20:03:03 2006] testenv: Use of uninitialized value in substitution (s///) at ./testenv line 618. [Mon Jan 2 20:03:03 2006] testenv: Use of uninitialized value in substitution (s///) at ./testenv line 618. [Mon Jan 2 20:03:03 2006] testenv: Use of uninitialized value in concatenation (.) or string at ./testenv line 626. [Mon Jan 2 20:03:03 2006] testenv: Use of uninitialized value in concatenation (.) or string at ./testenv line 637. [Mon Jan 2 20:03:03 2006] testenv: Use of uninitialized value in concatenation (.) or string at ./testenv line 643. [Mon Jan 2 20:03:03 2006] testenv: Use of uninitialized value in concatenation (.) or string at ./testenv line 672. [Mon Jan 2 20:03:03 2006] testenv: Use of uninitialized value in concatenation (.) or string at ./testenv line 676. [Mon Jan 2 20:03:03 2006] testenv: Use of uninitialized value in concatenation (.) or string at ./testenv line 685. [Mon Jan 2 20:03:03 2006] testenv: Use of uninitialized value in concatenation (.) or string at ./testenv line 689. [Mon Jan 2 20:03:03 2006] testenv: Use of uninitialized value in concatenation (.) or string at ./testenv line 698. [Mon Jan 2 20:03:03 2006] testenv: Use of uninitialized value in concatenation (.) or string at ./testenv line 702.
$defaultUrlHost:   http://127.0.0.1
   Note: This must match the protocol and host part (with optional port number) of the TWiki URL.
$scriptUrlPath:   /bin
   Note: This must match the 'cgi-bin' part of the URL used to access the TWiki cgi-bin directory.
   This web server does not set REQUEST_URI, so it's not possible to check the correctness of this setting.
$pubUrlPath:   /pub
   Note: This must be the URL of the public directory.This is not set correctly if the /pub/wikiHome.gif image below is broken:
$pubDir:   /twiki/pub
   Note: This is the public directory, as seen from the file system. It must correspond to $pubUrlPath.
   Error: Directory does not exist or file wikiHome.gif does not exist in this directory.
$templateDir:   /twiki/templates
   Note: This is the TWiki template directory, as seen from the file system.
   Warning: Security issue: This directory should not be writable by the admin user.
$dataDir:   /twiki/data
   Note: This is the data directory where TWiki stores all topics.
$mailProgram:   
   Note: This is not typically used on Windows - the Perl Net::SMTP module is used instead.
$rcsDir:   
   Note: This is the directory where RCS is located.
   Warning: [Mon Jan 2 20:03:03 2006] testenv: Use of uninitialized value in concatenation (.) or string at ./testenv line 646. RCS program /ci not found. Check $rcsDir setting in TWiki.cfg. TWiki will not work (unless you are using TWiki's built-in RCS implementation, RcsLite).
$lsCmd:   
   Note: This is the file list program TWiki uses to list topics.
   Warning: List program not found. Check the path.
$egrepCmd:   
   Note: This is a program TWiki uses for search.
   Warning: Search program not found. Check the path.
$fgrepCmd:   
   Note: This is a program TWiki uses for search.
   Warning: Search program not found. Check the path.
$safeEnvPath:   /bin
   Note: This is used to initialise the PATH variable, and is used to run the 'diff' program used by RCS, as well as to run shell programs such as cmd.exe or Cygwin's 'bash'.

Since you are using Cygwin Perl, 'bash' will be used without any special setup.
Path and Shell Environment
Original PATH:   /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/WINDOWS:/c/windows:/c/windows/COMMAND
   Note: This is the PATH value passed in from the web server to this script - it is reset by TWiki scripts to the PATH below, and is provided here for comparison purposes only.
Current PATH:   /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/WINDOWS:/c/windows:/c/windows/COMMAND
   Note: This is the actual PATH setting that will be used by Perl to run programs. It is normally identical to $safeEnvPath, unless that variable is empty.
diff:   GNU diff was found on the PATH - this is the recommended diff tool.
   Note: The 'diff' command is used by RCS to compare files.

-- HelenJohnstone - 02 Jan 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

There is no testenv script for your downloaded version of TWiki anymore. Use configure instead!

-- FranzJosefSilli - 03 Jan 2006

More reading and yes ... no testenv. However, still couldn't get it to run. So found the IndigoPerl cookbook, removed the loaded apache, cygwin, perl etc and reloaded using indigoperl. Much easier to install. However, still wouldn't work. Looked around more, and found I had to put in the full path to the perl.exe in each .pl file for it to run.

Now got Dakar running on a win98 wink

-- HelenJohnstone - 06 Jan 2006

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-01-06 - HelenJohnstone
 
  • 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.