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

Re: Ruby makefile maker (not really [PATCH] INSTALL...)

From: Yoshiki Hayashi <yoshiki_at_xemacs.org>
Date: 2002-01-31 11:49:15 CET

Sean Russell <ser@germane-software.com> writes:

> [root@valentine ruby]# ruby -rsvn -e ''
> 0: /usr/local/lib/libsvn_ra_dav.so.0: undefined symbol: apr_pool_cleanup_null
> -
> /usr/lib/ruby/1.6/i586-linux-gnu/svn.so (LoadError)

It works fine on my system. What is the output of ldd?

~/work/svn/subversion/bindings/ruby$ ldd /usr/local/lib/libsvn_ra_dav.so
        libsvn_subr.so.0 => /usr/local/lib/libsvn_subr.so.0 (0x4000f000)
        libapr.so.0 => /usr/local/lib/libapr.so.0 (0x40023000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40049000)
        libneon.so.18 => /usr/local/lib/libneon.so.18 (0x40058000)
        libm.so.6 => /lib/libm.so.6 (0x40070000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40092000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x400c0000)
        libdl.so.2 => /lib/libdl.so.2 (0x400d5000)
        libc.so.6 => /lib/libc.so.6 (0x400d9000)
        libexpat.so.0 => /usr/local/lib/libexpat.so.0 (0x401fb000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

> > Not at the moment and I'd really appreciate if you write
> > them. I have very old and incomplete docs somewhere on my
> > disk so I can dig it up and send it to this list tomorrow if
> > you like.
>
> Yes, please. Then I'll go through and rewrite them.

I'll attach it to the next mail.

> > * Changed double quote to single quote where string doesn't
> > need to be expanded.
>
> Why? I've benchmarked "" vs '' before, and haven't found any appreciable
> difference. In any case, it wouldn't make a difference in this script. Just
> curious.

It's not the performance. If you use single quote, you are
asserting that you are using literal string. I believe this
improves the readability of code because there will be less
places you have to pay attention to. I know this is just a
stylistic issue and don't care much about other one's script
but I write that way for my own code.

> The modified version looks good.

Thanks. I'll commit it shortly.

-- 
Yoshiki Hayashi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:01 2006

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.