On Fri, May 15, 2009 at 06:11:23PM -0400, Scott Palmer wrote:
> On Thu, May 14, 2009 at 8:48 AM, Stefan Sperling <stsp_at_elego.de> wrote:
> So I guess your options are:
>
> A 1) Use a newer APR (i.e. get it from trunk and hope it'll work)
> A 2) Install libtool 1.5 somewhere and use that to build APR-1.3.3.
> A 3) Install the libapr1-dev package provided by Ubuntu instead of
> A A compiling APR yourself. There's also debug symbols in libapr1-dbg,
> A A if you need them.
> A 4) Wait for new APR release and hope it'll fix this.
>
> Tried option 1, much better... but still fails..
Why option 1?
> ...
> checking for odbc/sql.h... no
> checking Expat 1.95.x... no
> checking old Debian-packaged expat... no
> checking old FreeBSD-packaged expat... no
> checking Expat 1.0/1.1... no
> A setting LDFLAGS to "-L/usr/local/lib"
> A setting INCLUDES to "-I/usr/local/include"
> checking Expat 1.95.x in /usr/local... no
> A nulling LDFLAGS
> A nulling INCLUDES
> configuring package in xml/expat now
> /bin/bash: /home/scott/subversion-1.6.2/apr/xml/expat/configure: No such
> file or directory
> configure failed for xml/expat
> configure failed for apr
>
> Bummer.
Why don't you just use the libapr1-dev package?
You should try to resolve as many dependencies from your distribution
as possible. Anything else creates a huge pile of work.
You're already compiling Subversion yourself. That's enough trouble
already. Just go for option 3 unless you have a really good reason
not to do so.
Well, if you really need to build your own APR, what I'd do is:
aptitude search expat
and then look for packages that end in -dev. Like this one:
libexpat1-dev - XML parsing C library - development kit
Install that package, and APR's configure script should
pick up expat automatically, like magic.
> This happens all the time. I'm basically hitting the wall that I
> inevitably hit when trying to get anything done on Linux -
I'm basically hitting a wall whenever I'm trying to get anything done
on anything that's neither Linux nor *BSD. It all amounts to what you're
used to.
Stefan
Received on 2009-05-16 01:19:43 CEST