[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: configure script fails to locate apr

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2001-11-28 15:58:25 CET

On Wed, Nov 28, 2001 at 09:11:51AM +0300, Vlad Skvortsov wrote:
> On Tue, Nov 27, 2001 at 10:32:15AM -0500, Kevin Pilch-Bisson wrote:
> > > Again, please CC: any replies to me as I have not _still_ received
> > > any acknowledgement from mailing list manager. :-)
> > You might try again, if you are already subscribed you will get a message to
> > that effect, not a duplicate subscription, and if you aren't then it might
> > work this time :)
>
> ... the third subscribtion request seems to be ignored too ... ;-)
> CC to me, please ! :-)
>
Strange, unfortunately I don't know anything about how the mailing lists
are managed. Karl, or someone could you see if there is a log or anything
(or maybe add Vlad manually)...
>
> > > I have checked out latest subversion source code and moved it to
> > > fresh box to try building current version from scratch. I have one question
> > > and a couple of suggestions to authors.
> > > I have downloaded and installed httpd-2.0, it is placed in
> > > /local/apache2. Configure script when running with arguments
> > > --with-apxs=/usr/local/apache2/bin/apxs
> > > --enable-maintainer-mode
>
> When I use only above arguments, it says:
>
> Either install APR on this system and supply appropriate
> --with-apr-libs and --with-apr-includes options
> or
> get it with CVS and put it in a subdirectory of this source:
>
> ...
>
> What should I do to compile subversion ? ;-)

That's to be expected: /usr/local/apache2 is not in the list of places
configure checks for apr. You *should* be able to build with:

./configure --enable-maintainer-mode \
    --with-apxs=/usr/local/apache2/bin/apxs \
    --with-apr=/usr/local/apache2.

If apache is installed at /usr/local/apache2. You did mention yesterday that
it was installed at just /local/apache2 (no /usr), and those were the arguments
you passed to configure. Check where it is, either /usr/local/apache2, or
/local/apache2, and run ./configure appropriately. I tested this yesterday,
and it worked fine on my system.

If it doesn't work, can you send a log of the commands and output to this list
and I'll see what I can do? If you are really stuck, you could always check
out the apr project from cvs and put it in the subversion source tree.
>
> > > --with-apr-includes=/local/apache2/include
> > > --with-apr-libs=/local/apache2/lib
> > > fails to locate and use APR. File config.log states:
> > > Somewhy it doesn't pass external -I argument to gcc (specified in
> > > --with-apr-includes). What do I do wrong or miss ?
> > Probably nothing:) I didn't test the --with-apr* options to configure when
> > I added the ability to use an external APR. I'll look into it immediately.
>
> So, anything changes ? ;-)

Well, yes and no. The way it stood yesterday, it wouldn't stop configure if
it couldn't find apr.h, and there were a couple of other problems that
don't seem to be related. I did commit some changes to fix them though.

> ...
> Vlad Skvortsov, vss@smarts-gsm.ru, vss@high.net.ru

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:49 2006

This is an archived mail posted to the Subversion Dev mailing list.