can't get subversion+apache2 to install

Scot Hetzel swhetzel at gmail.com
Mon Dec 5 13:01:51 PST 2005


On 12/5/05, Jeff D. Hamann <jeff.hamann at forestinformatics.com> wrote:
> FreeBSD-ers,
>
> I've been trying to get a new FreeBSD 6.0 machine up and I've having a
> little trouble with the subversion port with the WITH switches to no avail.
>
>
> bobby# make install -DWITH_MOD_DAV_SVN -DWITH_BOOK
> ===>  Installing for subversion-1.3.0.r2
> ===>   subversion-1.3.0.r2 depends on executable:  - not found
> ===>    Verifying install for  in /usr/ports/www/apache20
> ===>   Returning to build of subversion-1.3.0.r2
> ===>   subversion-1.3.0.r2 depends on shared library: expat.5 - found
> ===>   subversion-1.3.0.r2 depends on shared library: neon.24 - found
> ===>   subversion-1.3.0.r2 depends on shared library: intl - found
> -e -S LIBEXECDIR=/usr/local/libexec/apache2 -a -n dav
> libexec/apache2/mod_dav.so
> -e: not found
> *** Error code 127
>
I found what the problem is:

.if defined(WITH_MOD_DAV_SVN)
pre-install:
	${APXS} -e -S LIBEXECDIR=${PREFIX}/libexec/apache2 -a -n dav
libexec/apache2/mod_dav.so
.endif

the variable APXS is not defined in the Makefile for the port.  This
is why you are getting the "-e: not found" error as make is trying to
run the "-e" program.

This port needs to either define APXS or set the USE_APACHE variable
to define which apache port it depends on, and to defined the APXS
variable.

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-questions mailing list