You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kamesh Jayachandran <ka...@collab.net> on 2006/10/10 12:52:03 UTC

What is the minimum version of apr needed for subversion?

Hi All,
All these days when I build subversion I always use apr-0.9.7 it worked 
well.
When I tried to build with serf I get linker errors of the following kind,
<snip>
/home/kamesh/work/svn/merge-tracking/vpath/subversion/libsvn_ra_serf/.libs/libsvn_ra_serf-1.so: 
undefined reference to `apr_file_buffer_set'
collect2: ld returned 1 exit status
make: *** [subversion/svn/svn] Error 1
</snip>

When delved I could find '`apr_file_buffer_set' available only on trunk 
and pollcb-dev branch?

I could see the identical implementation in all platforms (win32, os2, 
unix, except netware, does not have this 'buffereing' implemented at all.).

With regards
Kamesh Jayachandran

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: What is the minimum version of apr needed for subversion?

Posted by Kamesh Jayachandran <ka...@collab.net>.
I feel either we should provide a compat layer function for old version 
of 'apr' users.
Or consume 'apr_file_buffer_set' with #define + Autoconf magic.
Or atleast a warning should be given when one tries to configure with 
'serf' and if apr is of old version.
It does not look good for svn-1.4.0(stable) to have a dependency with 
the unreleased(unstable) third party libs.

With regards
Kamesh Jayachandran


Garrett Rooney wrote:
> On 10/10/06, Kamesh Jayachandran <ka...@collab.net> wrote:
>> Hi All,
>> All these days when I build subversion I always use apr-0.9.7 it worked
>> well.
>> When I tried to build with serf I get linker errors of the following 
>> kind,
>> <snip>
>> /home/kamesh/work/svn/merge-tracking/vpath/subversion/libsvn_ra_serf/.libs/libsvn_ra_serf-1.so: 
>>
>> undefined reference to `apr_file_buffer_set'
>> collect2: ld returned 1 exit status
>> make: *** [subversion/svn/svn] Error 1
>> </snip>
>>
>> When delved I could find '`apr_file_buffer_set' available only on trunk
>> and pollcb-dev branch?
>>
>> I could see the identical implementation in all platforms (win32, os2,
>> unix, except netware, does not have this 'buffereing' implemented at 
>> all.).
>
> Justin says it definately won't work against 0.9.x...  If it needs
> that function then I suspect it requires either trunk or 1.3.x (which
> hasn't been released yet).
>
> -garrett
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: What is the minimum version of apr needed for subversion?

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 10/10/06, Kamesh Jayachandran <ka...@collab.net> wrote:
> Hi All,
> All these days when I build subversion I always use apr-0.9.7 it worked
> well.
> When I tried to build with serf I get linker errors of the following kind,
> <snip>
> /home/kamesh/work/svn/merge-tracking/vpath/subversion/libsvn_ra_serf/.libs/libsvn_ra_serf-1.so:
> undefined reference to `apr_file_buffer_set'
> collect2: ld returned 1 exit status
> make: *** [subversion/svn/svn] Error 1
> </snip>
>
> When delved I could find '`apr_file_buffer_set' available only on trunk
> and pollcb-dev branch?
>
> I could see the identical implementation in all platforms (win32, os2,
> unix, except netware, does not have this 'buffereing' implemented at all.).

Justin says it definately won't work against 0.9.x...  If it needs
that function then I suspect it requires either trunk or 1.3.x (which
hasn't been released yet).

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org