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
--
RobertPersson - 18 Mar 2006
Answer
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