Last Update 19:52:53 03/12/08
NetBSD/macppc X Window system status(1999/01/19) 19990116 版を使って次のようにしたら、動いた。 tar zxf /pub/NetBSD/PowerPC/xsrc.tgz cd xsrc tar zxf /pub/NetBSD/PowerPC/Xmacppc.tar.gz patch -s -p0 < /pub/NetBSD/PowerPC/X11.diff cd xc make World >& ../world.log make install chmod g+rw /dev/ttyE? /dev/ws* (これなしで通常使用者だと no screen found になってしまう) ここから下は出来るまでの失敗談をまとまりなく書いてある。 出来たものが /usr/X11R6/bin/xinit: Exec format error. Binary file not executable. となってしまうが、これは共有ライブラリが使えない snapshot-19981023 を使っているため。 gcc -o Xmacppc -O2 -ansi -Dasm=__asm -L../../exports/lib hw/netbsd/macppc/alphaInit.o hw/netbsd/macppc/libmacppc.a dix/libdix.a os/libos.a ../../lib/Xau/libXau.a ../../lib/Xdmcp/libXdmcp.a ../../exports/lib/libfont.a cfb/libcfb.a mfb/libmfb.a dix/libxpstubs.a mi/libmi.a Xext/libext.a xkb/libxkb.a XIE/dixie/libdixie.a XIE/mixie/libmixie.a lbx/liblbx.a ../../lib/lbxutil/liblbxutil.a dbe/libdbe.a record/librecord.a -L/usr/X11R6/lib -lgnumalloc -lz -lm -Wl,-rpath,/usr/X11R6/lib -Wl,-rpath-link,../../exports/lib lbx/liblbx.a(lbxopts.o)(.data+0x60): undefined reference to `LbxImageDecodeFaxG42D' collect2: ld returned 1 exit status xc/programs/Xserver/lbx/lbxopts.c xc/programs/lbxproxy/di/options.c makoto@harry 16:50:21/990115(~)> which xinit /usr/X11R6/bin/xinit makoto@harry 16:50:24/990115(~)> xinit Xpmac_m64vt_nomemcpy: not found _X11TransSocketUNIXConnect: Can't connect: errno = 2 _X11TransSocketUNIXConnect: Can't connect: errno = 2 _X11TransSocketUNIXConnect: Can't connect: errno = 2 _X11TransSocketUNIXConnect: Can't connect: errno = 2 _X11TransSocketUNIXConnect: Can't connect: errno = 2 _X11TransSocketUNIXConnect: Can't connect: errno = 2 giving up. xinit: No such file or directory (errno 9): unable to connect to X server xinit: No such process (errno 9): Server error. makoto@harry 16:50:47/990115(~)> making Makefiles in doc/man/Xt... Stopped in make at 0x21d360: lwz r0, r1, 0x14, db> 19990118 19990116 版 OsVendorInit Fatal server error: no screen found X connection to :0.0 broken (explicit kill or server shutdown). # which xinit /usr/X11R6/bin/xinit # xinit OsVendorInit alphaTGAInit mapped width = 640, real width is 640 MIT-SHM extension disabled due to lack of kernel support added mouse = 0x1a5fb00 added kbd = 0x1a5fa00 going to register registered mouse registered kbd mi-registered mouse kbd device init