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

Re: Unable to build Ruby bindings on OS X

From: Daniel L. Rall <dlr_at_finemaltcoding.com>
Date: 2007-10-29 23:24:58 CET

On Mon, 29 Oct 2007, Daniel L. Rall wrote:

> I'm unable to build the SWIG/Ruby bindings on Mac OS X:
>
> $ make swig-rb
> /opt/local/bin/swig -I/Users/dlr/src/subversion/subversion/include -I/Users/dlr/src/subversion/subversion/bindings/swig -I/Users/dlr/src/subversion/subversion/bindings/swig/include -I/Users/dlr/src/subversion/subversion/bindings/swig/proxy -I/Users/dlr/src/subversion/subversion/bindings/swig/proxy -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -I/opt/local/include -ruby -o subversion/bindings/swig/ruby/svn_client.c ./subversion/bindings/swig/svn_client.i
> /bin/sh /Users/dlr/src/subversion/libtool --tag=CC --silent --mode=compile none -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -I/opt/local/include -I/Users/dlr/src/subversion/subversion/bindings/swig/ruby/libsvn_swig_ruby -prefer-pic -c -o subversion/bindings/swig/ruby/svn_client.lo subversion/bindings/swig/ruby/svn_client.c
> /Users/dlr/src/subversion/libtool: line 1: none: command not found
> make: *** [subversion/bindings/swig/ruby/svn_client.lo] Error 1
 
Incidentally, this fails with the same error even when I remove the
-prefer-pic option from the libtool command-line.

> This failure is due to my libtool. Here's snippet from ktrace, where I see
> it searching through all the paths in my $PATH env var:
>
> 26211 sh CALL stat(0x3a89e0,0xbfffbab0)
> 26211 sh NAMI "/usr/local/subversion/bin/none"
> 26211 sh RET stat -1 errno 2 No such file or directory
>
> My libtool is littered with references to "none". Here's a few examples:
...

  • application/pgp-signature attachment: stored
Received on Mon Oct 29 23:29:49 2007

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.