Forum: Ruby-Gnome 2 Installing to local dir

Posted by Paulo Matos (pocmatos)
on 2010-02-01 13:23
Hi,

I got: ruby-gnome2-all-0.19.3, however I don't have root privileges so I
have to install in my home dir usually under ~/local. Which option do I
have to set to do this? Usually is by passing --prefix to configure, but
with ruby extconf.rb I am quite lost.

Paulo Matos
Posted by Simon Arnaud (Guest)
on 2010-02-12 10:46
(Received via mailing list)
2010/2/1 Paulo Matos <ruby-forum-incoming@andreas-s.net>:
> Hi,
>
> I got: ruby-gnome2-all-0.19.3, however I don't have root privileges so I
> have to install in my home dir usually under ~/local. Which option do I
> have to set to do this? Usually is by passing --prefix to configure, but
> with ruby extconf.rb I am quite lost.
>

AFAIK, you can't do that.

I use rvm to install ruby in my home dir, and then compile ruby-gnome2 
for it.
Of course, you have to compile ruby-gnome2 for each ruby version you
install through rvm, but it's ok for me.

Simon
Posted by Kouhei Sutou (Guest)
on 2010-02-12 13:08
(Received via mailing list)
Hi,

In <4cb8b703109db6ec9b042666e07b8aed@ruby-forum.com>
  "[ruby-gnome2-devel-en] Installing to local dir" on Mon, 1 Feb 2010 
13:23:13 +0100,
  Paulo Matos <ruby-forum-incoming@andreas-s.net> wrote:

> I got: ruby-gnome2-all-0.19.3, however I don't have root privileges so I
> have to install in my home dir usually under ~/local. Which option do I
> have to set to do this? Usually is by passing --prefix to configure, but
> with ruby extconf.rb I am quite lost.

You can use 'make DESTDIR=$HOME/local install' as a
workaround.


Thanks,
--
kou
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.