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

Re: Ruby binding can't be built?

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-01-08 01:54:51 CET

On Tuesday, January 7, 2003, at 01:40 PM, Fumitoshi UKAI wrote:
>
> * subversion/bindings/ruby/client.c
> (cl_log_message_func): add tmp_file arugments because it is
> svn_client_get_commit_log_t.
> It doesn't use tmp_file, so it sets NULL.
> (cl_propget): revision and auth_baton are required by
> svn_client_propget().
> (cl_proplist): revision and auth_baton are required by
> svn_client_proplist().

i'm about to apply these changes.

> * subversion/bindings/ruby/extconf.rb
> add comments how to build in build tree.
> hack to use libtool in case ruby binding built in build tree.
> Some local libs (-lgdbm, -lexpat, -ldb-4) are required,
> but missing from apr-config. Without this hack, have_library()
> failed.
> Add build tree to LDFLAGS to link library currently built.
> Add subversion/include to include path.
> library name fixes: s/apr-0/apr/, s/aprutil-0/aprutil/.
> Except classical apr path layout, no -0 suffix is used.
>

i left the extconf.rb changes off, since most of them seem like hacks,
and even if we hack it to support building with the in-tree svn libs,
it didn't seem to work for the in-tree apr/aprutil.

also, what did you use to generate the patch? it seems like some weird
mix between a unified diff and a context diff, and i couldn't get it to
apply here.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 8 01:55:34 2003

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.