Forum: Ruby Problem installing ruby in a local (home) directory.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bd359fe2518e16b7687e24a73b3c5bf9?d=identicon&s=25 Jonathan M Brooks JMBROOK2 (Guest)
on 2006-05-30 17:10
(Received via mailing list)
"make test" succeeds, but then I get the following error on "make
install"
(the install prefix is my home directory):

./miniruby ./ext/extmk.rb --dest-dir="" --make="make" --mflags=""
--make-flags="" --extout=".ext" --extension  --extstatic  -- install
cp -r ./.ext/. /home/mbrooks/lib/ruby/1.8
/home/mbrooks/ruby/lib/fileutils.rb:1239:in `copy': unknown file type:
./.ext/. (RuntimeError)
        from /home/mbrooks/ruby/lib/fileutils.rb:447:in `copy_entry'
        from /home/mbrooks/ruby/lib/fileutils.rb:1308:in `traverse'
        from /home/mbrooks/ruby/lib/fileutils.rb:445:in `copy_entry'
        from /home/mbrooks/ruby/lib/fileutils.rb:423:in `cp_r'
        from /home/mbrooks/ruby/lib/fileutils.rb:1379:in
`fu_each_src_dest'
        from /home/mbrooks/ruby/lib/fileutils.rb:1393:in
        `fu_each_src_dest0'
        from /home/mbrooks/ruby/lib/fileutils.rb:1377:in
`fu_each_src_dest'
        from /home/mbrooks/ruby/lib/fileutils.rb:422:in `cp_r'
        from ./ext/extmk.rb:386
make: *** [do-install-ext] Error 1

Jonathan M. Brooksjmbrook2@uncg.edu
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 unknown (Guest)
on 2006-05-30 18:18
(Received via mailing list)
Hi,

At Wed, 31 May 2006 00:06:44 +0900,
Jonathan M Brooks JMBROOK2 wrote in [ruby-talk:195191]:
> "make test" succeeds, but then I get the following error on "make install"
> (the install prefix is my home directory):
>
> ./miniruby ./ext/extmk.rb --dest-dir="" --make="make" --mflags=""
> --make-flags="" --extout=".ext" --extension  --extstatic  -- install
> cp -r ./.ext/. /home/mbrooks/lib/ruby/1.8
> /home/mbrooks/ruby/lib/fileutils.rb:1239:in `copy': unknown file type:
> ./.ext/. (RuntimeError)

What does this command show?

  ./miniruby -ve 'ARGV.each{|d|puts "#{d.inspect} => #{File.ftype(d)},
#{File.directory?(d)}"}' . ./.ext ./.ext/.
This topic is locked and can not be replied to.