[newbie] install problem

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

Hi.

···

On Wed, 17 Nov 2004 20:13:34 +0900, Amit Rao <amitraok@gmail.com> wrote:

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

when i ran ./configure specified /$HOME as the --prefix

···

On Wed, 17 Nov 2004 20:56:13 +0900, Matt Mower <matt.mower@gmail.com> wrote:

Hi.

On Wed, 17 Nov 2004 20:13:34 +0900, Amit Rao <amitraok@gmail.com> wrote:
> 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

Amit Rao wrote:

when i ran ./configure specified /$HOME as the --prefix

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

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

···

On Wed, 17 Nov 2004 20:56:13 +0900, Matt Mower <matt.mower@gmail.com> wrote:

On Wed, 17 Nov 2004 20:13:34 +0900, Amit Rao <amitraok@gmail.com> wrote:

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

Thanks,
Amit

···

On Thu, 18 Nov 2004 14:23:36 +0900, Osuka Adartse <rocioestradacastaneda@prodigy.net.mx> wrote:

Amit Rao wrote:

> when i ran ./configure specified /$HOME as the --prefix
>
>
> On Wed, 17 Nov 2004 20:56:13 +0900, Matt Mower <matt.mower@gmail.com> wrote:
>
>>Hi.
>>
>>On Wed, 17 Nov 2004 20:13:34 +0900, Amit Rao <amitraok@gmail.com> wrote:
>>
>>>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
>>
>>
>
>
>
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