Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

A fix for a broken mod_perl in 10.3.8 UNIX
After upgrading to 10.3.8, my own compiled mod_perl stopped working. If you compiled your own as well, and find it broken, here's how I got mine working again:

$ sudo cpan
cpan> install Bundle::Apache
cpan> exit
$ cd /usr/local/src 
$ sudo wget 
$ sudo gunzip -c mod_perl-1.0-current.tar.gz | sudo tar xvf - 
$ sudo perl Makefile.PL USE_APXS=1 WITH_APXS=/usr/sbin/apxs \
$ sudo make 
$ sudo make install 
$ sudo apachectl restart 

[robg adds: I can't confirm the problem or the fix, as I know nothing about Perl. If someone else can comment, please do so...]
  • Currently 3.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)

A fix for a broken mod_perl in 10.3.8 | 2 comments | Create New Account
Click here to return to the 'A fix for a broken mod_perl in 10.3.8' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Apache startup?
Authored by: ssevenup on Feb 15, '05 11:43:55AM

It looks to me like the "built-in" Apache start/stop control in System Preferences:Sharing will not continue to function using this hint. Is this not the case? Does /Sys/Lib/Start/Apache continue to start Apache after this, or did you need to edit something? Generally CPAN won't install stuff where Apple puts it.

Mark Moorcroft
Sys. Admin.

[ Reply to This | # ]
Simplifying a little...
Authored by: pmccann on Feb 15, '05 06:47:59PM

So many sudo-nyms, so little time. Just issue a "sudo -s" at the start and then an "exit" at the end. In fact most of the commands given shouldn't even require the sudo unless you've set very restrictive permissions on the /usr/local/src directory tree.

Instead of the hideous "sudo gunzip -c blah.tar.gz | sudo tar xf - " sequence, maybe a nice simple

tar zxf filename.tar.gz

(given the "sudo -s" at the start, as mentioned above).


[ Reply to This | # ]