Hi there,
On Thu, 18 Mar 2004, Michael wrote:
I have problems compiling apache under mac os x. I had no problems without php but with php it doesn't work. Furthermore i need mod_rewrite. I consulted docs at perl.apache.org and the install-guide in practical mod_perl. What i did starting in /usr/local/src:
Don't build things in /usr/local/src. Build in your home directory, as an unprivileged user, only do 'make install' as root. Otherwise you will probably run into a few permissions problems. That might be the cause of your problem here but I'd like to hear what happens when you build in your home directory before claiming victory on this one.
Not really, Ged. Not with mp1.
Stas, I notice that in
http://perl.apache.org/docs/1.0/guide/install.html#A_Summary_of_a_Basic_mod_perl_Installation
we start with
% cd /usr/src % lwp-download ...
which clearly won't work in the vast majority of installations because
a non-root user won't have write permission there. I can't believe we
haven't noticed that before, it should be changed.
We haven't noticed, simply because the problem does not exist.
Shall I do it?
Please don't. This location is used all over the place and that change will just make things confusing. if you want to change you will need to read and change it in *many* other places all over that chapter and others as well. And s/// won't work, because in some places it must be /usr/src.
mod_perl 1 has no problems building and testing as root, so let's just keep it that way. better spend time on working on the mod_perl 2 docs, which need a lot of help. ;)
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html