bryguy (bryguypgh) wrote in lj_everywhere,
bryguy
bryguypgh
lj_everywhere

lj/modperl install woes - /home/lj/cgi-bin/modperl.pl barfs

I'm having a heck of a time getting lj up and working. I'm working in Fedora Core 2. I installed apache 1.3.33 and modperl-1.29 from source, installed all the modules, and populated the database. The problem comes when I try to start the webserver. It won't let me load the modules suggested in the example httpd.conf, I get errors saying that they're built into apache... ok, so I comment those lines out. I get errors on "PerlRequire /home/lj/cgi-bin/modperl.pl", and they are bizarre. When I run apachectl start, it tells me there's an error and to run apachectl configtest, and here's what I get:


lj# /usr/local/apache/bin/apachectl configtest
[Tue Jan 18 15:38:35 2005] [error] Bareword "HTTP_NOT_MODIFIED" not allowed while "strict subs" in use at /home/lj/cgi-bin/Apache/LiveJournal/PalImg.pm line 112.\nBareword "OK" not allowed while "strict subs" in use at /home/lj/cgi-bin/Apache/LiveJournal/PalImg.pm line 126.\nBareword "OK" not allowed while "strict subs" in use at /home/lj/cgi-bin/Apache/LiveJournal/PalImg.pm line 147.\nCompilation failed in require at /home/lj/cgi-bin/Apache/LiveJournal.pm line 10.\nBEGIN failed--compilation aborted at /home/lj/cgi-bin/Apache/LiveJournal.pm line 10.\nCompilation failed in require at /home/lj/cgi-bin/modperl.pl line 7.\nBEGIN failed--compilation aborted at /home/lj/cgi-bin/modperl.pl line 7.\nCompilation failed in require at (eval 2) line 1.\n
Syntax error on line 977 of /usr/local/apache/conf/httpd.conf:
Bareword "HTTP_NOT_MODIFIED" not allowed while "strict subs" in use at /home/lj/cgi-bin/Apache/LiveJournal/PalImg.pm line 112.
Bareword "OK" not allowed while "strict subs" in use at /home/lj/cgi-bin/Apache/LiveJournal/PalImg.pm line 126.
Bareword "OK" not allowed while "strict subs" in use at /home/lj/cgi-bin/Apache/LiveJournal/PalImg.pm line 147.
Compilation failed in require at /home/lj/cgi-bin/Apache/LiveJournal.pm line 10.
BEGIN failed--compilation aborted at /home/lj/cgi-bin/Apache/LiveJournal.pm line 10.
Compilation failed in require at /home/lj/cgi-bin/modperl.pl line 7.
BEGIN failed--compilation aborted at /home/lj/cgi-bin/modperl.pl line 7.
Compilation failed in require at (eval 2) line 1.


Can anyone help me out here? I suspect I have a problem with the way I built mod-perl (perl Makefile.PL APACHE_SRC=/opt/apache_1.3.33/src DYNAMIC=1 DO_HTTPD=1 USE_APACI=1 USE_DSO=1 EVERYTHING=1) but I am not sure where to start with this.
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 1 comment