From: Ryo HAYASAKA Date: 2002-09-04T17:26:21+09:00 Subject: [ruby-dev:18174] Re: mkmf.rb and extmk.rb 早坂@北陸先端です. In message <8235-Wed04Sep2002120044+0900-eban@os.rim.or.jp>, WATANABE Hirofumi wrote: > 使われないのになぜ必要なんでしょうか? すみません, 説明不足でした. INSTALL_PROG は余計でしたが, MAKEDIRS, INSTALL_DATA は使われてま す. grep すると次のようなものがひっかかります. ./ext/digest/Makefile: @$(MAKEDIRS) /home/ryoh/work/ruby/ext/digest ./ext/dl/Makefile: @$(MAKEDIRS) /home/ryoh/work/ruby/ext/dl/dl ./ext/nkf/Makefile: @$(MAKEDIRS) /home/ryoh/work/ruby/ext/nkf ./ext/digest/Makefile: @$(INSTALL_DATA) $(srcdir)/lib/sha1.rb /home/ryoh/work/ruby/ext/digest ./ext/dl/Makefile: @$(INSTALL_DATA) $(srcdir)/lib/dl/import.rb /home/ryoh/work/ruby/ext/dl/dl ./ext/nkf/Makefile: @$(INSTALL_DATA) $(srcdir)/lib/kconv.rb /home/ryoh/work/ruby/ext/nkf それらが定義されないと, 僕のところでは $ sudo gmake install ./miniruby ./instruby.rb link libruby.so.17.3 -> libruby.so.17 link libruby.so.17.3 -> libruby.so installing Win32API installing curses installing dbm installing digest make: exec(/home/ryoh/work/ruby/ext/digest) failed (Permission denied) *** Error code 1 Stop. make: stopped in /home/ryoh/work/ruby/ext/digest installing dl make: exec(/home/ryoh/work/ruby/ext/dl/dl) failed (Permission denied) *** Error code 1 Stop. make: stopped in /home/ryoh/work/ruby/ext/dl installing etc installing fcntl installing gdbm installing iconv installing nkf make: exec(/home/ryoh/work/ruby/ext/nkf) failed (Permission denied) *** Error code 1 Stop. make: stopped in /home/ryoh/work/ruby/ext/nkf installing pty make: exec(/home/ryoh/work/ruby/ext/pty) failed (Permission denied) *** Error code 1 Stop. make: stopped in /home/ryoh/work/ruby/ext/pty installing readline installing sdbm installing socket installing stringio installing strscan installing syslog installing tcltklib make: exec(/home/ryoh/work/ruby/ext/tcltklib) failed (Permission denied) *** Error code 1 Stop. make: stopped in /home/ryoh/work/ruby/ext/tcltklib installing tk make: exec(/home/ryoh/work/ruby/ext/tk) failed (Permission denied) *** Error code 1 Stop. make: stopped in /home/ryoh/work/ruby/ext/tk installing win32ole installing digest/md5 installing digest/rmd160 installing digest/sha1 installing digest/sha2 installing racc/cparse rbconfig.rb -> /usr/local/lib/ruby/1.7/i386-netbsdelf/rbconfig.rb chmod 0644 /usr/local/lib/ruby/1.7/i386-netbsdelf/rbconfig.rb といった感じになってしまいます. -- Ryo HAYASAKA (早坂 良) http://www.jaist.ac.jp/%7Eryoh/ Japan Advanced Institute of Science and Technology (JAIST)