- - PR -
日本語lessについて
投稿者 | 投稿内容 |
---|---|
|
投稿日時: 2004-07-27 21:10
日本語lessを導入しようとしているのですが
下記のメッセージが出てしまいます。 どなたか対処方法ご存知でしたらご教授お願いいたします。 bash-2.03$ patch -p1 < ../less-358-iso254.patch Looks like a unified context diff. patch: 'LICENSE': Permission denied bash-2.03$ |
|
投稿日時: 2004-07-27 22:32
> patch: 'LICENSE': Permission denied
less のオリジナルアーカイブはデフォルトで書き込み不可になっているので、 $ chmod -R u+w less-358 とやってからパッチを当てないといけないかもしれません。 > Looks like a unified context diff. パッチにもいくつかの種類があって、less-358-iso254.patch は unifined context diff という形式になっています。なので、形式に対応した GNU 版の patch プログラムを使用する必要があります。 http://ftp.gnu.org/gnu/patch/patch-2.5.4.tar.gz |
|
投稿日時: 2004-07-28 00:34
ご回答有難う御座います。
たびたび申し訳御座いませんが 下記のものはどのように適用すればよいのでしょうか。 >http://ftp.gnu.org/gnu/patch/patch-2.5.4.tar.gz |
|
投稿日時: 2004-07-28 00:54
補足です下記で止まってしまいます。
bash-2.03$ cd patch-2.5.4 bash-2.03$ ./configure . . . bash-2.03$ make bash-2.03$ make: Nothing to be done for `all'. |
|
投稿日時: 2004-07-28 09:05
> bash-2.03$ make
> bash-2.03$ make: Nothing to be done for `all'. configure の段階でエラーが発生して Makefile が生成していないということはありませんか? |
|
投稿日時: 2004-07-28 19:39
下記のようにMakefileは生成されているようです。
bash-2.03$ ./configure loading cache ./config.cache checking host system type... checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for a BSD compatible install... ./install-sh -c checking whether make sets ${MAKE}... (cached) no checking for ed... (cached) /usr/bin/ed checking build system type... sparc-sun-solaris2.8 checking for getconf... (cached) getconf checking for CFLAGS value to request large file support... (cached) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 checking for LDFLAGS value to request large file support... (cached) checking for LIBS value to request large file support... (cached) checking for _FILE_OFFSET_BITS... (cached) 64 checking for _LARGEFILE_SOURCE... (cached) 1 checking for _LARGE_FILES... (cached) no checking for AIX... no checking for minix/config.h... (cached) no checking for POSIXized ISC... no checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking for executable suffix... (cached) no checking for gcc option to accept ANSI C... (cached) none needed checking for function prototypes... yes checking for working const... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for utime.h... (cached) yes checking for varargs.h... (cached) no checking for inttypes.h... (cached) yes checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for pid_t... (cached) yes checking return type of signal handlers... (cached) void checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for utime.h... (cached) yes checking for struct utimbuf... (cached) yes checking for getopt_long... (cached) no checking for _doprintf... (cached) no checking for isascii... (cached) yes checking for fseeko... (cached) yes checking for memcmp... (cached) yes checking for mktemp... (cached) yes checking for pathconf... (cached) yes checking for raise... (cached) yes checking for setmode... (cached) no checking for sigaction... (cached) yes checking for sigprocmask... (cached) yes checking for sigsetmask... (cached) no checking for strerror... (cached) yes checking for memchr... (cached) yes checking for mkdir... (cached) yes checking for rename... (cached) yes checking for rmdir... (cached) yes checking for working malloc... (cached) yes checking for working realloc... (cached) yes checking whether closedir returns void... (cached) no checking for vprintf... (cached) yes checking for long file names... (cached) yes checking for d_ino member in directory struct... (cached) yes creating ./config.status creating Makefile creating config.h config.h is unchanged bash-2.03$ |
|
投稿日時: 2004-07-28 21:52
less の場合
$ make install する必要はありませんでしたか・・・ |
|
投稿日時: 2004-07-28 23:19
そもそも OS は何を使われていますか?
Linux であれば、たいていの場合、GNU patch はソースコードからインストールしなくても就いているかと思いますし、Solaris でも 8 以上でさえも、インストール時の選択内容にもよるでしょうが gpatch としてがプリインストールされると思うのですが。 |