can't get subversion+apache2 to install
Clement Laforet
sheepkiller at cultdeadsheep.org
Mon Dec 5 14:07:33 PST 2005
On Mon, Dec 05, 2005 at 03:01:47PM -0600, Scot Hetzel wrote:
> 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.
The workaround is to define APACHE_COMPAT.
clem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051205/3b9f14d9/attachment.bin
More information about the freebsd-questions
mailing list