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

先月 2002年01月 来月
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 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2002年01月07日(月) 旧暦 [n年日記]

#1 [NetBSD] pkgsrc/graphics/xpm

makoto@iBook366  9:18:05/020107(...graphics/xpm)> make
===> The Xpm library is included in your X11 distribution.
Makefile には
.if ${HAVE_BUILTIN_XPM} != "NO"
というのがある。 ../../mk/bsd.pref.mk を見ると、
# Check if we got Xpm distributed with XFree86 4.x or if we need to
# depend on the Xpm package.
.if (defined(CHECK_XPM) || defined(USE_XPM))
X11BASE?=               /usr/X11R6
.if exists(${X11BASE}/include/X11/xpm.h) && \
    exists(${X11BASE}/lib/X11/config/X11.tmpl)
__BUILTIN_XPM!=         ${EGREP} 
    -c NormalLibXpm ${X11BASE}/lib/X11/config/X11.tmpl || ${TRUE}
.else
__BUILTIN_XPM=          0
.endif
.if ${__BUILTIN_XPM} == "0"
HAVE_BUILTIN_XPM=       NO
.else
HAVE_BUILTIN_XPM=       YES
.endif
.undef __BUILTIN_XPM
.endif  # CHECK_XPM
xpm を pkgsrc から入れる前に入れてある時の問題 ? HAVE_BUILTIN_XPM check を追加して解決。

次は Xaw3d が見つからない。:

/usr/bin/ld: warning: libXmu.so.6, needed by /usr/X11R6/lib/libXaw3d.so, not found (try using --rpath)
/usr/bin/ld: warning: libXt.so.6, needed by /usr/X11R6/lib/libXaw3d.so, not found (try using --rpath)
/usr/bin/ld: warning: libSM.so.6, needed by /usr/X11R6/lib/libXaw3d.so, not found (try using --rpath)
/usr/bin/ld: warning: libICE.so.6, needed by /usr/X11R6/lib/libXaw3d.so, not found (try using --rpath)

うまく行かない方:

configure:5038: cc -o conftest -I/usr/X11R6/include -O2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/us r/pkg/lib -L/usr/local/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R6/lib conftest.c -lXaw3d -lXext -lX11 1>&5 -L/usr/pkg/lib -L/ usr/local/lib

うまく行く方は -lXmu -lXt -lSM -lICE が入っている:

configure:5038: cc -o conftest -I/usr/X11R6/include -O -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/us r/pkg/lib -L/usr/local/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R6/lib -L/usr/loca l/lib -L/usr/lib conftest.c -lXaw3d -lXext -lXmu -lXt -lSM -lICE -lX11 1>&5 -L/usr/pkg/lib -L/usr/local/lib

良く見ると Xmu も見つかっていない:

configure:4816: cc -o conftest -I/usr/X11R6/include -O2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -W l,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R6/lib conftest.c -lXmu -lXt -lSM -lICE -lX11 1>&5 -L/usr/pkg/lib -L/usr/local/lib /usr/bin/ld: warning: libXext.so.6, needed by /usr/X11R6/lib/libXmu.so, not found (try using --rpath) /usr/X11R6/lib/libXmu.so: undefined reference to `XShapeCombineMask'



最近の日記
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
2024年03月10日
停電 (瞬電)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)