[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Install into $HOME fails

u235321044

2/21/2006 2:18:00 PM

I don't know how to install Ruby into my home directory. Looking
at the Makefile, I thought that

make prefix=$HOME install

should do the job, but make still tries to install into /usr/local
(which fails because I don't have write-access there).

Any easy work-around to this?

Ronald






--
Sent by mn-pg-p-e-b-consultant-3.com from siemens piece from com
This is a spam protected message. Please answer with reference header.
Posted via http://www.usenet-re...
4 Answers

Tim Hunter

2/21/2006 3:25:00 PM

0

I believe you need to specify the prefix on the ./configure step:

../configure --prefix=$HOME

Christian Neukirchen

2/21/2006 3:44:00 PM

0

u235321044@spawnkill.ip-mobilphone.net (Ronald Fischer) writes:

> I don't know how to install Ruby into my home directory. Looking
> at the Makefile, I thought that
>
> make prefix=$HOME install
>
> should do the job, but make still tries to install into /usr/local
> (which fails because I don't have write-access there).
>
> Any easy work-around to this?

/configure --prefix=$HOME
make
make install

> Ronald
--
Christian Neukirchen <chneukirchen@gmail.com> http://chneuk...


u235321044

2/22/2006 9:32:00 AM

0

> > I don't know how to install Ruby into my home directory. Looking
> > at the Makefile, I thought that
> >
> > make prefix=$HOME install
> >
> > should do the job, but make still tries to install into /usr/local
> > (which fails because I don't have write-access there).

> /configure --prefix=$HOME

Thank you, this works.

It would be great if this information could be put into the README.

Ronald







--
Spam protected message from:
Sent by mn-pg-p-e-b-consultant-3.com from siemens element from com
Posted via http://www.usenet-re...

George Ogata

2/22/2006 5:17:00 PM

0

u235321044@spawnkill.ip-mobilphone.net (Ronald Fischer) writes:

>> > I don't know how to install Ruby into my home directory. Looking
>> > at the Makefile, I thought that
>> >
>> > make prefix=$HOME install
>> >
>> > should do the job, but make still tries to install into /usr/local
>> > (which fails because I don't have write-access there).
>
>> /configure --prefix=$HOME
>
> Thank you, this works.
>
> It would be great if this information could be put into the README.

The README says to run ./configure to generate the Makefile.
../configure --help tells you all the configure options.

The configure script, and its --help option, is standard for things
that use autoconf (lots of stuff in the free software world). I guess
it couldn't hurt to mention --help in the README, though.