Install into $HOME fails

R

Ronald Fischer

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
 
R

rmagick

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

../configure --prefix=$HOME
 
R

Ronald Fischer

I don't know how to install Ruby into my home directory. Looking
/configure --prefix=$HOME

Thank you, this works.

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

Ronald
 
G

George Ogata

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,122
Latest member
VinayKumarNevatia_
Top