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

Re: problem compiling against keychain auth on mac

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2006-11-05 22:05:34 CET

On Nov 5, 2006, at 20:24, Garrett Rooney wrote:

> On 11/5/06, Barry Scott <barry@barrys-emacs.org> wrote:
>
>> I also take it that you do not consider it a problem that an svn
>> header file
>> publishes an API function that may not be in a the corresponding
>> library.
>> e.g. keychain function in header is conditional on DARWIN but the
>> C source is conditional on SVN_HAVE_KEYCHAIN_SERVICES.
>> SVN_HAVE_KEYCHAIN_SERVICES is not exposed to users of svn
>> API.
>
> Actually, I'd say that's probably a bug. If we're defining it in the
> header file conditional on DARWIN we should at least provide a stub
> interface that returns APR_ENOTIMPL when we don't have the right
> libraries, or we shouldn't be exposing it in the header unless we
> found the right libs.

I think its a bug as well. I'd like to see an #define that I can test
to find out
if the method is available or be able to add it blindly to the auth list
and have it not interfere in the auth algorithm.

>
>> I notice that SVN does not compile on 10.3 because of a problem with
>> keychain
>> header/lib (sorry I did not keep the logs) is that expected.
>> I'm only supporting 10.4 for pysvn now because of this.
>
> If you could find the actual error, that would be very useful. We
> should be able to build on 10.3.

When I next boot up on 10.3 I've get the message for you.

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 5 22:06:05 2006

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