Descriptions of the Current Directory
X11 Update
[0] News
- Apr 12, 1998: As pointed out by T.Oe in (mklinux-jp 7958)
it is now possible to input Japanese into Netscape's forms
with kinput2. See also (mklinux-jp 7962) for additional
information.
[1] Preparation of Necessary RPMs
Before updating X11, you had better check your system
status. In my case, it looks like
- Mach Kernel : wip980207
- default_pager : wip980207
- vmlinux : wip980207
- glibc : 0.961212-1d
- binutils : 2.8.1.0.20-2a
meaning that it's DR3alpha4. If you want to proceed,
you had better update your system at least up to
this level.
Having updated your system, the next thing to do is
to get the n-series of X11R6.3 and related RPMs
from the DR3 directory:
- # ls
- X11R6.3-01-1n.ppc.rpm
- X11R6.3-100dpi-fonts-01-1n.ppc.rpm
- X11R6.3-75dpi-fonts-01-1n.ppc.rpm
- X11R6.3-PMac-01-1n.ppc.rpm
- X11R6.3-devel-01-1n.ppc.rpm
- X11R6.3-fonts-01-1n.ppc.rpm
- X11R6.3-libs-01-1n.ppc.rpm
- X11R6.3-man-01-1n.ppc.rpm
- pam-0.59-5b.ppc.rpm
- xbanner-1.31-1b.ppc.rpm
[2] Installation of New X11
Then erase XBanner which conflicts with xbanner, and
install xbanner-1.31 and pam-0.59:
- # rpm -e `rpm -qa | grep XBanner`
- # rpm -i xbanner-1.31-1b.ppc.rpm
- # rpm -U pam-0.59-5b.ppc.rpm
Before installing X11R6.3, you have to move the current
X11R6.3 and erase the symbolic links:
- # (cd /usr; mv X11R6.3 X11R6.3.keep; rm X11R6 X11)
since, otherwise, the installation would fail: X11R6.3
instead of X11R6 became a symbolic link, making any attempt
at removing X11R6.3 impossible.
Having done this, you can now update your X11:
- # rpm -U X11R6.3-*
- # rpm -i --force X11R6.3-*
Notice that the first "rpm -U" complains a lot but it is
useful to eliminate the previously installed X11.
The second step is necessary to complete the installation.
[3] Reconfiguration of X11
You are basically done now. In my case I had to restore
the previous customizations.
Replace libXaw by libXaw3d
- # cd /usr/X11R6/lib
- # mkdir libXaw.ORIG
- # mv libXaw.so.6.1 libXaw.ORIG
- # cp -p /usr/X11R6.3.keep/lib/libXaw3d.so.6.1 .
- # ld -shared -soname libXaw.so.6 -o libXaw.so.6.1 libXaw3d.so.6.1
Replace Xpmac with Xpmac-VFlib-FT
- # cd /usr/X11R6/bin
- # mv Xpmac Xpmac.ORIG
- # cp -p /usr/X11R6.3.keep/bin/Xpmac-VFlib-FT .
- # ln -s Xpmac-VFlib-FT Xpmac
Modify XLC_LOCALE for Japanized Netscape
- # cd /usr/lib/X11/locale/ja/
- # mv XLC_LOCALE XLC_LOCALE.ORIG
- # cp -p /usr/X11R6.3.keep/lib/X11/locale/ja/XLC_LOCALE .
Resotre Additional Fonts and Aliases
- # cd /usr/lib/X11/fonts
- # cp -p /usr/X11R6.3.keep/lib/X11/fonts/75dpi/fonts.alias 75dpi
- # cp -p /usr/X11R6.3.keep/lib/X11/fonts/misc/fonts.alias misc
- # cp -p /usr/X11R6.3.keep/lib/X11/fonts/misc/{6x12rk.pcf.Z,a12.pcf.Z,elisau10.pcf.Z,k12.pcf.Z,s5x8.pcf.Z} misc
- # mkfontdir misc
Restore Various X-applications
Instead of reinstalling each application, write the new X over
the previous X11R6.3 directory:
- # cd /usr
- # tar -cvf X11R6.tar X11R6
- # rm -rf X11R6
- # mv X11R6.3.keep X11R6
- # tar -xvf X11R6.tar
- # /sbin/ldconfig
Back to Keisuke Fujii's MkLinux Page
fujiik@jlcuxf.kek.jp Nov 12, 1997