Log in

No account? Create an account

Previous Entry | Next Entry

DarwinPorts and mod_perl

I'm currently setting up mod_perl and MySQL on my PowerBook so I don't have to be tethered to an internet connection and a server at the other end of said connection in order to get any work done.

DarwinPorts' current mod_perl port is broken, but can be fixed really easily, as follows:

# cd /opt/local/var/db/ports/
# rm distfiles/mod_perl/mod_perl-1.29.tar.gz
# curl http://search.cpan.org/CPAN/authors/id/G/GO/GOZER/mod_perl-1.29.tar.gz > distfiles/mod_perl/mod_perl-1.29.tar.gz
# emacs sources/rsync.rsync.opendarwin.org_dpupdate_dports/www/mod_perl/Portfile

[Then do a search-replace and change 5.8.3 to 5.8.6 there's only one occurence]
# port clean mod_perl
# port install mod_perl