zaucerの日記: ドームすみません(9)
というわけで Panther。
X11(XFree86) がついている上に Xcode で開発環境もあるわけで、まずは kterm でもつくるべ。
と、その前にわたしは tcsh の方が好きなので login shell を tcsh に戻して、と。
:
% tar zxvf kterm-6.2.0.tar.gz
% cd kterm-6.2.0
% xmkmf -a
tcsh: usage=usage: /usr/X11R6/bin/xmkmf [-a] [top_of_sources_pathname [current_directory]]: Command not found.
tcsh: configdirspec=-I/usr/X11R6/lib/X11/config: Command not found.
tcsh: topdir=: Command not found.
tcsh: curdir=.: Command not found.
tcsh: do_all=: Command not found.
tcsh: imake_defines=: Command not found.
tcsh: while: Expression Syntax.
%
は?
% bash
$ xmkmf -a
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
make Makefiles
make: Nothing to be done for `Makefiles'.
make includes
make: Nothing to be done for `includes'.
make depend
gccmakedep -- -I/usr/X11R6/include -D__DARWIN__ -DNO_ALLOCA -DX_LOCALE -DCSRG_BASED -DKTERM -DSTATUSLINE -DKEEPALIVE -- button.c charproc.c cursor.c data.c input.c main.c menu.c misc.c screen.c scrollbar.c tabs.c util.c VTPrsTbl.c kanji_map.c gset.c convert.c xim.c kinput2.c convlib.c
cc: cannot read specs file for arch `i386'
$
むぅ、bash では問題なしか…ってなんじゃこれ、xmkmf を直接読んどるな…
% vi `which xmkmf`
:
#pragma GCC set_debug_pwd "/private/var/tmp/X11/X11-0.30.obj~2/xc/config/util"
#!/bin/sh
# $XFree86: xc/config/util/xmkmf.cpp,v 1.4 2001/01/17 16:39:02 dawes Exp $
むう、何ですかこの一行目は、というか、#! が二行目にあっても認識するのか bash は、なのか…
(追記 違うよ、bash だから #! がないとしても問題ないだけ、だ)
* /usr/X11R6/bin にある shell スクリプトものはみんなこうなっている。
訂正: 日記掲載用にあらためて実行したのを paste してたのだが正しくは xmkmf -a だったので差し替えました。
ドームすみません(9) More ログイン