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

Re: Fwd: Re: [opensuse] Compiling subversion from sources

From: Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA_at_GMail.Com>
Date: Fri, 26 Dec 2008 14:06:55 +0100

2008-12-26 08:14:09 Bogdan Cristea napisaƂ(a):
> I have tried recently to compile svn 1.5.5 on openSuSE 11.1, but I cannot due
> to a missing library, libneon.la. I have posted this issue on openSuSE forum
> and they say that this library is not needed in order to compile svn (see
> below their message). Perhaps this issue could be fixed in the next releases
> of svn.

`neon-config --libs` cannot be used. Perhaps we could use `pkg-config --libs neon`.

> ---------- Forwarded Message ----------
>
> Subject: Re: [opensuse] Compiling subversion from sources
> Date: Friday 26 December 2008
> From: Philipp Thomas <Philipp.Thomas2_at_gmx.net>
> To: opensuse_at_opensuse.org
>
> On Thu, 25 Dec 2008 20:28:39 +0200, you wrote:
>
> >I have noticed that there is no static library libneon.a in the default
> >openSuSE 11.1 distribution. Compiling neon from sources as static library
> >generates both libneon.a and libneon.la
>
> The static version isn't needed, it's just an error/bug in the
> subversion source configuration.

Generation of libneon.a depends on Neon source configuration, not Subversion.
You can use --disable-static option. You should never run any configure script
without reading `./configure --help`.

> Had you unpacked a recent openSUSE
> .src.rpm and looked into subversion.spec you'd have seen that one of
> the patches we apply is subversion-1.5.x-no-neon-la.patch that
> contains:
>
> - NEON_LIBS=`$neon_config --la-file`
> + NEON_LIBS=`$neon_config --libs`
>
> So edit build/ac-macros/neon.m4 and make the same change and you
> should be able to compile subversion 1.5.5.
>
> As a general rule: before complaining that openSUSE lacks something
> for compiling a package that we also provide, please look into the
> spec file of our .src.rpm. Chances are rather good that our source
> RPMs contain patches that fix the problem.

-- 
Arfrever Frehtes Taifersar Arahesis
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=992919

Received on 2008-12-26 14:08:59 CET

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