Tags:
create new tag
, view all tags
See: TWikiOnWindows

-- TWikiGuest - 02 Jul 2001

Im new to TWiki so I apologize if this comment is in the wrong place. I am trying to install TWiki on NT 4.0 w/ PWS. I have PERL working fine and I think my TWiki installation went well, but I am getting this error message when I try to browse /bin/view...

Can't locate wiki.pm in @INC (@INC contains: F:/Perl/lib F:/Perl/site/lib . .) at f:\Inetpub\wwwroot\twiki\bin\view.pl line 22. BEGIN failed--compilation aborted at f:\Inetpub\wwwroot\twiki\bin\view.pl line 22.

I've added the PERL5LIB system variable via the Environment tab in Control Panel/System but it doesn't alter the results of this message.

Here is the variable I am adding to the system env:

PERL5LIB=F:\Inetpub\wwwroot\twiki\bin

i've also tried

PERL5LIB=F:/Inetpub/wwwroot/twiki/bin

I just tried moving twiki/bin/*.pm to perl/lib/site (which is included in the @inc var above) and i CAN load view.pl but it opens to a blank white screen.

after a bit more reading I realized that that wasn't such a good idea so I moved it back and am now dealing with the @INC problem again.

If anyone has TWIKI working on NT, can you post your .cfg so I can see how you reference the paths? Im a bit confused how all this gets tied together with cygwin. Thanks!

Here is one of the path env problems I am having:

# set ENV{'PATH'} explicitly for taint checks ( #!perl -T option ) : $envPath = "/bin:/usr/bin";

How should this be set under a windows environment?


Im trying to run TWiki on PWS. Can someone post a wikicfg.pm so I can see how you define the path vars? I want to put F:\this\is\my\path but maybe there is a way i can keep the unix version since I am running cygwin? (i dont know much about cygwin yet,

Use forward slashes: f:/this/is/my/path. Even on native windows this works.

Topic revision: r4 - 2001-11-21 - MikeMannix
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.