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

Re: Problems building swig perl bindings for fink package on MacOS X

From: Christian Schaffner <chris01_at_users.sourceforge.net>
Date: 2004-02-22 15:30:00 CET

Hi Ben

Thanks for taking the time to look into this issue. I added a few
comments below if needed. Your patch works fine and will be included in
the fink distro once svn 1.0.0 is out.

Best, Chris.

On 21.02.2004, at 21:45, Ben Reser wrote:

> Christian gave me access to his machine to debug these issues. Below
> is
> my analysis and references to the fixes I committed to trunk as I went.
>
> On Thu, Feb 19, 2004 at 12:01:54PM +0100, Christian Schaffner wrote:
>> I then also get crash reports for each library which (e.g.) say:
>>
>> **********************************************************************
>> **
>> ***
>> Date/Time: 2004-02-19 11:56:09 +0100
>> OS Version: 10.3.2 (Build 7D24)
>> Report Version: 2
>>
>> Command: perl5.8.1
>> Path: /usr/bin/perl5.8.1
>> Version: ??? (???)
>> PID: 10267
>> Thread: Unknown
>>
>> Link (dyld) error:
>>
>> dyld: perl5.8.1 can't open library: /sw/lib/libsvn_ra_local-1.0.dylib
>> (No such file or directory, errno = 2)
>> **********************************************************************
>> **
>> ***
>
> What did you do to produce the above?

This happened whenever the libraries were not found during the tests.

>> ld: warning -prebind has no effect with -bundle
>
> I can't replicate this warning. Not sure where you're picking up
> -prebind.

This is some Mac OS X specific thing. I was told it is harmless. I will
look into that once i try to build svn for fink prebound. But for that
to happen i first need to convince the maintainers of other packages
(e.g. apr) to build their libraries prebound.

> However I am getting a warning here:
> ld: warning -L: directory name (/usr/local/lib) does not exist
>
> This is actually coming from the compile flags used to link perl. So
> this is a bug in your perl config:
> perl -MConfig -e 'print $Config{lddlflags},$/;'
> -bundle -undefined dynamic_lookup -L/usr/local/lib
>
>> ld: warning can't open dynamic library:
>> /sw/lib/libsvn_ra_local-1.0.dylib (checking for undefined symbols may
>> be affected) (No such file or directory, errno = 2)
>> ld: warning can't open dynamic library:
>> /sw/lib/libsvn_ra_dav-1.0.dylib
>> (checking for undefined symbols may be affected) (No such file or
>> directory, errno = 2)
>> ld: warning can't open dynamic library:
>> /sw/lib/libsvn_ra_svn-1.0.dylib
>> (checking for undefined symbols may be affected) (No such file or
>> directory, errno = 2)
>
> These aren't technically breaking anything. But they can be fixed by
> passing the -dylib_file param to the linker. The problem is I need to
> know where the dynamic libs (libsvn_ra_*) are going to be installed in
> order to do that... For example the arg would be:
> -dylib_file
> /sw/lib/libsvn_ra_dav-1.0.dylib:/path/to/src/subversion/libsvn_ra_dav/
> .libs/libsvn_ra_dav-1.0
>
> Right now I don't have that easily. We're talking about splitting the
> bindings off anyway. So I'm not inclined to fix this warning right
> now.
> If we do split the bindings off then this issue will go away because
> you'll have to have subversion installed before you can build the
> bindings.
>
> You could patch them in your fink build to do this. But I'm not sure
> it's worth it the bindings work fine without it.

Ok, i leave this warnings for now then. No problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Feb 22 15:30:01 2004

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.