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!