> Installing: 
> I've installed mod_perl twice in the last month. The first time was on Solaris
> and was quite painless. The second time was on RH 7.0, and was fairly painful.
> Took most of a day of futzing around to finally get it installed and working. I
> ran into two problems, first the unrecognized version of apache 1.3.14, and
> second when I had downgraded to 1.3.12 the new auto-configure part of apache was
> bypassing the standard Configuration file which mod_perl had inserted itself
> into, so Apache was building itself without mod_perl.
> 
> As several others have said here, there is work which could be done in this
> area. My suggestions would be:
>       - easier install in general (big red button approach is always nice)
>       - make it easier (clear instructions too) on how to configure apache with
> mod_perl and other modules. The current 'big red button' only works if you have
> no other modules or already have them configured.
>       - Instructions written for someone who knows nothing about mod_perl, and
> possible very little about unix. This is a general problem for all open source

What's so complicated about this:

  % cd /usr/src
  % lwp-download http://www.apache.org/dist/apache_x.x.x.tar.gz
  % lwp-download http://perl.apache.org/dist/mod_perl-x.xx.tar.gz
  % tar xzvf apache_x.x.x.tar.gz
  % tar xzvf mod_perl-x.xx.tar.gz
  % cd mod_perl-x.xx
  % perl Makefile.PL APACHE_SRC=../apache_x.x.x/src \
    DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
  % make && make test && make install
  % cd ../apache_x.x.x
  % make install

and slurping into httpd.conf:

  PerlModule Apache::Registry 
  Alias /perl/ /home/httpd/perl/ 
  <Location /perl>
    SetHandler perl-script 
    PerlHandler Apache::Registry 
    PerlSendHeader On 
    Options +ExecCGI
  </Location>

and running:

  % apachect start

to get started with... works out of box on most Unix flavors.

Your problem is that you try to use the precompiled broken packages
provided by distros. 

Try this command :)

perl -le \
'print "Build from source! Do NOT use mod_perl binary rpms!" while 1'

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://jazzvalley.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/  



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to