Question
I have followed the installation procedure of installing TWiki on Redhat EL5. I am at the TWiki Configuration screen, under Security Setup, Sessions, it is asking to have the CGI::Session Perl Module. It is saying "Error: The CGI::Session Perl module is required for session support, but is not available." I have installed the RPM, and CPAN versions of this module and have had no luck getting this error to go away.
Environment
--
JonasShearer - 18 Apr 2007
Answer
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.
I solved this on an hosted server: compile the cpan module with
perl Makefile.PL LIB=~twiki/lib/CPAN/lib PREFIX=~twiki/lib/CPAN/lib. ~twiki is the home dir of your installation. in
LocalLib.cfg set $twikiLibPath to
~twiki/lib. Perhaps this works also for you.
--
RichardVinke - 19 Apr 2007
--
JonasShearer - 20 Apr 2007
I tried the first recommendation, but it made no change. The $twikiLibPath was already changed when I followed the instructions from the
TWikiOnRedHat form. Anyone else?
--
JonasShearer - 20 Apr 2007
It almost seems as if the CGI::Session is not installing, but I know it is. TWiki for some reason is not recognizing it.
--
JonasShearer - 20 Apr 2007
Did you did the install with the above parameters and
make,
make test, and
make install? If than the
$twikiLibPath is set to the above mentioned path, TWiki should find the new installation.
--
RichardVinke - 21 Apr 2007
its very odd that you have CPAN::Session installed, but at the same time don't. The next thing to do, is to
find the CGI/Session.pm file - so you know where rpm etc have put them. then take a look at the PERL LIB path shown in
configure
I'm expecting that either you can't find it (thus its not actually installed), or its not in the PERL path that TWiki is using.
--
SvenDowideit - 24 Apr 2007
I used a different command and installed it. I'm not sure, it may have been me.
--
JonasShearer - 15 May 2007