Re: problem dring installation:
Joel Palmius <[email protected]> Wed, 7 Dec 2005 18:09:05 +0100 (CET)
| Newsgroups | gmane.comp.apache.mod-survey.general |
|---|---|
| Message-ID | <[email protected]> |
It's a problem with newer versions of mod_perl not being backwards-compatible. Two ways to solve: either use an earlier version of mod_perl (such as 1.99.x), or use the latest CVS version of mod_survey. I'd recommend the later option. Try: export CVSROOT=":pserver:[email protected]:/cvs" cvs login (just answer with empty password) cvs checkout mod_survey And then run installer script as before. You should probably remove the earlier version before doing this. The current CVS version is about to be released as a new -pre, I just haven't got around to it. It should in theory work with all possible kinds of mod_perl. // Joel On Wed, 7 Dec 2005, nik600 wrote: > i've installed > > mod_perl-2.0.2 > httpd-2.0.54 > > and i load the module with > > LoadModule perl_module modules/mod_perl.so > > all works fine... > > when i include > Include "/usr/local/mod_survey/survey.conf" > > i get this error in the apache logs: > > [Wed Dec 07 17:46:03 2005] [error] \n\nERROR WHILE STARTING > MOD_SURVEY:\n--------------------------------\n\nCan't locate > Apache/Constants.pm in @INC (@INC contains: /usr/local/mod_survey/ > /usr/lib/perl5/5.8.6/i486-linux /usr/lib/perl5/5.8.6 > /usr/lib/perl5/site_perl/5.8.6/i486-linux > /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 > /usr/lib/perl5/site_perl . /usr/local/apache2/) at > /usr/local/mod_survey//Survey/Component/Boolean.pm line 27.\nBEGIN > failed--compilation aborted at > /usr/local/mod_survey//Survey/Component/Boolean.pm line > 27.\nCompilation failed in require at (eval 5) line 1.\nBEGIN > failed--compilation aborted at (eval 5) line 1.\n\n\nCompilation > failed in require at (eval 2) line 1.\n > [Wed Dec 07 17:46:03 2005] [error] Can't load Perl file: > /usr/local/mod_survey/startup.pl for server criminal.criminal.team:0, > exiting... > > > where am i wrong? > thanks > > Skickat av nik600 <[email protected]> > till survey-discussion > Skickat av Joel Palmius <[email protected]> till survey-discussion