hns - 日記自動生成システム - Version 2.19.9

先月 2004年06月 来月
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2004年06月26日() 旧暦 [n年日記]

#1 [Web] POBox の画面素適

増井さんの作るものだから、僕が言っても始まらないが、素適だ。 上に TAB があって、(場合によっては) 左側に見出 が出ている。 jeedosaquin 負けている。

#2 [pkgsrc][NetBSD] Mozilla のないくらし

まだこれをやっている。最近は違う問題になっている 何しろ /usr/pkg は変にさわっているから、意味のない情報 になってしまうが:
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found.
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
*** GTK+ is available from ftp://ftp.gtk.org/pub/gtk
configure: error: Test for GTK failed.
*** Error code 1

Stop.
make: stopped in /export/pkgsrc/www/mozilla
*** Error code 1

Stop.
make: stopped in /export/pkgsrc/www/mozilla
ttyp6:makoto@harry  14:26:02/040625(...www/mozilla)> which gtk-config
gtk-config: Command not found.
ttyp6:makoto@harry  7:51:57/040626(...www/mozilla)> cd ../..
ttyp6:makoto@harry  7:52:00/040626(/export/pkgsrc)> grep gtk-config */*/PLIST
x11/gtk/PLIST:bin/gtk-config
x11/gtk/PLIST:man/man1/gtk-config.1

x11/gtk を入直:

10:02   cd /export/pkgsrc/x11/gtk
10:02   unsetenv PKG_PATH
10:02   make clean && make
10:13   sudo pkg_delete -f gtk+
10:13   make install
10:13   cd ../../www/mozilla
10:13   make
一行進んだだけ
checking for gtk-config... /usr/pkg/bin/gtk-config
checking for GTK - version >= 1.2.0... no

work/mozilla/config.log から:

configure:11076:21: gtk/gtk.h: No such file or directory
configure: In function `main':
configure:11080: error: `gtk_major_version' undeclared (first use in this function)
configure:11080: error: (Each undeclared identifier is reported only once
configure:11080: error: for each function it appears in.)
configure:11080: error: `gtk_minor_version' undeclared (first use in this function)
configure:11080: error: `gtk_micro_version' undeclared (first use in this function)
configure: failed program was:
#line 11074 "configure"
#include "confdefs.h"

#include <gtk/gtk.h>
#include <stdio.h>

int main() {
 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); 
; return 0; }

gtk.h はどこにあるか ?:

ttype:makoto@harry  10:20:45/040626(/export/pkgsrc)> egrep 'gtk.h$' x11/*/PLIST
x11/gnome-python/PLIST:${PYINC}/pygtk/pygtk.h
x11/gtk/PLIST:include/gtk-1.2/gtk/gtk.h
x11/gtk2/PLIST:include/gtk-2.0/gtk/gtk.h
x11/lablgtk/PLIST:lib/ocaml/lablgtk/ml_gtk.h
x11/py-gtk2/PLIST:include/pygtk-2.0/pygtk/pygtk.h
x11/wxGTK/PLIST:include/wx/gtk/tbargtk.h
x11/wxGTK/PLIST:include/wx/gtk/win_gtk.h
/usr/pkg/include/gtk-1.2/gtk/gtk.h はある。

ttype:makoto@harry 10:32:50/040626(...www/mozilla)> /usr/pkg/bin/gtk-config --cflags gtk
-I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include
とも表示されるし、
gcc には -I/usr/pkg/include/gtk-1.2 と指定されている。
試しに conftest.c を作って同じ gcc をして見ると、通る。

藤島さんから教えていただいた:

pkgtools/xpkgwedge はご存知ですか? これは何をするものかというと、これ をインストールすると、以後、X に関連したプログラムが /usr/X11R6 以下で はなく、/usr/pkg にインスールされるようになります。ここまではいいのです が、途中から使い始めると、藤原さんのように、ヘッダファイルやライブラリ ファイルが見つけられないという症状になる可能性があります。実は、私もこ んないいものがあるのかと途中から入れてはまりました。現在、pkgsrc を使お うとすると、xpkgwedge が勝手に入るので、知らない間に使っている可能性が あるかもしれません。
さらに:
xpkgwedge 単体の問題ではなく buildlink も関係する問題: buildlink はシンボリックリンクを作成す ることで、configure 時やコンパイル時に意図しないライブラリを見えなくし てしまうもので、xpkgwedge をいれると実際にヘッダファイルは /usr/X11R6/include/*.h にあるのに、/usr/pkg/include/*.h へのリンクが作 成されてしまいます。

「あと、xpkgwedge を使っている場合」:

export XAPPLRESDIR=/usr/pkg/lib/X11/app-defaults
という設定も必要です。
なんだか図星のような。

#3 [Emacs] cvs 版を組立てて見る

   239  11:56   cvs update -dP -A -C
   240  11:57   ./configure
   241  11:58   time make bootstrap

Generating /export/local-src/emacs/lisp/cus-load.el...done
1350.875u 116.135s 25:46.22 94.8%       0+0k 35+11272io 222pf+12w
ttyp6:makoto@harry  12:24:16/040626(...local-src/emacs)> 

setenv DESTDIR /export/emacs 効かず ?:

もう一度やり直し。

#4 [pkgsrc] macosx/pkgsrc


#5 [機械] Matrox NS-FNIC/4 /NA(NS-QNIC) 欲しい


#6 [Emacs] 無言応答病

にまたなってしまった。 再起動するかな。再起動したが、直らない。 しかし、また不思議なことがあって、実は、この間に /usr/pkgsrc/devel/gdb6 を入れている。これを使うと、(いまは)問題はない。 「gdb の出力が emacs に渡らなくなることがある」問題の気がする。
そう言えば、最近一時的に使えていたのは、emacs の cvs 版を作ったからで、 それがまただめになった、gdb を新しくしたら復活した、ということ。



最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)