Tags:
create new tag
, view all tags

Question

When I run configure it tells me that it cannot find certain perl modules, namely Error.pm and TWiki.pm. However the @INC it cites includes both /var/www/localhost/htdocs/twiki/lib/CPAN/lib// and /var/www/localhost/htdocs/twiki/lib, the places where these files located (I've doublechecked several times using ls -d /full-file-path/filename). However the other perl modules twiki needs (the ones that are not part of twiki per se, such as File::Copy) it does manage to find.

If those two modules are in the perl library path, what on earth could be preventing configure from finding them?

I know I'm supposed to attach the output of configure here. I have no idea how to do this. I will attach the output when I find out.

Environment

TWiki version: TWikiRelease04x00x01
TWiki plugins:  
Server OS: Gentoo Linux with customised 2.6.15-gentoo kernel
Web server: apache-2.0.55-r1
Perl version: 5.8.7
Client OS: Gentoo Linux, kernel 2.6.15 (customised)
Web Browser: opera 8.52
Categories: Installation

-- RobertPersson - 18 Mar 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

I've found the attach button and the output of configure is now clickable below.

-- RobertPersson - 18 Mar 2006

I don't know if this is relevant at all, but I have noticed that the logo in the top left-hand corner of the configure output is missing when I go to localhost/twiki/bin/configure, despite the fact that the logo is in localhost/twiki/bin/logos where it was first installed.

-- RobertPersson - 18 Mar 2006

solved! chmod -R a+rX /var/www/localhost/htdocs/twiki

In other words, all twiki files need to be readable and all folders must be executable by everybody. Or is that a bit drastic? Do they need to be readable by any user other than the apache user?

-- RobertPersson - 18 Mar 2006

I haven't closed this support request yet because I'm still not clear about what permissions are actually needed to get twiki properly configured without creating a big security hole. If anybody could post the answer here then I can mark this question answered. Sooner or later I shall be able to do this myself, but it won't be for a while, and I'd hate for anybody to find their system security compromised because of my half-baked advice.

-- RobertPersson - 02 May 2006

 

Topic attachments
I Attachment Action Size Date Who Comment
HTMLhtml httplocalhosttwikibinconfigure.html manage 140.7 K 2006-03-18 - 07:43 RobertPersson Here is the output of configure
Topic revision: r4 - 2006-05-02 - RobertPersson
 
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.