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

RE: Compiling latest subversion/apache...

From: Sander Striker <striker_at_apache.org>
Date: 2002-04-02 09:27:08 CEST

> From: jen@bounce.alouysius.net [mailto:jen@bounce.alouysius.net]On
> Behalf Of Jennifer Bevan
> Sent: 02 April 2002 08:40

> Hi,
>
> I would like to know how to get the correct httpd version so
> that I can install the latest subversion server. I am under the
> impression that I should be building apr and apr-util under
> httpd and pointing subversion to that build so both subversion
> and httpd are using the same apr/apr-util.

You only have to make sure that they are the same version, they
don't have to be the same build per se.

> However, I'm having problems.
>
> The effort so far:
> 1. subversion configure fails on "apr-config --link-libtool"
> 2. because --link-libtool isn't a valid option to this apr-config (2.0.31)
> 3. download the latest apr, apr-util from the cvs server at apache,
> replace the 2.0.31 apr/apr-util.
> 4. reconfigure & compile: error:
> prefork.c:591: `APR_POOL_FNEW_ALLOCATOR' undeclared
> 5. download httpd 2.0.32
> 6. reconfigure & compile. this time --link-libtool is a valid
> argument for apr-config, but not for apu-config.
> svn: "configure: error: apu-config --link-libtool --libs failed"
> 7. download the latest apr, apr-util from the cvs server at apache,
> replace the 2.0.32 apr/apr-util.
> 8. make distclean, buildconf, configure, compile: error:
> prefork.c:591: `APR_POOL_FNEW_ALLOCATOR' undeclared
> (again).

Ahum, have you read the INSTALL and README files?
Hint: you need everything from cvs, including httpd-2.0

> So -- poking around the cvs version of apu-config that was
> created during step 8, I find that --link-libtool is a supported
> argument. So -- I need to use the latest apr/apr-utils, but
> can't get an httpd that compiles with those.

Yes you can, if you use httpd-2.0 from cvs.

> Given that I'm building a server, do I just need to wait until
> a) a new release of httpd, b) versions of apr/apr-util that do
> not break 2.0.32, or c) some other scenario?

c ;)

Or a, because 2.0.34 is likely to see the light of day within
two weeks.

> I'm fairly sure
> I could build the cvs versions of apr/apr-util under subversion,
> but wouldn't that break its interaction with the apache 2.0.31
> server?
>
> Please let me know which misconceptions I have regarding
> subversion's interaction with apache, etc., along with any
> helpful tips on getting a workable copy...

Like I said, read INSTALL and README from your checked out
working copy of subversion. Those can be found here aswell:
http://svn.collab.net/repos/svn/trunk/INSTALL
http://svn.collab.net/repos/svn/trunk/README
 
> Thanks,
> Jennifer Bevan

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 2 09:21:37 2002

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