[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

error message when installing.

mittime

1/4/2005 8:57:00 PM

Hi everyone,

I am trying to install ruby on my account at school.
It is a solaris box.

I went to my folder and did:
'configure --prefix=/myaccnt'

Went ok. Then I did:
'make'
which ran ok but got a few warnings.


Then finally I did:
'make install'
and I got some errors. In particular I got these:

{/myaccnt/ruby-1.8.2}: make install

../miniruby ./instruby.rb --dest-dir="" --make="make" --mflags=""

--make-flags="" --mantype="man"

install -c -p -m 0755 ruby

/myaccnt/ruby-1.8.2/bin/ruby

install -c -p -m 0644 libruby-static.a

/myaccnt/ruby-1.8.2/lib

install -c -p -m 0644 config.h

/myaccnt/ruby-1.8.2/lib/ruby/1.8/sparc-solaris2.9

install -c -p -m 0644 rbconfig.rb

/myaccnt/ruby-1.8.2/lib/ruby/1.8/sparc-solaris2.9

install -c -p -m 0755 bin/rdoc

/myaccnt/ruby-1.8.2/bin/rdoc

/myaccnt/ruby-1.8.2/lib/fileutils.rb:846:in

`fu_each_src_dest': same file: bin/rdoc and

/myaccnt/ruby-1.8.2/bin/rdoc

(ArgumentError)

from

/myaccnt/ruby-1.8.2/lib/fileutils.rb:845:in `fu_each_src_dest0'

from

/myaccnt/ruby-1.8.2/lib/fileutils.rb:845:in `fu_each_src_dest'

from

/myaccnt/ruby-1.8.2/lib/fileutils.rb:772:in `install'

from

/myaccnt/ruby-1.8.2/lib/fileutils.rb:967:in `install'

from ./instruby.rb:59:in `install'

from ./instruby.rb:137
from ./instruby.rb:130:in `each'

from ./instruby.rb:130

*** Error code 1

make: Fatal error: Command failed for target `install-nodoc'





Any ideas what is going on?

I don't have root access or superuser access but I thought
that would be ok since I am installing into my own folders
(see my configure statement).

By the way, seems the ruby binary is in my directory, so
what is the purpose of 'make install'?

And finally after 'make install', do I need to run
'make install-doc'?

Thanks!

2 Answers

Joel VanderWerf

1/5/2005 10:08:00 PM

0

mittime@gmail.com wrote:
> Hi everyone,
>
> I am trying to install ruby on my account at school.
> It is a solaris box.
>
> I went to my folder and did:
> 'configure --prefix=/myaccnt'

Are you sure you don't want

$ configure --prefix=/home/myaccnt

or something like that?


mittime

1/6/2005 7:30:00 PM

0

Thats what I did actually-- but I just did a string replace with emacs
to
change that to /myaccnt for abstraction purposes..