Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2005 15:01:47 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        "Jeff D. Hamann" <jeff.hamann@forestinformatics.com>
Cc:        freebsd-questions@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: can't get subversion+apache2 to install
Message-ID:  <790a9fff0512051301t6319ce4cv17cc79efbd6d2900@mail.gmail.com>
In-Reply-To: <001501c5f9da$c117b3f0$0a00a8c0@rodan>
References:  <001501c5f9da$c117b3f0$0a00a8c0@rodan>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/5/05, Jeff D. Hamann <jeff.hamann@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 avai=
l.
>
>
> bobby# make install -DWITH_MOD_DAV_SVN -DWITH_BOOK
> =3D=3D=3D>  Installing for subversion-1.3.0.r2
> =3D=3D=3D>   subversion-1.3.0.r2 depends on executable:  - not found
> =3D=3D=3D>    Verifying install for  in /usr/ports/www/apache20
> =3D=3D=3D>   Returning to build of subversion-1.3.0.r2
> =3D=3D=3D>   subversion-1.3.0.r2 depends on shared library: expat.5 - fou=
nd
> =3D=3D=3D>   subversion-1.3.0.r2 depends on shared library: neon.24 - fou=
nd
> =3D=3D=3D>   subversion-1.3.0.r2 depends on shared library: intl - found
> -e -S LIBEXECDIR=3D/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:
=09${APXS} -e -S LIBEXECDIR=3D${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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0512051301t6319ce4cv17cc79efbd6d2900>