[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

[newbie] install problem

Amit Rao

11/17/2004 11:14:00 AM

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


4 Answers

Matt Mower

11/17/2004 11:56:00 AM

0

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

11/18/2004 3:44:00 AM

0

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
>
>


Osuka Adartse

11/18/2004 5:24:00 AM

0

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


Amit Rao

11/18/2004 9:43:00 AM

0

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
>
>