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

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

2005年08月10日(水) 旧暦 [n年日記] [更新:"2005/08/11 00:14:18"]

#1 [NetBSD][pkgsrc] x11/xorg-libs

Xaw3d がうまく作れない件 でいろいろ試行錯誤中:
pkg_create: can't stat `/usr/pkg/xorg/lib/pkgconfig/fixesext.pc'
pkg_create: can't stat `/usr/pkg/xorg/lib/pkgconfig/compositeext.pc'
この二つがないと言われる。

fixesext.pc は xorg-libs の中のもの:

ttyp1:makoto@s900 6:55:21/050810(/export/pkgsrc)> grep fixesext.pc */*/PLIST
x11/fixesext/PLIST:lib/pkgconfig/fixesext.pc
x11/xorg-libs/PLIST:${X11ROOT_PREFIX}/lib/pkgconfig/fixesext.pc

/etc/mk.conf はいま:

ttyp1:makoto@s900 6:56:25/050810(/export/pkgsrc)> grep PREFIX /etc/mk.conf
#X11PREFIX= /usr/X11
#X11BASE= ${PREFIX}/xorg
#X11ROOTDIR= ${PREFIX}/xorg
#X11PREFIX= ${PREFIX}/xorg

探せばある:

ttyp1:makoto@s900 6:57:39/050810(/export/pkgsrc)> find /usr -name fixesext.pc -ls
139159 4 -r--r--r-- 1 root wheel 236 Aug 10 06:51 /usr/X11/lib/pkgconfig/fixesext.pc
ttyp1:makoto@s900 6:57:55/050810(/export/pkgsrc)>
実は X11ROOT_PREFIX は初耳。という訳で、やり直し。
cd x11/xorg-libs
sudo make clean && make >& /tmp/log

x11/xorg-libs/Makefile:

次のように ${X11BASE} を ${PREFIX}/${X11ROOT_PREFIX} に変更 すれば make install/make package が完了する
Index: x11/xorg-libs/Makefile
===================================================================
RCS file: /e/st4200/cvsync/pkgsrc/x11/xorg-libs/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- x11/xorg-libs/Makefile      15 Apr 2005 16:38:07 -0000      1.22
+++ x11/xorg-libs/Makefile      10 Aug 2005 00:33:30 -0000
@@ -56,14 +56,14 @@
 .endif
 
 pre-install:
-.if !exists(${X11ROOT}/lib/pkgconfig)
-       ${INSTALL_DATA_DIR} ${X11BASE}/lib/pkgconfig
+.if !exists(${PREFIX}/${X11ROOT_PREFIX}/lib/pkgconfig)
+       ${INSTALL_DATA_DIR} ${PREFIX}/${X11ROOT_PREFIX}/lib/pkgconfig
 .endif
 .for f in fixesext.pc compositeext.pc
-       @${SED} -e "s,@X11BASE@,${X11BASE},g"           \
+       @${SED} -e "s,@X11BASE@,${PREFIX}/${X11ROOT_PREFIX},g"          \
                -e "s,@LOCALBASE@,${LOCALBASE},g"       \
                ${FILESDIR}/${f} > ${WRKSRC}/${f}
-       ${INSTALL_DATA} ${WRKSRC}/${f} ${X11BASE}/lib/pkgconfig/${f}
+       ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${X11ROOT_PREFIX}/lib/pkgconfig/${f}
 .endfor
 
 .include "../../fonts/fontconfig/buildlink3.mk"
何故 未来時刻 になっているのだらう。 ←見間違い。

x11/Xaw3d/work/xc/lib/Xaw3d/Makefile:

x11/Xaw3d/work/xc/lib/Xaw3d/Makefile の中で
SHLIBLDFLAGS = -shared -Wl,-rpath,$(USRLIBDIR)
となっているのは次の部分によるらしい。
ttyp1:makoto@s900  23:06:47/050810(...x11/Xaw3d)> diff -u /usr/X11/libdata/config/bsdLib.rules{-orig,}
--- /usr/X11/libdata/config/bsdLib.rules-orig   2005-08-06 00:28:53.000000000 +0900
+++ /usr/X11/libdata/config/bsdLib.rules        2005-08-10 23:04:01.000000000 +0900
@@ -124,7 +124,7 @@
 #define ShLibIncludeFile <bsdLib.tmpl>
 #endif
 #ifndef SharedLibraryLoadFlags
-#define SharedLibraryLoadFlags -shared -Wl,-rpath,$(USRLIBDIR)
+#define SharedLibraryLoadFlags -shared -Wl,-rpath,/usr/X11/lib
 #endif
 #ifndef PositionIndependentCFlags
 #define PositionIndependentCFlags -fPIC
ttyp1:makoto@s900  23:06:51/050810(...x11/Xaw3d)> 
これが正しい直し方ではないはずだが、これで先に行く。
と言うことは xpkgwedge が効いていない ?



最近の日記
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)