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

Re: [PATCH] INSTALL, something about access

From: Sean Russell <ser_at_germane-software.com>
Date: 2002-01-28 04:43:28 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks!

I'm glad to be finally able to contribute in some small way to this project.

Attached to this email is an extconf.rb file for the Ruby binding. This
should go into the subversion/bindings/ruby directory. This is the standard
way to build makefiles for native libraries for Ruby, and it uses a toolkit
distributed with the standard Ruby distribution. The user runs this file
(with ruby) and the toolkit creates a Makefile for the target (in this case
libsvnruby) based on the user's system configuration.

EG of normal usage:

        $ cd subversion/bindings/ruby
        $ ruby extconf.rb
        $ make && make install

Notes:

extconf is a pretty nice system. It builds a makefile that includes make,
install, clean, and uninstall for the target system. It provides several of
the capabilities of 'configure', and, as I said, it is a part of the normal
Ruby distribution. Don't fear the extconf.rb

Caveats:

0) There was no makefile in this directory; hence my submitting this
1) I'm assuming that libsvnruby.so is the name of the target library
2) I haven't tested this on Windows, or anything other than Linux, for that
matter.
3) It assumes that svn is already installed; it looks for the svn libraries,
in particular, to be installed in a global library path.

I've tested this on Linux, as I've said, and it works fine. I haven't tested
the resulting library yet, but the build system works.

- --
 |.. "It's true what people say: God protects the ones who help
<|> themselves in their own way. I often wonder to myself: who
/|\ protects the ones who can't protect themselves?"
/| -- The Cranberries
 |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8VMjgP0KxygnleI8RAu3QAKC5AXfpFbWNdAE0SFcmpzl8uu0HQQCbBWCZ
kicbRPUfGb+3VWkxYiBDiX0=
=pX0v
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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:00 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.