HOWTO Install TWiki on Gentoo Linux
5.04.2006
For a study project of my wife I wanted to install TWiki and picked the ebuild. Installing wasn't that fluid, the bin/configure script was displayed as plain text.
But it's marked ~x86 so why blame the maintainer?
These are the steps which were required to get TWiki running for my setup.
edit bin/.htaccess to contain
Options +ExecCGI SetHandler cgi-script
This made the configure script display. It complained about
Error: 'TWiki.pm' could not be loaded. The error was:
Can't locate TWiki.pm in @INC (@INC contains: [...]Error: Check path to
twiki/liband check that LocalSite.cfg is present and readable
Right. TWiki.pm was not readable by the webserver.
# la lib/TWiki.pm -r--r----- 1 root root 112223 5. Apr 10:35 lib/TWiki.pm
So I chowned all files to the webserver:
# chown -R root:apache ./
configure also mentioned that it could not write the logfiles, so I gave the webserver write permissios to the data dir
find ./data | xargs chmod g+w
It's working
That's it pretty much. TWiki is now running here.

Dein Kommentar