[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:07767] Bug#JP/482: ruby_1.1c2-4 can't build



Package: ruby
Version: 1.1c2-4

 build fail


ruby.1 -> /usr/man/man1/ruby.1
/home/ishikawa/tmp2/main/TEMP/ruby-1.1c2/lib/ftools.rb:29:in `open': Permission denied - /usr/man/man1/ruby.1 (Errno::EACCES)
        from /home/ishikawa/tmp2/main/TEMP/ruby-1.1c2/lib/ftools.rb:29:in `syscopy'
        from /home/ishikawa/tmp2/main/TEMP/ruby-1.1c2/lib/ftools.rb:55:in `copy'        from /home/ishikawa/tmp2/main/TEMP/ruby-1.1c2/lib/ftools.rb:157:in `install'
        from ./instruby.rb:47
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/ishikawa/tmp2/main/TEMP/ruby-1.1c2'
make: *** [binary-arch] Error 2


 マニュアルを /usr/man/man1 に直接インストールしようとしてます。

--- debian/rules.orig	Tue Aug 18 16:48:56 1998
+++ debian/rules	Tue Aug 18 16:36:03 1998
@@ -57,8 +57,8 @@
 	dh_installdirs
 
 	# Add here commands to install the files into debian/tmp
-	$(MAKE) prefix=$(pwd)/debian/tmp/usr install
-
+	$(MAKE) prefix=$(pwd)/debian/tmp/usr \
+		mandir=$(pwd)/debian/tmp/usr/man/mani install
 	# install examples into debian/tmp/usr/doc/ruby/examples
 	$(pwd)/debian/tmp/usr/bin/ruby debian/instdocs.rb	
 

って感じでしょうか。

-- 
 From Nagoya
   ishikawa@xxxxxxxxxxx, ishikawa@debian.or.jp
     **  石川 睦%無意味な全文引用は嫌い@Japan Linux Users Group ** 
                                            (Nagoya Linux Users Group)
  私家版 f.o.l FAQ (Last Update : 1997/12/24)
       http://www.linux.or.jp/~ishikawa/linux/faq/faq-list.html