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

Re: swig-rb bindings fail on Mac OS X 10.4

From: David Felstead <dfelstead_at_site5.com>
Date: 2005-10-02 03:02:26 CEST

Hi Max - nice work, that seems to have solved the loading error, but now
this happens:

irb(main):001:0> require 'svn/core'
SyntaxError: /usr/local/lib/ruby/site_ruby/1.8/svn/util.rb:34: target of
repeat operator is invalid: /^Svn_(?=fs_type_)?/
        from /usr/local/lib/ruby/site_ruby/1.8/svn/core.rb:5:in `require'
        from /usr/local/lib/ruby/site_ruby/1.8/svn/core.rb:5
        from (irb):1:in `require'
        from (irb):1

It's a start! :)

Cheers,

-DF

On 2/10/05 10:00 AM, "Max Bowsher" <maxb@ukf.net> wrote:

> David Felstead wrote:
>> Hi all,
>>
>> Išve installed and compiled the SVN trunk from the repository and have
>> built
>> the Ruby-SVN bindings ­ they work fine on Linux, but on Mac OS X 10.4 I
>> get
>> this error:
>>
>> ===
>> irb(main):001:0> require 'svn/core'
>> dyld: NSLinkModule() error
>> dyld: Symbol not found: _svn_wc_dup_status2
>> Referenced from: /usr/local/lib/libsvn_swig_ruby-1.0.dylib
>> Expected in: flat namespace
>>
>> Trace/BPT trap
>> ===
>>
>> I've tried configuring with --disable-shared and removing -flat-namespace,
>> and trying gcc 3.3, all resulting in the same problem. From using 'otool
>> -Tv /usr/local/lib/libsvn_swig_ruby-1.0.dylib | grep _svn_rc_dup_status2'
>> it
>> seems that the _svn_wc_dup_status2 function is not available in the dylib,
>> though it is referenced indirectly...
>>
>> Kou compiled and tested on 10.3, and the problem did not occur, so it's
>> apparently a Tiger specific problem.
>>
>> Any ideas?
>
> I've just committed r16395 - I think that ought to fix it.
> (I'm guessing, though, because I don't have OS X of any version to test
> with)
>
> Max.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 2 03:03:13 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.