subversion build fails
Alastair Rankine
arankine at gmail.com
Mon Nov 14 19:06:14 PST 2005
Thanks, that works nicely.
If someone is fixing this, please note that the WITH_BOOK option no
longer works. (The book has been moved to a separate repository)
On 11/14/05, Andre Heider <a.heider at gmail.com> wrote:
> Alastair Rankine wrote:
> > Hi,
> >
> > I am having difficulty building subversion with apache 2.0.55 installed.
> >
> > I notice at least one other person has the same problem
> > (http://lists.freebsd.org/pipermail/freebsd-ports/2005-November/027240.html)
> >
> > Basically it tries to re-install apache and fails (see below)
> >
> > Do you have a fix or workaround?
> >
> > Thanks in advance,
> >
> >
> > subversion $ portinstall -sr subversion
> > ---> Installing 'subversion-1.3.0.r2' from a port (devel/subversion)
> > ---> Building '/usr/ports/devel/subversion' with make flags:
> > WITH_MOD_DAV_SVN=1 WITH_APACHE2_APR=1 WITH_SVNSERVE_WRAPPER=1
> > WITH_BOOK=1
> > ===> Cleaning for libiconv-1.9.2_1
> > ===> Cleaning for autoconf-2.59_2
> > ===> Cleaning for gettext-0.14.5
> > ===> Cleaning for gmake-3.80_2
> > ===> Cleaning for libtool-1.5.20
> > ===> Cleaning for m4-1.4.3
> > ===> Cleaning for p5-gettext-1.03
> > ===> Cleaning for perl-5.8.7
> > ===> Cleaning for help2man-1.36.2
> > ===> Cleaning for expat-1.95.8_3
> > ===> Cleaning for apache-2.0.55
> > ===> Cleaning for neon-0.24.7
> > ===> Cleaning for subversion-1.3.0.r2
> > ---> [Executing a command as root: sudo /usr/bin/script -qa
> > /tmp/portinstall93525.0 make WITH_MOD_DAV_SVN=1 WITH_APACHE2_APR=1
> > WITH_SVNSERVE_WRAPPER=1 WITH_BOOK=1 fetch-depends build-depends
> > lib-depends misc-depends]
> > Password:
> > ===> subversion-1.3.0.r2 depends on executable: - not found
> > ===> Verifying install for in /usr/ports/www/apache2
> >
> > [... complete build of apache ...]
> >
> > ===> Installing for apache-2.0.55
> > ===> apache-2.0.55 depends on file: /usr/local/bin/perl5.8.7 - found
> > ===> Generating temporary packing list
> > ===> Checking if www/apache2 already installed
> > ===> apache-2.0.55 is already installed
> > You may wish to ``make deinstall'' and install this port again
> > by ``make reinstall'' to upgrade it properly.
> > If you really wish to overwrite the old port of www/apache2
> > without deleting it first, set the variable "FORCE_PKG_REGISTER"
> > in your environment or the "make install" command line.
> > *** Error code 1
> >
> > Stop in /usr/ports/www/apache2.
> > *** Error code 1
> >
> > Stop in /usr/ports/devel/subversion.
> > ** Listing the failed packages (*:skipped / !:failed)
> > ! devel/subversion (dependent ports)
> > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
> >
>
> just looked at the makefile, and problem only occurs when building with
> WITH_APACHE2_APR:
>
> .if defined(WITH_APACHE2_APR)
> APACHE2_PORT?= www/apache2
> BUILD_DEPENDS+= ${APXS}:${PORTSDIR}/${APACHE2_PORT}
> RUN_DEPENDS+= ${APXS}:${PORTSDIR}/${APACHE2_PORT}
>
> APXS isnt set (at least on 6.0 release), thats why it spits out "===>
> subversion-1.3.0.r2 depends on executable: - not found"
>
> adding "APXS= apxs" to the makefile solved this problem
>
> regards
>
More information about the freebsd-ports
mailing list