[newbie] install problem

A

Amit Rao

I am trying to install ruby on mingw32 (on XP) ...
it worked fine for (or at least did not give me any errors) the
initial few steps.The make files were generated and the test succeded
as well.

but when i tried "make install" i get the following error

$ make install
/miniruby.exe ./instruby.rb --dest-dir="" --make="make" --mflags="-
--unix" --make-flags=" --unix" --mantype="man"
mkdir -p -m 755 //home/user/bin //home/user/lib
//home/user/lib/ruby/1.8 //home/user/lib/ruby/1.8/i386-mingw32
//home/user/lib/ruby/site_ruby/1.8
//home/user/lib/ruby/site_ruby/1.8/i386-msvcrt
D:/msys/1.0/home/user/ruby-1.8.2/lib/fileutils.rb:196:in `mkdir':
Invalid argument - // (Errno::EINVAL)
from D:/msys/1.0/home/user/ruby-1.8.2/lib/fileutils.rb:196:in `makedirs'
from D:/msys/1.0/home/user/ruby-1.8.2/lib/fileutils.rb:194:in
`reverse_each'
from D:/msys/1.0/home/user/ruby-1.8.2/lib/fileutils.rb:194:in `makedirs'
from D:/msys/1.0/home/user/ruby-1.8.2/lib/fileutils.rb:180:in `each'
from D:/msys/1.0/home/user/ruby-1.8.2/lib/fileutils.rb:180:in `makedirs'
from D:/msys/1.0/home/user/ruby-1.8.2/lib/fileutils.rb:959:in `makedirs'
from ./instruby.rb:71:in `makedirs'
from ./instruby.rb:99
make: *** [install-nodoc] Error 1

What could i be missing???

Thanks,
Amit
 
M

Matt Mower

Hi.

I am trying to install ruby on mingw32 (on XP) ...
it worked fine for (or at least did not give me any errors) the
initial few steps.The make files were generated and the test succeded
as well.

but when i tried "make install" i get the following error

When you ran ./configure what --prefix did you specify?

Regards,

Matt
 
O

Osuka Adartse

Amit said:
when i ran ./configure specified /$HOME as the --prefix
Maybe I'm wrongly thinking You're using the Msys shell, but in it:

ALiminality@localhost /
$ /$HOME
sh: //home/ALiminality: No such file or directory
guess this is why it fails...

ALiminality@localhost /
$ /HOME
sh: /HOME: is a directory

ALiminality@localhost /
$ $HOME
sh: /home/ALiminality: is a directory

so /$HOME won't work maybe You want $HOME ? , either don't add a
prefix(personally I never use that, just configure --enable-shared,make,
make install) or use --prefix=/c/ruby, guess /ruby should also work(or
wherever you want it to be).


regards
 
A

Amit Rao

Osuka, i am using MSYS..
i tried the configure without any prefix..this has worked for me ...

Thanks,
Amit
 

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,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top