You are not logged in.

#1 2004-09-20 23:12:15

SavageMessiah
Member
Registered: 2004-03-20
Posts: 76

help with apache mod_perl

I'm in the process of teaching myself perl, and I've also just set up a server. I'd like to combine my efforts .  smile  I'd like to know how to set up apache with mod_perl. I gather it will probably need some sort of recompilation? I also don't see a mod_perl package anywhare. What will I have to do to set this up?

I've been using linux for a while, and arch for most of the time, but I've never really played with this sort of thing before, so I'm kinda lost  :oops: .

Offline

#2 2005-05-13 16:15:27

sihker
Member
Registered: 2005-04-22
Posts: 13

Re: help with apache mod_perl

Dirty PKGBUILD, which doesn't work. Oh well, I'll repair it ASAp smile

# $Id$ 
# 
pkgname=mod_perl
pkgver=2.0 
pkgrel=1 
pkgdesc="The full power of the Perl programming language and the Apache HTTP server." 
url="http://perl.apache.org" 
depends=(apache perl) 
source=(mod_perl-2.0-current.tar.gz) 
md5sums=('3e7f7aefb19c772a998802990ced15c0') 

build() { 
  cd $startdir/src/$pkgname-2.0.0-RC6 
  perl Makefile.PL MP_APXS=`which apxs` PERLPREFIX=$startdir/pkg/usr SITEPREFIX=$startdir/pkg/usr 
  make || return 1
  make install 
}

Maybe somebody will write tidier package. Take care. (Well, next would be embperl package).

Ja ne,
Antti

Offline

Board footer

Powered by FluxBB