[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:24538] Re: checkinstall を設定と使用法のお伺い
-
From:msharu
-
Date:Wed, 12 Jan 2005 19:18:07 +0900 (JST)
- Subject: [plamo:24538] Re: checkinstall を設定と使用法のお伺い
- From: msharu <myspring_sato@xxxxxxxxxxxxxxxxx>
- Date: Wed, 12 Jan 2005 19:18:07 +0900
- Organization: mspring
加藤さん,kuwamuraさん
今回も適切なご指摘を頂きまして
ありがとうございます。 佐藤明彦です。
> > そして、また、知らないうち(?分からないうち)に、ファイル lib* が出来てしまいました。
>
> checkinstall の install 時に出来ちゃうんですかね? 元々 /usr/local/lib
> がある前提で install スクリプトが作られているのかも?
>
> インストールの前に /usr/local/lib を作成してからインストールしたらどう
> でしょう?
>
> (root になって)
> # cd /usr/local
> # mkdir lib
> # chmod 755 lib
> # chown root.root lib
>
mspring@harup:~$ su
Password:
bash-2.05b# cd /usr/local/
bash-2.05b# ls /usr/local/
bin/ etc/ games/ include/ info/ lib* man/ sbin/ src/
まず、ファイル lib* を消去しました。
bash-2.05b# rm lib
ファイル lib* を消去したことを確認しました。
bash-2.05b# ls /usr/local/
bin/ etc/ games/ include/ info/ man/ sbin/ src/
bash-2.05b# cd /usr/local/
bash-2.05b# mkdir lib
ディレクトリ lib/ を作成しました。
bash-2.05b# ls /usr/local/
bin/ etc/ games/ include/ info/ lib/ man/ sbin/ src/
bash-2.05b# chmod 755 lib
bash-2.05b# chown root.root lib
ディレクトリ lib/ のパーミッションを確認しました。
bash-2.05b# ls -l /usr/local/
合計 36
- - -
drwxr-xr-x 2 root root 4096 1月 12日 17:53 lib/
drwxr-xr-x 2 root bin 4096 1月 12日 13:30 sbin/
- - -
mspring@harup:~$ cd temp/
mspring@harup:~/temp$ ls -l
合計 100
drwxr-xr-x 4 mspring users 4096 9月 11日 2002年 checkinstall-1.5.3/
-rw-r--r-- 1 mspring users 90274 9月 11日 2002年 checkinstall-1.5.3.tgz
mspring@harup:~/temp$ ls -l
合計 96
-rw-r--r-- 1 mspring users 90274 9月 11日 2002年 checkinstall-1.5.3.tgz
mspring@harup:~/temp$ tar xvfz checkinstall-1.5.3.tgz
checkinstall-1.5.3/
checkinstall-1.5.3/FAQ
checkinstall-1.5.3/BUGS
checkinstall-1.5.3/TODO
checkinstall-1.5.3/Makefile
checkinstall-1.5.3/doc-pak/
checkinstall-1.5.3/doc-pak/FAQ
checkinstall-1.5.3/doc-pak/BUGS
checkinstall-1.5.3/doc-pak/TODO
checkinstall-1.5.3/doc-pak/README
checkinstall-1.5.3/doc-pak/installwatch-0.6.3/
checkinstall-1.5.3/doc-pak/installwatch-0.6.3/BUGS
checkinstall-1.5.3/doc-pak/installwatch-0.6.3/TODO
checkinstall-1.5.3/doc-pak/installwatch-0.6.3/README
checkinstall-1.5.3/doc-pak/installwatch-0.6.3/CHANGELOG
checkinstall-1.5.3/doc-pak/installwatch-0.6.3/VERSION
checkinstall-1.5.3/doc-pak/installwatch-0.6.3/INSTALL
checkinstall-1.5.3/doc-pak/installwatch-0.6.3/COPYING
checkinstall-1.5.3/doc-pak/RELNOTES
checkinstall-1.5.3/doc-pak/INSTALL
checkinstall-1.5.3/doc-pak/Changelog
checkinstall-1.5.3/doc-pak/COPYING
checkinstall-1.5.3/doc-pak/CREDITS
checkinstall-1.5.3/README
checkinstall-1.5.3/installwatch-0.6.3/
checkinstall-1.5.3/installwatch-0.6.3/BUGS
checkinstall-1.5.3/installwatch-0.6.3/TODO
checkinstall-1.5.3/installwatch-0.6.3/create-localdecls
checkinstall-1.5.3/installwatch-0.6.3/Makefile
checkinstall-1.5.3/installwatch-0.6.3/README
checkinstall-1.5.3/installwatch-0.6.3/CHANGELOG
checkinstall-1.5.3/installwatch-0.6.3/installwatch
checkinstall-1.5.3/installwatch-0.6.3/test-installwatch.c
checkinstall-1.5.3/installwatch-0.6.3/VERSION
checkinstall-1.5.3/installwatch-0.6.3/installwatch.c
checkinstall-1.5.3/installwatch-0.6.3/INSTALL
checkinstall-1.5.3/installwatch-0.6.3/libctest.c
checkinstall-1.5.3/installwatch-0.6.3/COPYING
checkinstall-1.5.3/makepak
checkinstall-1.5.3/checkinstall
checkinstall-1.5.3/RELNOTES
checkinstall-1.5.3/INSTALL
checkinstall-1.5.3/checkinstallrc
checkinstall-1.5.3/Changelog
checkinstall-1.5.3/description-pak
checkinstall-1.5.3/COPYING
checkinstall-1.5.3/CREDITS
上記の出力が、checkinstall-1.5.3.tgzを展開したところです。
さらに、下記の通り ~/temp$ ls でモニターしました。
mspring@harup:~/temp$ ls -l
合計 100
drwxr-xr-x 4 mspring users 4096 9月 11日 2002年 checkinstall-1.5.3/
-rw-r--r-- 1 mspring users 90274 9月 11日 2002年 checkinstall-1.5.3.tgz
次に,checkinstall-1.5.3/ に移動します。
mspring@harup:~/temp$ cd checkinstall-1.5.3/
mspring@harup:~/temp/checkinstall-1.5.3$ make
make -C installwatch-0.6.3
make[1]: Entering directory `/home/mspring/temp/checkinstall-1.5.3/installwatch-0.6.3'
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libc.so.6
Checking glibc subversion... Treated as glibc >= 2.1 (finger crossed)
gcc -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DVERSION=\"0.6.2\" installwatch.c
ld -shared -o installwatch.so installwatch.o -ldl -lc
make[1]: Leaving directory `/home/mspring/temp/checkinstall-1.5.3/installwatch-0.6.3'
なんとか、コンパイルが出来たようです。
そのまま、スーパユーザに移動してインストールまで進めました。
mspring@harup:~/temp/checkinstall-1.5.3$ su
Password:
bash-2.05b# make install
make -C installwatch-0.6.3
make[1]: Entering directory `/home/mspring/temp/checkinstall-1.5.3/installwatch-0.6.3'
make[1]: `all' に対して行うべき事はありません。
make[1]: Leaving directory `/home/mspring/temp/checkinstall-1.5.3/installwatch-0.6.3'
cp checkinstall makepak /usr/local/sbin
make -C installwatch-0.6.3 install
make[1]: Entering directory `/home/mspring/temp/checkinstall-1.5.3/installwatch-0.6.3'
if [ -r /usr/local/lib/installwatch.so ]; then rm /usr/local/lib/installwatch.so; export LD_PRELOAD=""; cp installwatch.so /usr/local/lib; LD_PRELOAD=/usr/local/lib/installwatch.so; else cp installwatch.so /usr/local/lib; fi
sed -e "s|#PREFIX#|/usr/local|" < installwatch > /usr/local/bin/installwatch
chmod 755 /usr/local/bin/installwatch
make[1]: Leaving directory `/home/mspring/temp/checkinstall-1.5.3/installwatch-0.6.3'
mkdir -p /usr/local/lib/checkinstall
cp checkinstallrc /usr/local/lib/checkinstall
bash-2.05b# checkinstall
checkinstall 1.5.3, Copyright 2001 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
Installing with "make install"...
========================= Installation results ===========================
Copying documentation directory...
make -C installwatch-0.6.3
make[1]: Entering directory `/home/mspring/temp/checkinstall-1.5.3/installwatch-0.6.3'
make[1]: `all' に対して行うべき事はありません。
make[1]: Leaving directory `/home/mspring/temp/checkinstall-1.5.3/installwatch-0.6.3'
cp checkinstall makepak /usr/local/sbin
make -C installwatch-0.6.3 install
make[1]: Entering directory `/home/mspring/temp/checkinstall-1.5.3/installwatch-0.6.3'
if [ -r /usr/local/lib/installwatch.so ]; then rm /usr/local/lib/installwatch.so; export LD_PRELOAD=""; cp installwatch.so /usr/local/lib; LD_PRELOAD=/usr/local/lib/installwatch.so; else cp installwatch.so /usr/local/lib; fi
sed -e "s|#PREFIX#|/usr/local|" < installwatch > /usr/local/bin/installwatch
chmod 755 /usr/local/bin/installwatch
make[1]: Leaving directory `/home/mspring/temp/checkinstall-1.5.3/installwatch-0.6.3'
mkdir -p /usr/local/lib/checkinstall
cp checkinstallrc /usr/local/lib/checkinstall
======================== Installation succesful ==========================
Copying files to the temporary directory...OK
Striping ELF binaries and libraries...OK
Compressing man pages...OK
Building file list...OK
Please choose the packaging method you want to use.
Slackware [S], RPM [R] or Debian [D]? S
This package will be built according to these values:
1 - Summary: [ CheckInstall installations tracker, version 1.5.3 ]
2 - Name: [ checkinstall ]
3 - Version: [ 1.5.3 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ checkinstall-1.5.3 ]
9 - Alternate source location: [ ]
Enter a number to change any of them or press ENTER to continue: 9
Enter the alternate source location:
>> http://asic-linux.com.mx/~izto/checkinstall/files/source/checkinstall-1.5.3.tgz
This package will be built according to these values:
1 - Summary: [ CheckInstall installations tracker, version 1.5.3 ]
2 - Name: [ checkinstall ]
3 - Version: [ 1.5.3 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ checkinstall-1.5.3 ]
9 - Alternate source location: [ http://asic-linux.com.mx/~izto/checkinstall/files/source/checkinstall-1.5.3.tgz ]
Enter a number to change any of them or press ENTER to continue:
********************************************
**** Slackware package creation selected ***
********************************************
Preparing Slackware install directory...OK
Writing package description...OK
Writing Slackware install script...OK
Creating package checkinstall-1.5.3-i386-1...OK
Installing package...OK
Erasing temporary files...OK
Writing backup package...OK
Deleting temp dir...OK
**********************************************************************
Done. The new package has been installed and saved to
/home/mspring/temp/checkinstall-1.5.3/checkinstall-1.5.3-i386-1.tgz
You can remove it from your system anytime using:
removepkg checkinstall-1.5.3-i386-1
**********************************************************************
bash-2.05b# exit
exit
mspring@harup:~/temp/checkinstall-1.5.3$ cd
mspring@harup:~$
下記の通り、お蔭様で、なんとかインストールできたようです。
mspring@harup:~$ ls -l /var/log/packages/ch*
-rw-r--r-- 1 root root 1442 1月 12日 18:34 /var/log/packages/checkinstall
MOUEさん,高澤さん,中谷さん、加藤さん、kuwamuraさん
白方さん
長い間、未熟な初心者のために、ご多忙なところ、ご指導を頂きまして
ありがとうございます。
これから、一歩一歩 Plamo をベースにしまして,Linuxを理解して
ゆきたいと思っています。
とりあえずは、便利そうなアプリケーションソフトを少しづつ
インストールして、環境整備が出来るように進めてゆきたいと
考えています。
今後とも、よろしくお願い申しあげます。
----------------
佐藤明彦 (Sato Akihiko)
e-mail : myspring_sato@kyp.biglobe.ne.jp
- Follow-Ups
-
- [plamo:24540] Re: checkinstall を設定と使用法のお伺い, KATOH Yasufumi
- References
-
- [plamo:24531] Re: checkinstallを設定と使用法のお伺い, msharu
- [plamo:24532] Re: checkinstall を設定と使用法のお伺い, Jun Kuwamura
- [plamo:24534] Re: checkinstall を設定と使用法のお伺い, msharu
- [plamo:24536] Re: checkinstall を設定と使用法のお伺い, KATOH Yasufumi
[検索ページ]
[メール一覧]
Plamo ML 公開システム