lang/perl5.8 fails

David Taylor davidt at yadt.co.uk
Mon Nov 26 12:57:57 PST 2007


On Mon, 2007-11-26 at 20:48 +0100, pobox at verysmall.org wrote:
> Don't know what's going on, but since 5.8.8_1 
> portupgrade lang/perl5.8 fails with -
> 
> /usr/local/sbin/apxs: not found
> "/usr/ports/Mk/bsd.apache.mk", line 287: 
> warning "/usr/local/sbin/apxs -q MPM_NAME" 
> returned non-zero status
> ===> perl-5.8.8_1 : Your apache does not 
> support DSO modules.
> 
> I have www/apache22 installed.
> 
> The strange thing is that 
> /usr/local/sbin/apxs exists. 
> /usr/local/sbin/apachectl -l shows mod_so.c. 
> Also php5 installs and updates without problems.
> 
> Any ideas?

What does "/usr/local/sbin/apxs -q MPM_NAME" return?

My guess is "/usr/local/sbin/apxs: not found", since it (apxs) is a perl
script that (in my case at least) points to /usr/bin/perl.

I have no idea how perl is supposed to install if it has a build
dependency on a perl script, but I'd guess that's at least part of the
problem.

Do you have anything odd in your /etc/make.conf (e.g. USE_APACHE), as
perl5.8 doesn't appear to have _any_ build dependencies here (except,
optionally, gdbm) and I see no reason for it to be triggering anything
in bsd.apache.mk



More information about the freebsd-ports mailing list