トップ «前の日記(2006-11-29(Wed)) 最新 次の日記(2006-12-01(Fri))» 編集

屑俺日記

僕の備忘録(PC、UN*X、ネットワーク関連が中心)なんです。
自分の書いたところは適当(な時とか)に書き換えますので御了承を。


2006-11-30(Thu) ひきつってもやめられない

auto-apt

auto-apt!

凄。

chroot 環境下のetchにwmakerを開き、scim-rubyをビルド しようとしてはまる。どのパッケージが足りないのか。
考える気力もないほど眠くて面倒臭くて、man も適当に流す。

$ sudo auto-apt update
 
$ sudo auto-apt -y run ./configure

時々ウィンドウが開いて、足りないものを一つ、 また一つとapt-getするし、時には選択肢つきの GUIが開いたり。
じっと見ていられなくなってスクリーンショットを 撮り、gimpで 適当に編集。

我慢できなくなって、 auto-aptの出典をめくっているうちに、 でぶあん2000年冬号のpdfに、とめどなく(ry

/usr/bin/scimが見付からない。

ところで、scim-rubyの./configure、

$ ./configure
(ry
checking for SCIM... configure: error: Package 
requirements (scim >= 0.99.8) were not met:
 
No package 'scim' found
 
Consider adjusting the PKG_CONFIG_PATH environment 
variable if you installed software in a non-standard 
prefix.
 
Alternatively, you may set the environment variables 
SCIM_CFLAGS and SCIM_LIBS to avoid the need to call 
pkg-config.
See the pkg-config man page for more details.

環境変数を何か足してやらないとダメらしい。
続きは明日以降になりそうだ。やっぱり自分は○×△が足りぬ。

もうねろ。

auto-aptもう少し。

$ time sudo auto-apt update
(ry
Downloading http://host.domain.tld/debian//dists/etch \
Contents-powerpc.gz ...
100%[====================================>] 10,518,261 \
    2.58M/s    ETA 00:00
 
00:57:18 (2.50 MB/s) - `host.domain.tld_archives_linux_debian\
_debian_dists_etch_Contents-powerpc.gz' を保存しました \
[10518261/10518261]
 
put: 1861737 files,  2885533 entries
Downloading http://security.debian.org//dists/etch/updates \
 Contents-powerpc.gz ...
 
put: 1865372 files,  2890192 entries done (170 sec)
 
real    2m51.033s
user    2m43.015s
sys     0m3.122s

某HDDレコーダ

# nmap -O $HDD_RECORDER
 
Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2006-11-30 15:21 JST
WARNING:  RST from port 80 -- is this port really open?
WARNING:  RST from port 80 -- is this port really open?
(ry
Interesting ports on $HDD_RECORDER:
(The 1662 ports scanned but not shown below are in state: closed)
PORT   STATE SERVICE
80/tcp open  http
MAC Address: XX:XX:XX:XX:XX:XX (A_ELECTRIC COMPANY)
No exact OS matches for host (If you know what OS is running \
on it, see http://www.insecure.org/cgi-bin/nmap-submit.cgi).
TCP/IP fingerprint:
SInfo(V=3.81%P=i686-pc-linux-gnu%D=11/30%Tm=456E7897%O=80%C=1%M=080070)
T1(Resp=Y%DF=N%W=103B%ACK=S++%Flags=AS%Ops=M)
T1(Resp=Y%DF=N%W=0%ACK=S++%Flags=AR%Ops=)
T2(Resp=Y%DF=N%W=0%ACK=S%Flags=AR%Ops=)
T3(Resp=Y%DF=N%W=103B%ACK=S++%Flags=AS%Ops=M)
T3(Resp=Y%DF=N%W=0%ACK=S++%Flags=AR%Ops=)
T4(Resp=Y%DF=N%W=0%ACK=S%Flags=AR%Ops=)
T5(Resp=Y%DF=N%W=0%ACK=S++%Flags=AR%Ops=)
T6(Resp=Y%DF=N%W=0%ACK=S%Flags=AR%Ops=)
T7(Resp=Y%DF=N%W=0%ACK=S++%Flags=AR%Ops=)
PU(Resp=N)
 
Nmap finished: 1 IP address (1 host up) scanned in 27.294 seconds

devがなかったから。

scim-rubyの./configureが うまくいかなかったのは、つまるところscimの ごく一部(実行ファイルなど)しかなかったからであるらしい。

末尾に表示されたメッセージに従い、PKG_CONFIG_PATHとか、 SCIM_LIBSとか、はてはSCIM_CFLAGSだとかの環境変数を もげもげやると、./configureは通ることもあったが、makeで こける。
エラーメッセージの最初に scim.hがないとか表示されるのを見て、ようやくピンときた。

scim-devなどを入れてやる。新しくktermを起動して(自分の付加した 環境変数のない端末で)./configure && make。
...平穏に終了した。


リンクはご自由にどうぞ。でもURLや内容が変った場合はあしからず。

index.htmlは ここから。