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

[debian-users:07766] Bug#JP/481: nvi-m17n_1.79.9708201600-5 can't build



Package: nvi-m17n
Version: 1.79.9708201600-5

 build fail


make[1]: Entering directory `/home/ishikawa/tmp2/main/TEMP/nvi-m17n-1.79.9708201600/build'
[ -f /bin/chmod ]
[ -f /bin/cp ]
[ -f /bin/ln ]
[ -f /bin/mkdir ]
[ -f /bin/rm ]
[ -d /home/ishikawa/tmp2/main/TEMP/nvi-m17n-1.79.9708201600/debian/tmp/usr ] || \
    (/bin/mkdir /home/ishikawa/tmp2/main/TEMP/nvi-m17n-1.79.9708201600/debian/tmp/usr && /bin/chmod 755 /home/ishikawa/tmp2/main/TEMP/nvi-m17n-1.79.9708201600/debian/tmp/usr)
[ -d /home/ishikawa/tmp2/main/TEMP/nvi-m17n-1.79.9708201600/debian/tmp/usr ] || \
    (/bin/mkdir /home/ishikawa/tmp2/main/TEMP/nvi-m17n-1.79.9708201600/debian/tmp/usr && /bin/chmod 755 /home/ishikawa/tmp2/main/TEMP/nvi-m17n-1.79.9708201600/d
ebian/tmp/usr)
[ -d /usr/lib ] || \
    (/bin/mkdir /usr/lib && /bin/chmod 755 /usr/lib)
/bin/rm -rf /usr/lib/vi
/bin/mkdir /usr/lib/vi && /bin/chmod 755 /usr/lib/vi
/bin/mkdir: cannot make directory `/usr/lib/vi': Permission denied
make[1]: *** [install_common] Error 1
make[1]: Leaving directory `/home/ishikawa/tmp2/main/TEMP/nvi-m17n-1.79.9708201600/build'
make: *** [binary-arch] Error 2



 /usr/lib/vi にインストールしようとしてしまいます。以下パッチ

--- debian/rules.orig	Tue Aug 18 16:21:59 1998
+++ debian/rules	Tue Aug 18 16:19:44 1998
@@ -37,8 +37,11 @@
 	dh_testroot
 	dh_clean -a -k
 	dh_installdirs -a
-	(cd ./build && make install prefix=$(topdir)/debian/tmp/usr)
-	(cd ./build.canna && make install prefix=$(topdir)/debian/nvi-m17n-canna/usr)
+	(cd ./build && make install prefix=$(topdir)/debian/tmp/usr \
+		datadir=$(topdir)/debian/tmp/usr/lib )
+	(cd ./build.canna && make install \
+		prefix=$(topdir)/debian/nvi-m17n-canna/usr \
+		datadir=$(topdir)/debian/nvi-m17n-canna/usr/lib )
 #	dh_movefiles -a
 	dh_installdocs 
 	dh_installdocs -pnvi-m17n-canna -P`pwd`/debian/nvi-m17n-canna 

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