error message when installing.

M

mittime

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

Joel VanderWerf

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

mittime

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

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

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,224
Latest member
BettieToom

Latest Threads

Top