From owner-freebsd-questions@FreeBSD.ORG  Mon Dec  5 22:07:33 2005
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
X-Original-To: freebsd-questions@freebsd.org
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6856016A425
	for <freebsd-questions@freebsd.org>;
	Mon,  5 Dec 2005 22:07:33 +0000 (GMT)
	(envelope-from sheepkiller@cultdeadsheep.org)
Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org
	[80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id 7FDDC43D66
	for <freebsd-questions@freebsd.org>;
	Mon,  5 Dec 2005 22:07:30 +0000 (GMT)
	(envelope-from sheepkiller@cultdeadsheep.org)
Received: (qmail 21953 invoked by uid 1000); 5 Dec 2005 23:07:29 +0100
Date: Mon, 5 Dec 2005 23:07:29 +0100
From: Clement Laforet <sheepkiller@cultdeadsheep.org>
To: Scot Hetzel <swhetzel@gmail.com>
Message-ID: <20051205220729.GI56858@goofy.cultdeadsheep.org>
References: <001501c5f9da$c117b3f0$0a00a8c0@rodan>
	<790a9fff0512051301t6319ce4cv17cc79efbd6d2900@mail.gmail.com>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="xGGVyNQdqA79rdfn"
Content-Disposition: inline
In-Reply-To: <790a9fff0512051301t6319ce4cv17cc79efbd6d2900@mail.gmail.com>
User-Agent: Mutt/1.5.10i
Cc: freebsd-ports@freebsd.org, freebsd-questions@freebsd.org,
	"Jeff D. Hamann" <jeff.hamann@forestinformatics.com>
Subject: Re: can't get subversion+apache2 to install
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Dec 2005 22:07:33 -0000


--xGGVyNQdqA79rdfn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 05, 2005 at 03:01:47PM -0600, Scot Hetzel wrote:
> 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 av=
ail.
> >
> >
> > 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 - f=
ound
> > =3D=3D=3D>   subversion-1.3.0.r2 depends on shared library: neon.24 - f=
ound
> > =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:
>=20
> .if defined(WITH_MOD_DAV_SVN)
> pre-install:
> 	${APXS} -e -S LIBEXECDIR=3D${PREFIX}/libexec/apache2 -a -n dav
> libexec/apache2/mod_dav.so
> .endif
>=20
> 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.
>=20
> 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.

The workaround is to define APACHE_COMPAT.

clem

--xGGVyNQdqA79rdfn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFDlLogsRhfjwcjuh0RAqVVAJ4qtrbM7eUG8Lt33ZFTEpGxW50/UACfV/jb
YOVWEVekSqhxoh3FUV2YzAE=
=VfXL
-----END PGP SIGNATURE-----

--xGGVyNQdqA79rdfn--