Freeware Installation Records
This page contains records of freeware building procedures
on MkLinux DR2.1.
Precompiled binary packages are available from
here.
These packages have been tested on my machine (PowerMac 8115/110)
but may not work on your platform.
Install them at your own risk.
Tips on Downloading RPMs with Netscape
In order to download an RPM file with Netscape,
move the mouse cursor to a target link and, in the case
of Unix, press the right button, or in the case of Mac,
keep the mouse button pressed until a contextual
menu popps up. Then select "Save Link As" and save the
RPM file as "Source".
Aug 1, 1998
DR3 and Termination of This Page
Since DR3 is now available and most of the materials in this
page became obsolete, I decided to terminate the updating of
this page.
Use the update records
for my DR3 directory in future.
Jul 30, 1998
Some New RPMS
grep-2.2-2a, lesstif*-0.86.pre1-1a, ncurses*-1.9.9e-9a
They are available from here.
Jul 21, 1998
Some New RPMS
glibc*-0.961212-1k coming with pthred related modifications.
They are available from here.
Jul 16, 1998
Some New RPMS
glibc*-0.961212-1j, texinfo-3.12-4a, info-3.12-4a
They are available from here.
Jp-tcltk-7.6p2_4.2p2-2b
Japanized Tcl/Tk rebuilt with glibc*-0.961212-1j
Read this for more information.
Xemacs-20.4-2
The latext release of Xemacs for Both Canna and Wnn rebuilt with glibc*-0.961212-1j
and -xfs to support Japanized menus.
RPMS are available from here.
Jul 15, 1998
Ssh-1.2.26-1a
The Secure Shell
See this for more information.
Jul 11, 1998
Wnn-4.2-7glibc
A Temporary version with Kaoru Fukui's malloc-related Patch
See this for more information.
Xemacs-20.4-1
The latext release of Xemacs for Both Canna and Wnn
RPMS are available from here.
Jun 26, 1998
Jdk116_v2a
The latest JAVA Developer's Kit.
See this for more information.
Jun 22, 1998
Ssh-1.2.22-1a
The Secure Shell
See this for more information.
Netscape Wrapper
Netscape Wrapper for 4.05 Revised to Allow ja_JP.SJIS.
You can now move the wrapper contents of usr/local/netscape
to wherever you installed the netscape binary.
See this for more information.
Egcs-1.0.3a-1a
The Latest EGCS Release Built With PPC Patches Imported
From "egcs-1.0-2e.src.rpm".
I haven't throughly tested the RPMSs, but you can try
them if you want.
Jun 19, 1998
Spice-3f4-3
The latest version of Spice: A General Purpose Circuit Simulation Program
Rebuilt with pre-DR3
See this for more information.
Jun 17, 1998
Some New RPMS
glibc*-0.961212-1h, libgr*-2.0.13-10a, libjpeg*-6b-2a, libtiff*-3.4-1c,
and zlib*-1.1.2-3a
They are available from here.
Jun 13, 1998
Jp-tkmail-4.0beta9-2e
Moved kinput2-related bindings to tkbind/kinput2.tcl so that personal setting isunnecessary.
See this for more information.
Jun 12, 1998
VFlib-FT*-2.22pl10-2a, freetype*-1.0-3a
VFlib-FT and freetype were rebuilt with pre-DR3.
freetype is now with an additional patch to allow
use of Dynalab fonts.
See this for more information.
Jun 11, 1998
JDK 116_v1a
The latest version of Java Developer's Kit this time
statically linked with Motif 2.1
Original from
http://business.tyler.wm.edu/mklinux/dl/jdk116_v1a.tar.gz
which includes mwjit-971120. Thus you don't have to get it separately.
See this for more information.
Jun 9, 1998
Jp-ivtools-0.6.5-1 Built with Pre-DR3
The latest Ivtools with a Japanization Patch: a framework for
building custom drawing editors and servers.
See README for installation instructions.
Jun 6, 1998
CERNLIB 98
CERNLIB 98 has been ported to MkLinux DR3alpha5 (pre-DR3).
Those who have a license and are interested in using it,
contact me.
Jun 1, 1998
DR3 Applications
I have moved to pre-DR3. I am going to renew this web site, accordingly.
It's going to take some time. Meanwhile, you may try
DR3 applications in the DR3 directory.
These applications should work on a properly updated DR2.1, meaning
DR3alpha5 with latest glibc and X11R6.3.
As always, try them at your own risk.
May 8, 1998
Some New RPMs
Some new RPMs from
ftp://ftp.mklinux.apple.com/pub/DR3/RedHat/RPMS/.
- binutils-2.9.1-1a.ppc.rpm
- glibc-0.961212-1g.ppc.rpm
- glibc-devel-0.961212-1g.ppc.rpm
- glibc-info-0.961212-1g.ppc.rpm
- glibc-static-0.961212-1g.ppc.rpm
- lesstif-0.83.05.04.JDK-1b.ppc.rpm
- lesstif-clients-0.83.05.04.JDK-1b.ppc.rpm
- lesstif-devel-0.83.05.04.JDK-1b.ppc.rpm
- lesstif-mwm-0.83.05.04.JDK-1b.ppc.rpm
- X11R6.3-01-1q.ppc.rpm
- X11R6.3-100dpi-fonts-01-1q.ppc.rpm
- X11R6.3-75dpi-fonts-01-1q.ppc.rpm
- X11R6.3-devel-01-1q.ppc.rpm
- X11R6.3-fonts-01-1q.ppc.rpm
- X11R6.3-libs-01-1q.ppc.rpm
- X11R6.3-man-01-1q.ppc.rpm
- X11R6.3-PMac-01-1q.ppc.rpm
First update binutils and glibc:
- # rpm -Uvh <somewhere>/binutils-2.9.1-1a.ppc.rpm
- # rpm -Uvh <somewhere>/glibc*-1g.ppc.rpm
Notice The long standing
"Unresolved inheritance operation" problem has been solved with
binutils-2.9.1-1a, glibc*-1g, and egcs*-1.0-2e
Before updating X11, make sure that your X11 is 1n or later.
If not, you should follow the procedure described in
the README for X11R6.3*-1n.
If you are 1n or later, go ahead and keep some modified files.
In my case, I did:
- # (cd /usr/lib/X11/locale/ja; cp -p XLC_LOCALE XLC_LOCALE.keep)
- # (cd /usr/lib/X11/fonts/75dpi; cp -p fonts.alias fonts.alias.keep)
- # (cd /usr/lib/X11/fonts/misc; cp -p fonts.alias fonts.alias.keep)
Then update X11:
- # rpm -Uvh <somewhere>/X11R6.3*-1q.ppc.rpm
and restore the modifications. For my Japanized Netscape, I did
- # (cd /usr/lib/X11/locale/ja; mv XLC_LOCALE XLC_LOCALE.ORIG)
- # (cd /usr/lib/X11/locale/ja; mv XLC_LOCALE.keep XLC_LOCALE)
and for additional fonts or aliases,
- # (cd /usr/lib/X11/fonts/75dpi; mv fonts.alias fonts.alias.ORIG)
- # (cd /usr/lib/X11/fonts/75dpi; mv fonts.alias.keep fonts.alias)
- # (cd /usr/lib/X11/fonts/misc; mv fonts.alias fonts.alias.ORIG)
- # (cd /usr/lib/X11/fonts/misc; mv fonts.alias.keep fonts.alias)
- # mkfontdir /usr/lib/X11/fonts/misc
NoticeThe X11 update is mandatory
because of the "Unresolved inheritance operation" fixup:
applications using athena widgets would stop working otherwise.
By the same reason, I had to update some other toolkits:
- # rpm -Uvh <somewhere>/lesstif*JDK-1b.ppc.rpm
Xaw3d was rebuilt with "EXTRA_DEFINES = -DARROW_SCROLLBAR -DUSEGRAY":
- Xaw3d-1.3-13c.ppc.rpm
- Xaw3d-devel-1.3-13c.ppc.rpm
and installed as
- # rpm -Uvh <somewhere>/Xaw3d*-13c.ppc.rpm
- # (cd /usr/X11R6/lib; mkdir libXaw.ORIG; mv libXaw.so.6.1 libXaw.ORIG)
- # (cd /usr/X11R6/lib; ld -shared -soname libXaw.so.6 -o libXaw.so.6.1 libXaw3d.so.6.1)
Apr 26, 1998
JDK 115_v7
The latest version of Java Developer's Kit
Original from
http://business.tyler.wm.edu/mklinux/dl/jdk115_v7.tar.gz
which includes mwjit-971120. Thus you don't have to get it separately.
See this for more information.
Apr 25, 1998
Root v2.00/05
A comprehensive object oriented framework
that provides a solid foundation on which large scale data analysis
applications can be built. It is developed by the CERN root team.
See this for more information.
Apr 22, 1998
Wip980421 or DR3alpha5
DR3alpha5 (wip980421-vmlinux + wip980421-default_pager + wip980421-Mach_Kernel)
People say this is good for NuBus Macs!
If you want to go directly to Wip980421 from wip971117 or earlier,
follow the steps in the wip980113 record with replacing
- wip980113 Mach_Kernel by wip980421 Mach_Kernel
- wip980113 default_pager by wip980421 default_pager
- wip980113 vmlinux by wip980421 vmlinux
Wips were retrieved from ftp.mklinux.apple.com/pub/wip/
and are also available from
- wip980421
See the README file coming with the wips for more information.
Apr 17, 1998
Some New RPMs
Some new RPMs from
ftp://ftp.linuxppc.org/linuxppc/redhat/RPMS/ppc/.
- binutils-2.9.0-1a.ppc.rpm
- kernel-headers-2.0.32-1b.ppc.rpm
They were installed as:
- # rpm -U binutils-2.9.0-1a.ppc.rpm
- # rpm -U kernel-headers-2.0.32-1b.ppc.rpm
Apr 13, 1998
Some New RPMs
Some new RPMs from
ftp://ftp.linuxppc.org/linuxppc/redhat/RPMS/ppc/.
- lesstif-0.83-1d.ppc.rpm
- lesstif-clients-0.83-1d.ppc.rpm
- lesstif-devel-0.83-1d.ppc.rpm
- lesstif-mwm-0.83-1d.ppc.rpm
- nfs-server-2.2beta29-2b.ppc.rpm
- nfs-server-clients-2.2beta29-2b.ppc.rpm
They were installed as:
- # rpm -U lesstif-*
- # rpm -U nfs-server-*
You don't need update nfs-servers if you do not have LAN, of course.
Apr 12, 1998
New X11R6
As pointed out by T.Oe in (mklinux-jp 7958)
it is now possible to input Japanese text into Netscape's forms
with kinput2. See also (mklinux-jp 7962) for additional
information.
See my installation note for details.
Netscape 4.05
The latest Netscape Browser
Using the latest X11R6.3 and the kinput2 with Honma's FilterEvent patch,
one can now input Japanese text into forms.
There is still some problem with XmText widgets, but
one line forms (with XmTextField widgets) now work fine
and enable web searches with Japanese key words.
See my installation note for details.
Apr 2, 1998
Some New RPMs
Some new RPMs from
ftp://ftp.linuxppc.org/linuxppc/redhat/RPMS/ppc/.
- glibc-0.961212-1d.ppc.rpm
- glibc-devel-0.961212-1d.ppc.rpm
- glibc-info-0.961212-1d.ppc.rpm
- glibc-static-0.961212-1d.ppc.rpm
They were installed as:
- # rpm -U glibc-*
Mar 27, 1998
Some New RPMs
Some new RPMs from
ftp://ftp.linuxppc.org/linuxppc/redhat/RPMS/ppc/.
- glibc-0.961212-1c.ppc.rpm
- glibc-devel-0.961212-1c.ppc.rpm
- glibc-info-0.961212-1c.ppc.rpm
- glibc-static-0.961212-1c.ppc.rpm
- info-3.9-7a.ppc.rpm
- lesstif-0.83-1b.ppc.rpm
- lesstif-clients-0.83-1b.ppc.rpm
- lesstif-devel-0.83-1b.ppc.rpm
- lesstif-mwm-0.83-1b.ppc.rpm
- libg++-2.8.1.980306-1c.ppc.rpm
- libg++-devel-2.8.1.980306-1c.ppc.rpm
- texinfo-3.9-7a.ppc.rpm
They were installed as:
- # rpm -U glibc-*
- # rpm -U --oldpackage info-*
- # rpm -U --oldpackage texinfo-*
- # rpm -i lesstif-0.83*
- # rpm -U lesstif-*-0.83*
- # rpm -i libg++-2.8.1*
- # rpm -U libg++-devel-2.8.1*
Note that -i was used above for lesstif-0.83* and libg++-2.8.1*
to keep old shared libraries for backward compatibility.
The --oldpackage option for info* and texinfo* were necessary
in my case since the previous versions had release numbers
which are bigger than the new ones.
JDK-1.1.5
The latest version of Java Developer's Kit
Original from
http://business.tyler.wm.edu/mklinux/dl/jdk1.1.5.tar.gz
which includes mwjit-971120. Thus you don't have to get it separately.
After updating lesstif and glibc as above, the JDK was installed
simply as:
- # tar -zxvf jdk1.1.5.tar.gz -C /usr/local
which can be used as
- $ export JDK_HOME=/usr/local/jdk1.1.5
- $ export PATH=/usr/local/jdk1.1.5/bin:$PATH
- $ javac foo.java
- ...
HotJava1.1.2
A Java-based WWW Browser by Sun
Original from
http://business.tyler.wm.edu/mklinux/dl/hjb112-generic.tar.gz.
The Japanization kit for jdk1.1.1 on i386 from
http://www.asahi-net.or.jp/~nf6h-hsmt/java.html
was adopted to jdk1.1.5 on ppc and is available as
jdk1.1.5-locale.tar.gz.
To install hotjava, you need jdk1.1.5 preinstalled.
Provided that you have jdk1.1.5, all you need to do is
just expand the tarball:
- # tar -zxvf hjb112-generic.tar.gz -C /usr/local
If you want Japanese extension, do the following:
- # tar -zxvf jdk1.1.5-locale.tar.gz
- # cd jdk1.1.5-locale
- # make
- # make install
You can then try:
- $ export PATH=/usr/local/HotJava1.1.2/bin:$PATH
- $ export LANG=ja_JP.eucJP
- $ hotjava
Mar 26, 1998
Netscape Wrapper Revised
There was a problem with the pervious one:
Japanese subjects do not show up properly in the mail/news
list window.
Hopefully this version works better.
In order to use:
- netscape-4.04-wrapper.tar.gz
you need to preinstall kinput2-v2fix4-2.
See this for installation instructions.
Kinput2-v2-fix4 for Canna and Wnn with Honma's patch (Shared)
The latest version of a kanji input server now available as RPM's
with Honma's patch.
This version allows Japanese font specifications in
Netscape's resource file for XmText, XmTextField, etc.
I have, however, still not succeeded in Japanese input
with kinput2.
See this for installation instructions.
Mar 8, 1998
Egcs-1.0.1-1g
The latest version of EGCS: An Experimental Step In The GNU C Compiler Development,
reported by Kodera in (mklinux-jp 6582) rebuilt with some additional patches.
See README for installation instructions.
Mgp-1.02a-1a
MagicPoint: An X11 Based Presentation Tool
- mgp-1.02a-1a.src.rpm
- mgp-1.02a-1a.ppc.rpm
See this for details.
Binutils-2.8.1.0.20-2a
The latest version of binary utilities including ld, ar, as, nm,...
Original from ftp://ftp.linuxppc.org/linuxppc/redhat/RPMS/ppc/
- binutils-2.8.1.0.20-2a.ppc.rpm
Installed as:
- # rpm -U <somewhere>/binutils-2.8.1.0.20-2a.ppc.rpm
Glibc*-0.961212-1b
The latest version of GNU version of libc.
Original from ftp://ftp.linuxppc.org/linuxppc/redhat/RPMS/ppc/
- glibc-0.961212-1b.ppc.rpm
- glibc-devel-0.961212-1b.ppc.rpm
- glibc-info-0.961212-1b.ppc.rpm
- glibc-static-0.961212-1b.ppc.rpm
Installed as:
- # rpm -U <somewhere>/glibc-*
Feb 27, 1998
Egcs-1.0.1-1e
The latest version of EGCS: An Experimental Step In The GNU C Compiler Development,
reported by Kodera in (mklinux-jp 6582) rebuilt with some additional patches.
This version fixes the va_arg problem discussed in MkLinux-jp and
includes a patch to provide a shared version of libf2c.
See README for installation instructions.
Jp-TkDesk-1.0-1a
The latest (pre-final) version of TkDesk with a Japanization patch
- jp-TkDesk-1.0-1a.src.rpm
- jp-TkDesk-1.0-1a.ppc.rpm
See this for details.
Feb 13, 1998
X-VFlib
X Server with VFlib support built with DR3alpha4.
The project to adopt VFlib to the X server has been initiated
by J.Takagi at http://karin.ip.titech.ac.jp/~takagi/X-VFlib/index.html
(see http://www2.tky.3web.ne.jp/~roger/mklinux/x-vflib.html
and links from it for details).
In order to make maximum use of TrueType fonts, it is highly
recommended to use X-VFlib with freetype (a TrueType font
rendering engine) and VFlib with freetype support.
I have created binary RPMS for them:
- freetype-1.0-1A.ppc.rpm
- VFlib-FT-2.22pl10-1A.ppc.rpm
- VFlib-FT-devel-2.22pl10-1A.ppc.rpm
- VFlib-FT-VFjfm-2.22pl10-1A.ppc.rpm
Their corresponding SRPMS are:
- freetype-1.0-1A.src.rpm
- VFlib-FT-2.22pl10-1A.src.rpm
where the latter uses Matsuda's freetype patch available from
http://itohws03.ee.noda.sut.ac.jp/~matsuda/VFlib-FT/index.html
The X-VFlib server itself has been built using
X11R6.3-01-1E.src.rpm
and the VFlib patch from http://www2.tky.3web.ne.jp/~roger/mklinux/x-vflib.html
with a few modifications to make it work with the above freetype and VFlib-FT
RPMS.
The X-VFlib server has not been made into an RPM, since
there are no freely distributable TrueType fonts that I know of
and consequently it is impossible to decide fonts to include
in /usr/lib/X11/fonts/VFlib/fonts.dir and /etc/vfontcap.
The server is only available as a tarball:
Xpmac-VFlib-bin.tar.gz.
To install X-VFlib:
- $ su
- # rpm -i <somewhere>/freetype-1.0-1A.ppc.rpm
- # rpm -i <somewhere>/VFlib-FT-2.22pl10-1A.ppc.rpm
- # rpm -i <somewhere>/VFlib-FT-devel-2.22pl10-1A.ppc.rpm
- # rpm -i <somewhere>/VFlib-FT-VFjfm-2.22pl10-1A.ppc.rpm
- # tar -zxvf <somewhere>/Xpmac-VFlib-bin.tar.gz
- # mkdir /usr/lib/X11/fonts/VFlib
- # vi /etc/vfontcap
- modify font path according to your system configuration.
- # vi /usr/lib/X11/fonts/VFlib/fonts.dir
- specify fonts to use with VFlib.
See http://www2.tky.3web.ne.jp/~roger/mklinux/x-vflib.html
and links from it for details.
Feb 12, 1998
Wip980207 or DR3alpha4
DR3alpha4 (wip980207-vmlinux + wip980207-default_pager + wip980207-Mach_Kernel)
If you want to go directly to Wip980207, follow the steps in
the wip980113 record with replacing
- wip980113 Mach_Kernel by wip980207 Mach_Kernel
- wip980113 default_pager by wip980207 default_pager
- wip980113 vmlinux by wip980207 vmlinux
Wips were retrieved from ftp.mklinux.apple.com/pub/wip/
and are also available from
- wip980207
See the README file coming with the wips for more information.
Caution:
Though I had not experienced any problem, people say
"NuBus" Macs become unstable with recent wips.
Install these wips thus at your own risk!
Binutils-2.8.1.0.20-2A
The latest version of binary utilities including ld, ar, as, nm,...
Original from ftp://ftp.linuxppc.org/linuxppc/redhat/RPMS/ppc/
- binutils-2.8.1.0.20-2A.ppc.rpm
Installed as:
- # rpm -U <somewhere>/binutils-2.8.1.0.20-2A.ppc.rpm
Wnn4.2 (Fully Shared)
Wnn4.2 Rebuilt with Morishima's Jserver Patch from (MkLinux-JP)
Thanks to (mklinux-jp) Re: Wnn4.2 by Akitoshi MORISHIMA (98/02/12),
we can now use a fully shared version of jserver!
I have rebuilt Wnn4.2 with his patch.
See README for installation instructions.
Feb 4, 1998
Egcs-1.0.1-1C
The latest version of EGCS: An Experimental Step In The GNU C Compiler Development,
reported by Kodera in (mklinux-jp 6582) rebuilt with some additional patches.
See README for installation instructions.
Feb 2, 1998
Jp-Ivtools-0.6.1-1A
Japanized Ivtools: a framework for building custom drawing editors and
servers.
See README for installation instructions.
A Note On Pstoedit
I have found pstoedit-2.60 incompatible with
ghostscript-5.x (it worked fine with ghostscript-4.03).
A possible workaround is to put "-psargs level1.ps",
when invoking pstoedit.
Jan 24, 1998
Spice-3f4-4
Spice: A General-Purpose Circuit Simulation Program
See README for installation instructions.
Wip980123 or DR3alpha3
DR3alpha3 (wip980122-vmlinux + wip980122-default_pager + wip980123-Mach_Kernel)
If you want to go directly to Wip980123, follow the steps in
the wip980113 record with replacing
- wip980113 Mach_Kernel by wip980123 Mach_Kernel
- wip980113 default_pager by wip980122 default_pager
- wip980113 vmlinux by wip980122 vmlinux
Note: Though I had no problems since the installation of
wip980113, wip980123 README
motivated me to update my system to the latest.
Wips were retrieved from ftp.mklinux.apple.com/pub/wip/
and are also available from
- wip980122
- wip980123
Caution:
Though I had not experienced any problem, people say
"NuBus" Macs become unstable with recent wips.
Install these wips thus at your own risk!
Jan 23, 1998
Egcs-1.0.1-1
The latest version of EGCS: An Experimental Step In The GNU C Compiler Development,
reported by Kodera in (mklinux-jp 6582)
See README for installation instructions.
Xmcd-2.2-1B: An Audio-CD Player for X11
The latest version with wip980113 which now alows volume control.
I have reactivated the volume control function which had been
a cause of annoying error messages, since wip980113 now
allows volmue control.
See README for installation instructions.
Jan 21, 1998
Wip980113 or DR3alpha1
DR3alpha1 (Wip980113+binutils-2.8.1.0.18-1E + glibc*-0.961212-1Y
+ gcc*-2.7.2-2O)
See the update record for updating instructions.
-
Gcc Suite for C, C++, Objective C, and FORTRAN(+LibU77) Rebuilt Using G77-2.7.2-2O
under DR3alpha1 (Wip980113+binutils-2.8.1.0.18-1E + glibc*-0.961212-1Y
+ gcc*-2.7.2-2O)
Original gcc source codes extracted from gcc-2.7.2.1-2O.src.rpm
retrieved from ftp.linuxppc.org/linuxppc/redhat/SRPMS.
- gcc-2.7.2.tar.gz
This is actually identical to the previous one.
Original patch files also extracted from the same src.rpm:
- gcc-2.7.2-got_no_const.patch
- gcc-2.7.2-linux.diff.gz
- gcc-2.7.2-make.patch
- gcc-2.7.2-ppc_mcount.patch
- gcc-2.7.2-ppc.patch
- gcc-2.7.2-ppc_shared_libraries.patch
- gcc-2.7.2-ppc_varargs.patch
- gcc-2.7.2.objc.960906.diff
Among these patch files, the only one that is different from the one in
the previous version (gcc-2.7.2-2M.src.rpm) is
gcc-2.7.2-got_no_const.patch.
Original g77 source codes FTPed from ftp://ftp.u-aizu.ac.jp/pub/gnu/prep/
and original libU77 source codes from
ftp://ftp.u-aizu.ac.jp/pub/lang/fortran/libU77/
- g77-0.5.19.tar.gz
- g77-0.5.19-libu77-12.tar.gz
G77 patch files created by following the "f2c" examples:
- g77-0.5.19-glibc.patch
- g77-0.5.19-ppc.patch
- g77-0.5.19-ppc_shared.patch
Also prepared is a spec file to create RPM packages:
- gcc-2.7.2.fu.1.spec
which specifies the package building procedure.
- $ ls <somewhere>
- g77-0.5.19.tar.gz
- g77-0.5.19-glibc.patch
- g77-0.5.19-libu77-12.tar.gz
- g77-0.5.19-ppc.patch
- g77-0.5.19u-ppc_shared.patch
- gcc-2.7.2.fu.1.spec
- gcc-2.7.2.tar.gz
- gcc-2.7.2-got_no_const.patch
- gcc-2.7.2-linux.diff.gz
- gcc-2.7.2-make.patch
- gcc-2.7.2-ppc.patch
- gcc-2.7.2-ppc_mcount.patch
- gcc-2.7.2-ppc_shared_libraries.patch
- gcc-2.7.2-ppc_varargs.patch
- gcc-2.7.2.objc.960906.diff
- $ su
- # cd /usr/src/redhat/SOURCES
- # cp <somewhere>/g* .
- # cd ../SPECS
- # mv ../SOURCES/gcc-2.7.2.fu.1.spec .
- # rpm -ba --test gcc-2.7.2.fu.1.spec
- # rpm -ba --clean gcc-2.7.2.fu.1.spec
This creates RPM packages:
- # ls ../SRPMS/
- gcc-2.7.2.fu.1-2O.src.rpm
- # ls ../RPMS/ppc
- gcc-2.7.2.fu.1-2O.ppc.rpm
- gcc-c++-2.7.2.fu.1-2O.ppc.rpm
- gcc-g77-2.7.2.fu.1-2O.ppc.rpm
- gcc-objc-2.7.2.fu.1-2O.ppc.rpm
To install them do the following:
- # rpm -U <somewhre>/gcc*-2.7.2.fu.1-2O.ppc.rpm
Caution: This overwrites your existing gcc triplet
(C, C++, and Objective C) and might destroy your compiling environment.
As always install them at your own risk.
Note also that installation prerequires wip980112 or later.
Read this before installation.
Jan 19, 1998
The latest Japanized perl built with DR2.1update6 + shared lib.
Original SRPM from ftp://ftp.linux.or.jp/pub/RPM/ALL/
- perl-5.004_04jp971016-1.src.rpm
RPMS have been rebuilt to change the installation prefix from
/usr to /usr/local:
- perl-5.004_04jp971016-1A.ppc.rpm
- perl-5.004_04jp971016-1A.src.rpm
See this for details.
LaTeX2HTML-97.1
The latest LaTeX to HTML Converter.
Original from http://www-dsed.llnl.gov/files/programs/unix/latex2html/sources/latex2html-97.1.tar.gz
An RPM package is prepared:
- latex2html-97.1-2.ppc.rpm
See this for details.
Dec 21, 1997
jp-tkmail-4.0beta9-2C
The latest Japanized tkmail built with DR2.1update6 + shared lib.
A problem with the last version (2B) for mails having no subjects
has been fixed.
Updated RPM packages are:
- jp-tkmail-4.0beta9-2C.src.rpm
- jp-tkmail-4.0beta9-2C.ppc.rpm
which were created, following exactly the same step as with
the previous version.
To install the rpm package do the following:
- # rpm -i <somewhre>/jp-tkmail-4.0beta9-2C.ppc.rpm
You must have the DR2.1update4 shared library support to use this.
In addition, you must have jp-tcltk-7.6p2_4.2p2-1A installed:
- jp-tcltk-7.6p2_4.2p2-1A.ppc.rpm
See the installation notes here
for more detailed instructions.
Dec 18, 1997
Jp-ical-2.2-1
The latest version of Ical: a Calendar for X Written by
Sanjay Ghemawat, with Japanese enhancement
I have prepared a japanization patch and a spec file to build RPMs:
- jp-ical-2.2-1A.ppc.rpm
- jp-ical-2.2-1A.src.rpm
See this for details.
Dec 16, 1997
Jp-TkDesk-1.0b5-1A Revised
The latest version of TkDesk revised: the previous one has
a problem with the mail tool, since the mail header flashing
function is incompatible with Japanese extension:
It malfunctions when there is any mail in the
incoming mail box with Japanese characters in its header part.
If you have already install the previous binary package,
comment out the line defining tkdesk(appbar,mail,headers,cmd):
- # vi /usr/local/lib/TkDesk/configs/AppBar
- ...
- # set tkdesk(appbar,mail,headers,cmd) "mailx -H"
- ...
- # exit
- $ vi ~/.tkdesk/AppBar
- ...
- # set tkdesk(appbar,mail,headers,cmd) "mailx -H"
- ...
or use the revised RPMs:
- jp-TkDesk-1.0b5-1A.src.rpm
- jp-TkDesk-1.0b5-1A.ppc.rpm
See this for details.
Jp-tcltk-7.6p2_4.2p2-1A
Tcl/Tk Patch Level 2 with Japanese Extension.
TkDesk-1.0b4 had problem with color management when used with
tcl7.6p2/tk4.2p2.
TkDesk-1.0b5 is now compatible with patch level 2.
Try the following RPMS:
- jp-tcltk-7.6p2_4.2p2-1A.src.rpm
- jp-tcltk-7.6p2_4.2p2-1A.ppc.rpm
Netscape Communicator 4.04
Found the file retrieving dialog list directories and files
properly with the Nov. 26 version of the communicator.
See this for installation instructions.
Dec 12, 1997
Netscape Wrapper Revised
There was a problem with the pervious one:
preference windows never pop up.
Hopefully this version works better.
In order to use:
- netscape-4.04-wrapper.tar.gz
You need to preinstall kinput2-v2-fix4-beta2.
See this for installation instructions.
Dec 7, 1997
-
Gcc Suite for C, C++, Objective C, and FORTRAN(+LibU77) Rebuilt Using G77-2.7.2-2M
under DR2.1update6
Original gcc source codes extracted from gcc-2.7.2.1-2M.src.rpm
retrieved from ftp.linuxppc.org/linuxppc/redhat/SRPMS.
- gcc-2.7.2.tar.gz
This is actually identical to the previous one.
Original patch files also extracted from the same src.rpm:
- gcc-2.7.2-linux.diff.gz
- gcc-2.7.2-make.patch
- gcc-2.7.2-ppc_mcount.patch
- gcc-2.7.2-ppc.patch
- gcc-2.7.2-ppc_shared_libraries.patch
- gcc-2.7.2-ppc_varargs.patch
- gcc-2.7.2.objc.960906.diff
Among these patch files, the only one that is different from the one in
the DR2.1update4 version (gcc-2.7.2-2L.src.rpm) is
gcc-2.7.2-ppc_mcount.patch.
Original g77 source codes FTPed from ftp://ftp.u-aizu.ac.jp/pub/gnu/prep/
and original libU77 source codes from
ftp://ftp.u-aizu.ac.jp/pub/lang/fortran/libU77/
- g77-0.5.19.tar.gz
- g77-0.5.19-libu77-12.tar.gz
G77 patch files created by following the "f2c" examples:
- g77-0.5.19-glibc.patch
- g77-0.5.19-ppc.patch
- g77-0.5.19-ppc_shared.patch
Also prepared is a spec file to create RPM packages:
- gcc-2.7.2.fu.1.spec
which specifies the package building procedure.
- $ ls <somewhere>
- g77-0.5.19.tar.gz
- g77-0.5.19-glibc.patch
- g77-0.5.19-libu77-12.tar.gz
- g77-0.5.19-ppc.patch
- g77-0.5.19u-ppc_shared.patch
- gcc-2.7.2.fu.1.spec
- gcc-2.7.2.tar.gz
- gcc-2.7.2-linux.diff.gz
- gcc-2.7.2-make.patch
- gcc-2.7.2-ppc.patch
- gcc-2.7.2-ppc_mcount.patch
- gcc-2.7.2-ppc_shared_libraries.patch
- gcc-2.7.2-ppc_varargs.patch
- gcc-2.7.2.objc.960906.diff
- $ su
- # cd /usr/src/redhat/SOURCES
- # cp <somewhere>/g* .
- # cd ../SPECS
- # mv ../SOURCES/gcc-2.7.2.fu.1.spec .
- # rpm -ba --test gcc-2.7.2.fu.1.spec
- # rpm -ba gcc-2.7.2.fu.1.spec
This creates RPM packages:
- # ls ../SRPMS/
- gcc-2.7.2.fu.1-1C.src.rpm
- # ls ../RPMS/ppc
- gcc-2.7.2.fu.1-1C.ppc.rpm
- gcc-c++-2.7.2.fu.1-1C.ppc.rpm
- gcc-g77-2.7.2.fu.1-1C.ppc.rpm
- gcc-objc-2.7.2.fu.1-1C.ppc.rpm
To install them do the following:
- # rpm -U <somewhre>/gcc*-2.7.2.fu.1-1C.ppc.rpm
Caution: This overwrites your existing gcc triplet
(C, C++, and Objective C) and might destroy your compiling environment.
As always install them at your own risk.
Read this before installation.
Dec 6, 1997
Jp-TkDesk-1.0b5-1A
The latest version of TkDesk released just yesterday
with Japanese enhancement
I have prepared a japanization patch and a spec file to build RPMs:
- jp-TkDesk-1.0b5-1A.src.rpm
- jp-TkDesk-1.0b5-1A.ppc.rpm
See this for details.
Xmcd-2.2-1A
The latest version of an audio-CD player
I have prepared a mklinux patch and a spec file to build RPMs:
- xmcd-2.2-1A.src.rpm
- xmcd-2.2-1A.ppc.rpm
See this for details.
Binutils-2.7-1F
The latest version of binary utilities including ld, ar, as, nm,...
Original from ftp://ftp.linuxppc.org/linuxppc/redhat/RPMS/ppc/
- binutils-2.7-1F.ppc.rpm
Installed as:
- # rpm -U <somewhere>/binutils-2.7-1F.ppc.rpm
Glibc-*-1T
The latest version of GNU version of libc.
Original from ftp://ftp.linuxppc.org/linuxppc/redhat/RPMS/ppc/
- glibc-0.961212-1T.ppc.rpm
- glibc-devel-0.961212-1T.ppc.rpm
- glibc-info-0.961212-1T.ppc.rpm
- glibc-profile-0.961212-1T.ppc.rpm
- glibc-static-0.961212-1T.ppc.rpm
Installed as:
- # rpm -U <somewhere>/glibc-*
X11R6.3-*-1E
The latest version of X11R6.3
Original from ftp://ftp.linuxppc.org/linuxppc/redhat/RPMS/ppc/
- X11R6.3-01-1E.ppc.rpm
-
- X11R6.3-75dpi-fonts-01-1E.ppc.rpm
- X11R6.3-devel-01-1E.ppc.rpm
- X11R6.3-fonts-01-1E.ppc.rpm
- X11R6.3-libs-01-1E.ppc.rpm
- X11R6.3-man-01-1E.ppc.rpm
- X11R6.3-PMac-01-1E.ppc.rpm
Installed as:
- # rpm -U <somewhere>/X11R6.3-*
before starting X. Then I could "startx".
I had to recustomize fonts.alias in
/usr/lib/X11/fonts/75dpi and /usr/lib/X11/fonts/misc:
- # cd /usr/lib/X11/fonts/75dpi
- # cat <somewhere>/fonts.alias.75dpi.added >> fonts.alias
- # cd ../misc
- # mkfontdir
- # cat <somewhere>/fonts.alias.misc.added >> fonts.alias
- # exit
- $ xset fp rehash
I also had to replace libXaw.so.6.1 to use libXaw3d instead.
Dec 1, 1997
Kinput2-v2-fix4-beta2 for Canna and Wnn (Shared)
The latest beta of a kanji input server now available as RPM's.
Thanks to Yamaguchi at Univ. of Tokyo.
This shared version is now compatible with Wnn!
It is also compatible with netscpae. You can now use
Japanese on buttons and pull-down bookmarks.
See this for details.
New Netscape Wrapper
A netscape wrapper to enable Java and the use of Japanese
on buttons and pull-down bookmarks.
In order to use:
- netscape-4.04-wrapper.tar.gz
You need to preinstall kinput2-v2-fix4-beta2.
See this for installation instructions.
Nov 30, 1997
Kinput2-v2-fix4-beta2 for Canna and Wnn (Shared)
The latest beta of a kanji input server:
This shared version is now compatible with Wnn!
See this for how I built the binary executable.
A precompiled binary package (tar ball) is available as
kinput2-v2-fix4-beta2-bin.tar.gz
but you may want to wait for an RPM which will be soon available from
Yamaguchi's site in Univ. of Tokyo.
Nov 27, 1997
Ghostscript-5.10jp-1A
The latest version of PS interpreter as RPM packages
A spec file:
- ghostscript-5.10jp-1.spec
has been prepared to build RPM packages for gs5.10+vflib.
The SRPM and RPM created with it are available as:
- ghostscript-5.10jp-1A.ppc.rpm
- ghostscript-5.10jp-1A.src.rpm
See this for installation instructions.
Gimp-0.99.15-1B
GIMP: The lates version of GNU/Generalized Image Manipulation Program
rebuilt, since the previous release had some problem with plug-ins.
See this for building
and installation instructions.
Nov 26, 1997
Ghostscript 5.10 + VFlib2.22 Patch
The latest version of PS interpreter
Original source code from ftp://ftp.cs.wisc.edu/ghost/aladdin/
- ghostscript-5.10.tar.gz
- ghostscript-5.10gnu.tar.gz
- ghostscript-fonts-other-5.10.tar.gz
- ghostscript-fonts-std-5.10.tar.gz
Official JP-patch by Tanaka from http://ldl-www.jaist.ac.jp:8080/~akr/nonresearch/free-software/ghostscript/:
- gs5.10-vflib.tar.gz
The Jpeg-6a source code:
- jpegsrc.v6a.tar.gz
the libpng-0.96 source code:
- libpng-0.96.tar.gz
and the zlib-1.0.4 source code:
- zlib-1.0.4.tar.gz
To build gs:
- $ ls orig
- ghostscript-5.10.tar.gz
- ghostscript-5.10gnu.tar.gz
- ghostscript-fonts-other-5.10.tar.gz
- ghostscript-fonts-std-5.10.tar.gz
- gs5.10-vflib.tar.gz
- jpegsrc.v6a.tar.gz
- libpng-0.96.tar.gz
- zlib-1.0.4.tar.gz
- $ tar -zxvf orig/ghostscript-5.10.tar.gz
- $ tar -zxvf orig/ghostscript-5.10gnu.tar.gz
- $ tar -zxvf orig/gs5.10-vflib.tar.gz
- $ patch -p < gs5.10-vflib/gs5.10-vflib.diff
- $ cd gs5.10
- $ tar -zxvf ../orig/jpegsrc.v6a.tar.gz
- $ tar -zxvf ../orig/libpng-0.96.tar.gz
- $ mv libpng-0.96 libpng
- $ tar -zxvf ../orig/zlib-1.0.4.tar.gz
- $ mv zlib-1.0.4 zlib
- $ vi gcc-head.mak
- .....
- XINCLUDE=-I/usr/X11/include
- .....
- XLIBS=Xt Xext X11 SM ICE VFlib
- .....
- $ tar_cat
- $ ln -s unix-gcc.mak makefile
- $ make >& make.log &
- $ tail -f make.log
- .....
- ^C
- $ su
- # make install >& install.log &
- # tail -f install.log
- .....
- ^C
I have created a precompiled binary package without
the GS fonts which you might already have at hand: fonts are
identical to those for v4.03 or v5.03.
To install the ready-made binary:
- # cd /
- # tar -zxvf <somewhere>/gs5.10-vflib-bin.tar.gz
and if you don't have fonts
- # cd /usr/local/share/ghostscript
- # tar -zxvf <somewhere>/ghostscript-fonts-other-5.10.tar.gz
- # tar -zxvf <somewhere>/ghostscript-fonts-std-5.10.tar.gz
Notice that the binary requires the standard shared library support coming
with update4 or greater.
You also have to preinstall "VFlib" to display
Japanese text. Get Uchiyama's "VFlib" and install it as:
- # cd /
- # tar -zxvf <somewhere>/VFlib2.22pl9.bin.+zeit_font.tar.gz
Nov 14, 1997
-
XmTextField Errors have gone!
Nobuhiro Murata pointed out in (mklinux-jp 5926) that the
XmTextField errors have gone with the recently retrieved
binary package with a file size of 5588717 bytes.
See this for installation instructions.
The remaining problem is that I cannot set the Japanese fontList resource
to display Japanese bookmarks.
Nov 13, 1997
DR2.1 Update6
The latest update to DR2.1
The READEME file of the update emphasizes:
- improved serial support
though the audio support sounds more like a fun
for a NuBus Mac user like me.
To use the audio device, create device files by
- $ su
- # cd /dev
- # ./MAKEDEV audio
- # exit
- $ ls au*
- /dev/audio /dev/audio1
Then you can try something like:
- $ cat <somewhere>/foobar.au > /dev/audio
If you are using TkDesk, try its sound option, too.
See the update note for details.
Nov 12, 1997
-
What a wonderful surprise! Now, we can run the netscape on MkLinux boxes.
See this for installation instructions.
The biggest problem right now is that I cannot retrieve any file
with the navigator because of Motif's XmTextField errors.
Nevertheless, it's a great news!
Texinfo-3.11
The lates version of GNU Info and Makeinfo
This was necessary to build the GIMP below.
Original SRPM obtained from:
- http://SunSITE.sut.ac.jp/pub/archives/linux/distributions/redhat/contrib/SRPMS/
- texinfo-3.11-1.src.rpm
and rebuild as:
- # rpm -i texinfo-3.11-1.src.rpm
- # cd /usr/src/redhat/SPECS
- # vi texinfo-3.11.spec
- ....
- # rpm -ba --clean texinfo-3.11.spec
- # ls ../SRPMS
- texinfo-3.11-1A.src.rpm
- # ls ../RPMS/ppc
- texinfo-3.11-1A.ppc.rpm
- info-3.11-1A.ppc.rpm
Gimp-0.99.15
GIMP: The lates version of GNU/Generalized Image Manipulation Program
See this for building
and installation instructions.
Nov 8, 1997
ftp site
As I promised long time ago, I have finally set up an
anonymous ftp site at:
- ftp://www-jlc.kek.jp/pub/mklinux/Packages/dr2.1/shared/
At this moment, the ftp site only carries frequently accessed files
including jp-tcltk, jp-tkdesk, g77, amd, nfs, ....
The organization of the directory structure is a temporary one.
It might change in future. Be careful!
Oct 31, 1997
Man and Info Files for G77
Matsumura at Osaka Univ. pointed out that
man and info files for g77 had been missing in the RPMS.
As a temporary cure, I prepared them as a tar ball
(g77-info.tar.gz).
Sorry for inconveniece. I will include them in the next release
for sure.
Oct 28, 1997
wip971027
Beta-test version of a tentative fix for the inode exhaustion problem
that was reported with DR2u5. The symptom for this
bug is a lot of "VFS: no free inodes - contact Linus" messages and
a system that's nearly completely frozen.
Though I haven't experienced the inode exhaustion problem,
the last phrase above was enough to motivate me to install the
new Kernel-Pager-Vmlinux triplet from ftp://ftp.mklinux.apple.com/pub/wip/971027/:
- default_pager.gz
- Mach_Kernel.gz
- vmlinux.gz
It's working OK on my MkLinux box.
Read the official README before installation.
Oct 26, 1997
Ascii-Ptex215 and Its Family (Shared)
The latest ascii-ptex and its family.
Binary packages obtained from Uchiyama's FTP site:
- ascii-ptex215.970831.bin.tar.gz
- VFlib2.22pl9.bin.+zeit_font.tar.gz
which were installed as follows:
- # tar -zxpvf <somewhere>/ascii-ptex215.970831.bin.tar.gz -C /
- # tar -zxpvf <somewhere>/VFlib2.22pl9.bin.+zeit_font.tar.gz -C /
- # cd /usr/local/share/texmf
- # chmod a+w .
- # cd fonts
- # mkdir -p pk/ljfour
- # mkdir -p pk/cx
- # chmod a+w pk/*
- # mkdir -p tfm/ams
- # chmod a+w tfm/ams
- # cd source
- # mkdir ams
- # cd ams
- # ncftp ftp.u-aizu.ac.jp
- u-aizu> cd pub/tex/CTAN/fonts/amsfonts/sources
- u-aizu> get -R *
- u-aizu> bye
- # /usr/local/bin/MakeTeXls-R
In order to activate selective printing, I had to rebuild xdvi.
Necessary source files include:
- ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-20/xdvik-20a.tar.gz
- ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-20/xdvik20a-j1.1p9.patch.gz
- ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/misc/src/SeeTeX-2.18.5.tar.gz
- ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/misc/src/SeeTeX-2.18.5-2.18.5J
- ftp://ftp.u-aizu.ac.jp/pub/net/WWW/ftp.w3.org/libwww/w3c-libwww-5.1b.tar.gz
Now let's first make w3c-libwww:
- $ cd /usr/local/src
- $ tar -zxvf <somewhere>/w3c-libwww-5.1b.tar.gz
- $ cd w3c-libwww-5.1b
- $ ./configure
- $ make CPPFLAGS='-DDST_USA=2'
- $ su
- # make install
then move on to xdvi itself:
- $ cd ..
- $ tar -zxvf <somewhere>/xdvik-20a.tar.gz
- $ cd xdvik-20a/xdvik
- $ patch -s -p0 < <somewhere>/xdvik20a-j1.1p9.patch
- $ vi config.h
- ...
- #define DVIPS
- /* Print-out command templates */
- ....
- /* DVI filter command string */
- /* translation file from xdvi paper type into dvi filter paper size option */
- #ifdef DVIPS
- #define DVIFILTERCMD "dvips -q -f -t %Z"
- ....
- $ cd ..
- $ CPPFLAGS='-I/usr/local/src/w3c-libwww-5.1b/Library/src/' sh configure
- $ make XCFLAGS='-DBDPI=300 -DSHRINK=\"4\"' x_ext_lib='-lXext'
- $ su
- # cd xdvik
- # make install
The rest is the installation of dviselect which is necessary to
allow selective printing:
- $ cd /usr/local/src
- $ tar -zxvf <somewhere>/SeeTeX-2.18.5.tar.gz
- $ cd SeeTeX/
- $ patch -s -p1 < <somewhere>/SeeTeX-2.18.5-2.18.5J
- $ vi Imake.Config
- ...
- TEX_BINDIR = /usr/local/bin
- TEX_MANDIR = /usr/local/man/man1
- ...
- $ xmkmf
- $ make Makefiles
- $ cd libtex
- $ vi error.c
- ...
- #ifndef PPC
- extern char *sys_errlist[]; /* table of error number => string */
- #endif
- ...
- $ make
- $ cd ../Dviselect
- $ make
- $ su
- # make install install.man
Installation of Precompiled Binary Packages
A binary package including above modifications is
here.
Using this extra binary package, installation is simple:
- # tar -zxpvf <somewhere>/VFlib2.22pl9.bin.+zeit_font.tar.gz -C /
- # tar -zxpvf <somewhere>/ascii-ptex215.970831.bin.tar.gz -C /
- # tar -zxpvf <somewhere>/ascii-ptex215.extra.bin.tar.gz -C /
- # chmod a+w /usr/local/share/texmf
- # /usr/local/bin/MakeTeXls-R
Make sure hat /usr/local/share/texmf/fonts/pk/* and
/usr/local/share/texmf/fonts/tfm/ams are writable to
tex users.
In order to use color and epsfig, you may want to do:
- # cd /usr/local/share/texmf/tex/latex/packages/graphics
- # tex -ini graphics.ins
- # /usr/local/bin/MakeTeXls-R
in addition. Note that MakeTeXls-R updates the list of files
in the texmf directory and facilitates kpathsea file search
mechanism.
CERNLIB-97a
I have got the following message from CERN:
Hello,
Yes we have received your previous messages and would
like to thank you for your efforts.
We will try to take your corrections as soon as possible
but unfortunately we are at the moment quite busy with
our new release; more than this, next week our program
librarian will be on holidays.
Best regards
Lysiane Besson/Program Library
Hopefully, MkLinux will become an officially supported
platform!
Oct 24, 1997
jp-tkmail-4.0beta9-2B
The latest Japanized tkmail built with DR2.1update5 + shared lib.
A message forwarding problem with the last version (2A) has been fixed.
Updated RPM packages are:
- jp-tkmail-4.0beta9-2B.src.rpm
- jp-tkmail-4.0beta9-2B.ppc.rpm
which were created, following exactly the same step as with
the previous version.
To install the rpm package do the following:
- # rpm -i <somewhre>/jp-tkmail-4.0beta9-2B.ppc.rpm
You must have the DR2.1update5 shared library support to use this.
In addition, you must have jp-tcltk-7.6_4.2-1B installed:
- jp-tcltk-7.6_4.2-1B.ppc.rpm
See the installation notes here
for more detailed instructions.
Oct 22, 1997
DR2.1 Update 5
The latest update to DR2.1
Since I have just increased my ram to 104MB, this
new update is a good news. Now I can see the full
ram space from MkLinux.
With the enhanced ram and this new update, hotjava
works fine on my MkLinux box (8115/110).
See the update notes for details.
Oct 15, 1997
MkLinux Port of CERNLIB 97a Shipped to CERN
I have sent the modifications I made to port CERNLIB to MkLinx
to the CERN Computing Division, so that hopefully the next
release would officially support MkLinux.
G77 Optimization Problem
As announced on Oct.12 below, I have found another optimization
problem with g77-0.5.19.
The problem lies in the optimization of any routine
containing complex statement functions and can be
reproduced by the following simple example:
- complex x, y, a, b, add
- add(a,b) = a + b
- x = (1.,0.)
- y = (0.,1.)
- print *, 'x = ', x
- print *, 'y = ', y
- print *, 'add(x,y) = ', add(x,y)
- print *, 'x + y = ', x + y
- end
"add(x,y)" and "x + y" give the same answer with "-O0" but
the formar yield an erroneous result with, for example,
"-O1". There is no problem with the same kind of code
handling real or double precision real numbers.
Lesson
You should avoid the use of complex statement functions.
Otherwise, you should compile those routines that use
complex statement functions with "-O0".
Oct 12, 1997
CERNLIB 97a Update
I found most of routines handling complex
numbers in packlib/kernlib malfunction, which was another
optimization problem with g77.
Since this is a g77 problem, I would suspect that
the same problem could be there in the Linux
binary distribution from CERN as well.
I have rebuilt libpacklib.a and libkernlib.a,
recompiling those problematic complex routines
with FDEBUGFLAGS=-O0.
For safety, I have also rebuilt any
program in /cern/97a/bin, if it depends on
libpacklib.a or libkernlib.a.
Although problems should not be there as long as
you are only using paw, it is strongly recommended
to update both 97a/bin and 97a/lib.
If you are a cernlib licensee and are interested
in using it on a MkLinux box, contact me in person.
Oct 9, 1997
A CERNLIB 97a Patch
Make test failed for mclibs/jetset, which was another
optimization problem with g77.
I have recompiled jetset with FDEBUGFLAGS=-O0 and replaced
libjetset74.a.
A patch to the previous 97a/lib is available.
If you need one, contact me in person.
Oct 7, 1997
Japanization of the Java Based WWW Browser by SUN
As described in the Sep. 27 notes,
HotJava was too slow to be acceptable on my MkLinux box
(8115/110), which has only 40MB RAM.
Since I got a chance to test HotJava on another MkLinux
box (9500/132 with 96MB RAM), I decided to test the
Japanization prescription reported by Kaoru Fukui
in the MkLinux-JP
mailing list (mklinux-jp 5451).
Prerequisites
For my PowerMac 8115/110 (ppc601/nubus), the following
combination worked:
- Booter: v.1.1.1 (DR2.1)
- Mach Kernel: (wip970926)
- vmlinux: (wip970926)
On the other hand, this combination did not work
for the 9500/132 (ppc604/pci bus).
A valid combination for the 9500 was
- Booter: v.1.2.5 (wip970922)
- Mach Kernel: (wip970926)
- vmlinux: (wip970926)
This new combination also worked for 8115/110.
Then you have to install jdk1.1.3 and HotJava 1.1beta2.
See Aug. 15
and Sep. 27 below
for installation instructions.
At this point you should be able to use HotJava for
English pages. In order to make it display Japanese
pages, more work is necessary:
Get jdk1.1.1-locale.tar.gz
which is available from
- http://www.asahi-net.or.jp/~nf6h-hsmt/java.html
and do the following:
- $ cd /usr/local/src
- $ tar -zxvf <somewhere>/jdk1.1.1-locale.tar.gz
- $ cd jdk1.1.1-locale
- $ vi Makefile
- .....
- CFLAGS= -O -fpic
-
- JAVA_HOME=/usr/local/jdk1.1.3
- .....
- install:
- install -m 755 $(SONAME) $(JAVA_HOME)/lib/ppc/green_threads/$(SONAME)
- install -m 755 $(WRAPPER) $(JAVA_HOME)/bin/.java_wrapper
- # install -m 644 $(FONTPROP) $(JAVA_HOME)/lib/$(FONTPROP)
- .....
- $ mv java_wrapper java_wrapper.ORIG
- $ cp /usr/local/jdk1.1.3/bin/.java_wrapper java_wrapper
- $ vi java_wrapper
- ....
- LD_LIBRARY_PATH="$JAVA_HOME/lib/${ARCH}/$THREADS_TYPE:$LD_LIBRARY_PATH"
- export LD_LIBRARY_PATH
-
- LD_PRELOAD="$JAVA_HOME/lib/${ARCH}/$THREADS_TYPE/liblocale.so"
- export LD_PRELOAD
- ....
- $ make
- $ su
- # make install
This will install liblocale.so into /usr/local/jdk1.1.3/lib/green_threads/
and .java_wrapper into /usr/local/jdk1.1.3/bin.
Notice that the font.properties.ja was intentionally omitted from
the installation, since the fall back Japanese font used when
the ones described in the default font.properties.ja
are not found is much
better than that used when the font.properties.ja
coming with the japanization kit was installed.
The essential point of this japanization is to force HotJava
to use the setlocale function (which is actually _Xsetlocale) in
liblocale.so instead of that in /lib/libc.so.6 which is
incapable of handling two-byte character locales:
The above LD_PRELOAD setting in .java_wrapper forces java
to load setlocale in liblocale.so first thing in the loading.
To use the japanized hotjava
- $ export LANG=ja_JP.eucJP
- $ export JDK_HOME=/usr/local/jdk1.1.3
- $ hotjava
Modified jdk1.1.1-locale is available as
jdk1.1.3-locale.tar.gz.
Oct 4, 1997
CERNLIB 97a
A set of libraries and analysis tools for high energy physics
CERNLIB 9a is now fully ported to MkLinux!
The ported packages include
- PACKLIB
- GRAFLIB
- MATHLIB
- PAWLIB
- GEANT321
- MCLIBS
- PHTOOLS
which are essentially equivalent to the standard LINUX
binary distribution.
You can now use PAW (or DIS45 if you like) on your MkLinux box
as well as GEANT321 and MC event generators such as JETSET,
PYTHIA, etc. PAW and DIS45 seem functioning well on my MkLinux
machine, but the rest (GEANT, MCLIBS, ...) is subject to further
tests. I welcome volunteers.
Since PowerMacs are big-endian, the binary data are HP-UX compatible,
which is very convenient to HP-UX users.
Note Added
CERNLIB is not a freely distributable software. You need to
acquire a lisence to access the software archive at CERN.
See this
and links from it.
Those who are interested in introducing the CERNLIB to your MkLinux
box, contact me in person via e-mail (fujiik@jlcuxf.kek.jp).
The full binary package consists of three parts:
- 97a-bin.tar.gz ( 5MB) ---> 97a/bin (13MB)
- 97a-lib.tar.gz (17MB) ---> 97a/lib (51MB)
- 97a-share.tar.gz (13MB) ---> 97a/share (45MB)
and took me 13 hours to compile on my MkLinux box (8115/110)!
xdvik-18f + xdvik18f-j1.1p14.patch + shared
xdvik18f with the latest JP patch
The previous binary package had not been configured correctly
in terms of printer setting. In addition, it was incapable of
handling color specials. The new patch p14 now allows the use
of "color.sty".
Original source and patch files from ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/xdvik-18/
- xdvik-18f.tar.gz
- xdvik18f-j1.1p14.patch.gz
The xdvi progam was built and installed as
- $ cd /usr/local/src/xdvi
- $ tar -zxvf /net/jlcuxf/mnt/jlcdsk0/jlc/local/src/xdvi/xdvi-18/orig/xdvik-18f.tar.gz
- $ cd xdvik-18f/xdvik/
- $ patch -p1 < /net/jlcuxf/mnt/jlcdsk0/jlc/local/src/xdvi/xdvi-18/orig/xdvik18f-j1.1p14.patch
- $ vi config.h
- ...
- #define DVIPS
- ...
- /* all pages of DVI file */
- #define PRCMDALL "cd %d; dvips -f -q %F | %P"
- /* the current page */
- #define PRCMDCUR "cd %d; dvips -f -q -p=%c -l=%c %F | %P"
- /* the lastly marked page */
- #define PRCMDMRK "cd %d; dvips -f -q -p=%m -l=%m %F | %P"
- /* pages in the region, between the current page and the lastly marked page */
- #define PRCMDRGN "cd %d; dvips -f -q -p=%s -l=%e %F | %P"
- /* all marked pages */
- #define PRCMDLST "cd %d; dvips -f -q -pp %o %F | %P"
- ...
- $ vi sfSelFile.c
- ...
- extern int sys_nerr;
- #if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(PPC)
- extern char *sys_errlist[];
- #endif
- ...
- $ cd ..
- $ ./configure
- $ make
- $ cd xdvik
- $ su
- # make install
The precompiled binary package xdvik-18f-bin.tar.gz
requires shared libraries coming with DR2.1update4.
The patched source file is here.
Oct 1, 1997
-
The latest Japanized tkmail built with DR2.1update4 + shared lib.
Original tkmail source code and a patch from ftp://ftp.slac.stanford.edu/software/TkMail/BETA/
- tkmail-4.0beta9.tar.gz
- tkmail-4.0beta9.BUGFIX
A japanization patch file:
- tkmail-4.0beta9p1-jp0.2.patch
was created to allow Japanese text composition with kinput2 and
iso-2022-jp mime code handling. This version fixes the misalignment of
sender names in the list window, when they contain kanji characters
with some single byte characters interleaved.
Also prepared is a MkLinux patch:
- tkmail-4.0beta9jp-mklinux.patch
to compile this on a MkLinux box.
The following spec file
- jp-tkmail-4.0beta9-2.spec
specifies the package building procedure:
- # cd /usr/src/redhat/SOURCES
- # ls
- tkmail-4.0beta9.BUGFIX
- tkmail-4.0beta9.tar.gz
- tkmail-4.0beta9jp-mklinux.patch
- tkmail-4.0beta9p1-jp0.1.patch
- tkmail-bitmaps.tar.gz
- # cd ../SPECS
- # ls
- jp-tkmail-4.0beta9-1.spec
- # rpm -ba >& rpm.ba.tkmail.log &
- # tail -f rpm.ba.tkmail.log
This creates RPM packages:
- # ls ../SRPMS/
- jp-tkmail-4.0beta9-2A.src.rpm
- # ls ../RPMS/ppc
- jp-tkmail-4.0beta9-2A.ppc.rpm
To install the rpm package do the following:
- # rpm -i <somewhre>/jp-tkmail-4.0beta9-2A.ppc.rpm
You must have the DR2.1update4 shared library support to use this.
In addition, you must have jp-tcltk-7.6_4.2-1B installed:
- jp-tcltk-7.6_4.2-1B.ppc.rpm
See the installation notes here
for more detailed instructions.
jp-xhfs-2.0-1A
The Japanized xhfs utility with DR2.1update4 + shared lib.
Original source code and patch files extracted from ftp://ftp.cc.miyazaki-u.ac.jp/pub1/Mac-UNIX/MkLinux/MkLinux_DR2.1/Updates/DR2.1update3/SRPMS/hfsutils-2.0-1B.src.rpm
- hfsutils-2.0.tar.gz
- hfsutils-2.0-shared.patch
A japanization patch file:
- hfsutils-2.0-jp.patch
was created to handle Mac file names with kanji characters.
Notice that only the tcl part of hfsutils is to be built with this
spec file and that it is installed in /usr/local/bin instead of
/usr/bin so as not to overwrite the working hfsutils coming with
the original DR2.1update3-shared package.
The following spec file
- jp-xhfs-2.0-1.spec
specifies the package building procedure:
- # cd /usr/src/redhat/SOURCES
- # ls
- hfsutils-2.0-jp.patch
- hfsutils-2.0-shared.patch
- hfsutils-2.0.tar.gz
- # cd ../SPECS
- # ls
- jp-xhfs-2.0-1.spec
- # rpm -ba >& rpm.ba.tkmail.log &
- # tail -f rpm.ba.tkmail.log
This creates RPM packages:
- # ls ../SRPMS/
- jp-xhfs-2.0-1A.src.rpm
- # ls ../RPMS/ppc
- jp-xhfs-2.0-1A.ppc.rpm
To install the rpm package do the following:
- # rpm -i <somewhre>/jp-xhfs-2.0-1A.ppc.rpm
You must have the DR2.1update4 shared library support to use this.
In addition, you must have jp-tcltk-7.6_4.2-1B installed:
- jp-tcltk-7.6_4.2-1B.ppc.rpm
Caution:
As discussed in the mklinux-jp mailing list, the japanization is
incomplete: it cannot treat file names containing non-ascii
single byte characters.
See the installation notes here
for more detailed instructions.
Sep 27, 1997
A new Mach_Kernel/vmlinux combo:
Its README reads:
This kernel/server combo fixes problems with booting on NuBus platforms
that were present in the 970922 WIP kernel. Also included are some I/O
performance improvements.
Presumably, this should solve the stability problems of JDK1.13
under MkLinux for all CPU's! Though I can't test it, PCI-Mac
users should now be able to enjoy Java and HotJava.
Original from: ftp://ftp.mklinux.apple.com/pub/wip/970926/
- Mach_Kernel.gz
- vmlinux.gz
Notes:
Since I have already installed a version of vmlinux for
JDK (see Sep. 18 below), this new update
did not bring any noticeable difference to my MkLinux box.
If you haven't, however, you will find your JDK work significantly
better with this update. You can try, in particular, HotJava
with this update and JDK 1.13 as follows.
A Java Based WWW Browser by SUN
Original from: http://business.tyler.wm.edu/mklinux/
- hotjava1.1beta2.tgz
To Install the package, you must have JDK 1.13 preinstalled.
For this see Aug. 15 below.
Once you have one, then proceed to the following:
- $ su
- # tar -zxvf <somewhere>/hotjava1.1beta2.tgz -C /usr/local
- # exit
In order to start hotjava, first make sure that
java related environment variables such as
CLASSPATH, JAVA_HOME, LD_LIBRARY_PATH, etc are unset.
Then do
- $ export JDK_HOME=/usr/local/jdk1.1.3
- $ /usr/local/HotJava1.1/bin/hotjava
Enjoy!
Notes Added:
Before using this packages, you should read and accept the
Sun HotJava License Agreement.
Notice also that this requires a lot of memory
(at least 32MB for acceptable performance).
On my MkLinux box, which has only 40MB, the performance
is very poor (too slow to be acceptable).
Nevertheless, it understands most of HTML tags and,
above all, it is java-enabled!
I decided to expand the memory of my MkLinux box. Why not?
I haven't succeeded in displaying Japanese pages yet.
It should not be too difficult, but it is almost impossible
to work on this problem with my present memory resource.
Sep 26, 1997
jp-tkmail-4.0beta9-1A: A Bug Fixed
16:00:
The jp-tkmail-4.0beta9 RPM released yesterday has been withdrawn
because of a major problem: it core dumps when sending a message.
I'm trying to fix it now. Sorry for inconvenience.
18:00:
Bug fixed. Released again.
To install the rpm package do the following:
- # rpm -i <somewhre>/jp-tkmail-4.0beta9-1A.ppc.rpm
You must have the DR2.1update4 shared library support to use this.
In addition, you must have jp-tcltk-7.6_4.2-1B installed:
- jp-tcltk-7.6_4.2-1B.ppc.rpm
See the installation notes here
for more detailed instructions.
The corresponding SRPM is also available
- jp-tkmail-4.0beta9-1A.src.rpm
Sep 24, 1997
jp-tkmail-4.0beta9-1A
The latest Japanized tkmail built with DR2.1update4 + shared lib.
Original tkmail source code and a patch from ftp://ftp.slac.stanford.edu/software/TkMail/BETA/
- tkmail-4.0beta9.tar.gz
- tkmail-4.0beta9.BUGFIX
A japanization patch file:
- tkmail-4.0beta9p1-jp0.1.patch
was created to allow Japanese text composition with kinput2 and
iso-2022-jp mime code handling.
Also prepared is a MkLinux patch:
- tkmail-4.0beta9jp-mklinux.patch
to compile this on a MkLinux box.
The following spec file
- jp-tkmail-4.0beta9-1.spec
specifies the package building procedure:
- # cd /usr/src/redhat/SOURCES
- # ls
- tkmail-4.0beta9.BUGFIX
- tkmail-4.0beta9.tar.gz
- tkmail-4.0beta9jp-mklinux.patch
- tkmail-4.0beta9p1-jp0.1.patch
- tkmail-bitmaps.tar.gz
- # cd ../SPECS
- # ls
- jp-tkmail-4.0beta9-1.spec
- # rpm -ba >& rpm.ba.tkmail.log &
- # tail -f rpm.ba.tkmail.log
This creates RPM packages:
- # ls ../SRPMS/
- jp-tkmail-4.0beta9-1A.src.rpm
- # ls ../RPMS/ppc
- jp-tkmail-4.0beta9-1A.ppc.rpm
To install the rpm package do the following:
- # rpm -i <somewhre>/jp-tkmail-4.0beta9-1A.ppc.rpm
You must have the DR2.1update4 shared library support to use this.
In addition, you must have jp-tcltk-7.6_4.2-1B installed:
- jp-tcltk-7.6_4.2-1B.ppc.rpm
See the installation notes here
for more detailed instructions.
Sep 18, 1997
Vmlinux for JDK1.13
A version of "vmlinux" for JDK1.13 that fixes stability problem
on MkLinux (PPC 601 only)
Original from: http://business.tyler.wm.edu/mklinux/
- vmlinux.gz
Saved this in /usr/src/update4-jdk and updated "vmlinux" as
- $ su
- # cd /mach_servers
- # cp vmlinux vmlinux.DR2.1update4
- # cd /usr/src/update4-jdk
- # ls
- vmlinux.gz
- # gunzip vmlinux.gz
- # chmod a+x vmlinux
- # cp vmlinux /mach_servers/.
- # /sbin/shutdown -r now
Metrowerks JIT for JDK1.13
Metrowerks Just In Time compiler for MkLinux
Original from: http://business.tyler.wm.edu/mklinux/
- mwjit_bin-970916.tgz
Saved this in /usr/local/src/jdk and did
- $ cd /usr/local/src/jdk
- $ su
- # tar -zxvf mwjit_bin-970916.tgz
- # cd mwjit.bin-970916
- # ls
- README libmwjit-970916.so libmwjit-970916_g.so
- # more README
- # mv lib* /usr/local/jdk1.1.3/lib/ppc/green_threads/
- # exit
Now you can test it like
- $ export JDK_HOME=/usr/local/jdk1.1.3
- $ export JAVA_COMPILER=mwjit-970916
- $ /usr/local/jdk1.1.3/bin/appletviewer foo.html
where foo.html contains some java applet.
See here for details of the JDK installation.
Sep 13, 1997
The latest Japanized perl built with DR2.1update4 + shared lib.
Original SRPM from ftp://ftp.linux.or.jp/pub/RPM/ALL/
- perl-5.004_02jp-1.src.rpm
RPM packages were rebuit as:
- # rmp -i perl-5.004_02jp-1.src.rpm
- # cd /usr/src/redhat/SPECS
- # vi perl-5.004_02jp-1.spec
- ....
- Release: 1A
- Installation destination modified to /usr/local
- ....
- # vi ../SOURCES/config.over.patch
- ....
- +installprefix=/var/tmp/Perl/usr/local
- ....
- # rpm -ba perl-5.004_02jp-1.spec
- # ls ../SRPMS
- perl-5.004_02jp-1A.src.rpm
- # ls ../RPMS/ppc
- perl-5.004_02jp-1A.ppc.rpm
Less-332_iso221-2A
Japanized less rebuilt with DR2.1update4 + shared lib.
Original SRPM from ftp://ftp.linux.or.jp/pub/RPM/ALL/
- less-332_iso221-2.src.rpm
RPM packages were rebuit as:
- # rmp -i less-332_iso221-2.src.rpm
- # cd /usr/src/redhat/SPECS
- # vi less-332_iso221.spec
- ....
- Release: 1A
- Installation destination modified to /usr/local
- ....
- # rpm -ba less-332_iso221.spec
- # ls ../SRPMS
- less-332_iso221-2A.src.rpm
- # ls ../RPMS/ppc
- less-332_iso221-2A.ppc.rpm
nkf-1.62p5-1A
Network kanji code conversion filter rebuilt with DR2.1update4 + shared lib.
Original SRPM from ftp://ftp.linux.or.jp/pub/RPM/ALL/
- nkf-1.62p5-1.src.rpm
RPM packages were rebuit as:
- # rmp -i nkf-1.62p5-1.src.rpm
- # cd /usr/src/redhat/SPECS
- # vi nkf-1.62p5.spec
- ....
- Release: 1A
- Installation destination modified to /usr/local
- ....
- # rpm -ba nkf-1.62p5.spec
- # ls ../SRPMS
- nkf-1.62p5-1A.src.rpm
- # ls ../RPMS/ppc
- nkf-1.62p5-1A.ppc.rpm
Sep 9, 1997
Ispell-3.1.20-2A
Spell checker rebuilt with DR2.1update4+shared.
Original SRPM from ftp://ftp.ccex.miyazaki-u.ac.jp/pub/mkarchive/text/
- ispell-3.1.20-2.src.rpm
RPM packages were rebuit as:
- # rmp -i ispell-3.1.20-2.src.rpm
- # cd /usr/src/redhat/SPECS
- # vi ispell-3.1.20.spec
- ....
- Release: 2A
- ....
- # rpm -ba ispell-3.1.20.spec
- # ls ../SRPMS
- ispell-3.1.20-2A.src.rpm
- # ls ../RPMS/ppc
- ispell-3.1.20-2A.ppc.rpm
Sep 1, 1997
Have Been Porting My Physics Programs to MkLinux
Now basically all of my JLC-physics-related programs are
working on MkLinux. These include:
- LCLIB: JLC Utility Programs
bases5.1: Monte Carlo Integration Package by S.Kawabata
helasv204: Helicity Amplitude Subroutine Package by H.Murayama, et al.
lund73: Parton Shower Program by LUND Group and Its Interface to
- Full Analysis System (FULL)
tauola: Tau Decay Simulator by Was et al and Its Interface to FULL
simjlc: JLC Quick Detector Simulator
tbs: Bank System
fortlib: Fortran Program Library for JLC Analysis
cli/com: Command Line Interpreter and Command Parser
genutil: Utitlity Programs for Event Generators
lcfull: Full Analysis System
ltkcl: Track Cluster Matching Program
seedbk: Monte Carlo Seed Booker
tbschk: Bank Contents Browser
- Phys97a: My JLC Physics Programs
Utility Programs
anl_lib: Physics Analysis Library
dkin_lib: Kinematics Library (Double Precision Version)
g_beam: Beam Strahlung Spectrum Program
gen_lib: Utility Program Libraries for Event Generators
helas_v1: Helas V1 Library
My Event Generators
higgs97a: Higgs Related Generators (ffh, nnh, hz)
susy97a: SUSY Related Generators (sfsf, xcxc)
top97a: Top Related Generators (eett, nntt, tt, tth, ttz)
wz97a: W/Z Related Generators (eeww, eez, enw, nnz, ww, wwz, zz)
twoph97a: Two-Photon Process Generator (Originally Created by M.Kuroda)
Miscellaneous Physics Plot Generators
precision_ew: Plots for Precision Electroweak Studies
susy_phys: Cross Section Plots and Various Contours for SUSY
top_phys: Total and Various Differential Cross Section Plots at Threshold
All of these were built with DR2.1update4+shared and requires CERNLIB.
Those who are interested, contact me via e-mail in person.
Ghostscript 5.03 + Rebuilt with Offical VFlib2.22 Patch
The latest version of PS interpreter
Original source code from ftp.cs.wisc.edu:~ftp/ghost/aladdin/
- ghostscript-5.03.tar.gz
- ghostscript-5.03gnu.tar.gz
- ghostscript-fonts-other-5.03.tar.gz
- ghostscript-fonts-std-5.03.tar.gz
Official JP-patch by Tanaka from newsgroup:
- gs5.03-vflib.tar.gz
The Jpeg-6a source code corresponding to
Yasutome's binary
- jpegsrc.v6a.tar.gz
the libpng-0.96 source code:
- libpng-0.96.tar.gz
and the zlib-1.0.4 source code:
- zlib-1.0.4.tar.gz
To build gs:
- $ ls orig
- ghostscript-5.03.tar.gz
- ghostscript-5.03gnu.tar.gz
- ghostscript-fonts-other-5.03.tar.gz
- ghostscript-fonts-std-5.03.tar.gz
- gs5.03-vflib.tar.gz
- jpegsrc.v6a.tar.gz
- libpng-0.96.tar.gz
- zlib-1.0.4.tar.gz
- $ tar -zxvf orig/ghostscript-5.03.tar.gz
- $ tar -zxvf orig/ghostscript-5.03gnu.tar.gz
- $ tar -zxvf orig/gs5.03-vflib.tar.gz
- $ patch -p < gs5.03-vflib/gs5.03-vflib.diff
- $ cd gs5.03
- $ tar -zxvf ../orig/jpegsrc.v6a.tar.gz
- $ tar -zxvf ../orig/libpng-0.96.tar.gz
- $ mv libpng-0.96 libpng
- $ tar -zxvf ../orig/zlib-1.0.4.tar.gz
- $ mv zlib-1.0.4 zlib
- $ vi gcc-head.mak
- .....
- SHARE_LIBPNG=1
- .....
- SHARE_ZLIB=1
- .....
- XINCLUDE=-I/usr/X11/include
- .....
- XLIBS=Xt Xext X11 SM ICE VFlib
- .....
- $ tar_cat
- $ ln -s unix-gcc.mak makefile
- $ make >& make.log &
- $ tail -f make.log
- .....
- ^C
- $ su
- # make install >& install.log &
- # tail -f install.log
- .....
- ^C
I have created a precompiled binary package without
the GS fonts which you might already have at hand: fonts are
identical to those for v4.03.
To install the ready-made binary:
- # cd /
- # tar -zxvf <somewhere>/gs5.03-vflib-bin.tar.gz
and if you don't have fonts
- # cd /usr/local/share/ghostscript
- # tar -zxvf <somewhere>/ghostscript-fonts-other-5.03.tar.gz
- # tar -zxvf <somewhere>/ghostscript-fonts-std-5.03.tar.gz
Notice that the binary requires the shared version of libpng and
zlib in addition to the standard shared library support coming
with update4.
You also have to preinstall "VFlib" to display
Japanese text. Get Uchiyama's "VFlib" and install it as:
- # cd /
- # tar -zxvf <somewhere>/VFlib2.22.bin+zeit_font.tar.gz
Aug 25, 1997
Psutils-1.13 (Rebuilt with DR2.1update4+shared)
Utilities to Manipulate Postscript Files
Original source code FTPed from ftp://ftp.u-aizu.ac.jp/pub/lang/postscript/eos.hokudai.ac.jp/
- psutils-1.12.tar.gz
- psutils-patch13
I have prepared an unofficial patch to build psutils on Mklinux:
- psutils-1.13-mklinux.patch
without which "make" won't produce workable scripts with perl5.
To build the program:
- $ tar -zxvf orig/psutils-1.12.tar.gz
- $ mv psutils-1.12 psutils-1.13
- $ cd psutils-1.13
- $ vi part-1of4
- cut everything above #! /bin/sh
- $ vi part-2of4
- cut everything above #! /bin/sh
- $ vi part-3of4
- cut everything above #! /bin/sh
- $ vi part-4of4
- cut everything above #! /bin/sh
- $ sh part-1of4
- $ sh part-2of4
- $ sh part-3of4
- $ sh part-4of4
- $ rm part-*
- $ patch -p1 -s < ../orig/psutils-patch13
- $ rm *.orig
- $ patch -p1 < ../orig/psutils-1.13-mklinux.patch
- $ make
- $ su
- # make install
To build a precompiled binary package:
- # make DESTDIR=.. install
- # make veryclean
- # cd ..
- # tar -zcvf psutils-1.13-bin.tar.gz usr
- # tar -zcvf psutils-1.13.tar.gz psutils-1.13
Aug 21, 1997
Gv-3.5.8
GUI for ghostscript to navigate through PDF as well as PS files
Original SRPM FTPed from MkArchive
- gv-3.5.8-0.src.rpm
and the binary package was rebuilt with DR2.1update4-shared after
changing the installation destination to /usr/X11 instead of /usr/local
and the default page size from US letter to A4.
The forgotten app-default file was also included in the package.
The corresponding source and patch files are
- # cd /usr/src/redhat
- # ls SOURCES
- gv-3.5.8-a4.patch
- gv-3.5.8.tgz
- gv.gif
and the spec file is
- # cd SPECS
- # ls
- gv-3.5.8-1.ppc.spec
The RPM packages were created as usual:
- # rpm -ba gv-3.5.8-1.ppc.spec
- # ls RPMS/ppc
- gv-3.5.8-1A.ppc.rpm
- # ls SRPMS
- gv-3.5.8-1A.src.rpm
To install the RPM package:
- # rpm -i <somewhere>/gv-3.5.8-1A.ppc.rpm
In order to use "gv", you have to preinstall "ghostscript" whose
latest version is gs-5.03-VFlib.
Gimp-0.99.10
The Latest Version of GNU Image Manipulation Program
Original source files FTPed from ftp://ftp.u-aizu.ac.jp/pub/graphics/tools/gimp/developers/
- gimp-0.99.10.tar.gz
- gimp-data-0.99.9.tar.gz
To build and install the program, do the following:
- $ tar -zxvf orig/gimp-0.99.10.tar.gz
- $ cd gimp-0.99.10
- $ vi plug-ins/CML_explorer.c
- ....
- #include <linux/errno.h>
- ....
- $ ./configure --prefix=/usr/local/gimp --enable-shared
- $ make >& make.log &
- $ tail -f make.log
- ....
- ^C
- $ su
- # make install >& install.log &
- # tail -f install.log
- ....
- ^C
- # exit
- $ tar -zxvf orig/gimp-data-0.99.9.tar.gz
- $ cd ../gimp-data-0.99.9
- $ vi configure
- ....
- VERSION=0.99.10
- ....
- % ./configure --prefix=/usr/local/gimp
- % su
- # make install
Notice that this installs everything into /usr/local/gim/.
In order to make the system recognize the new gimp-related
shared libraries, one has to then do:
- # cat >> /etc/ld.so.conf
- /usr/local/gimp/lib
- ^D
- # /sbin/ldconfig -v
A ready-built binary package is
here.
Note
Under 256-color environment, button icons don't show themselves
properly. If any other color-intensive application is running,
"gimp" even fails to start. Use 32000 colors or more.
I could have made the package into an RPM but simply it
would take too much time. Besides, it is easy to remove since
everything is installed in a single directroy: /usr/local/gim/.
Aug 18, 1997
Reconfiguring Our WWW Site
My home directory disk has just moved. Meanwhile some of you
might have trouble getting into my home page. Sorry about that.
We are expecting some more reconfigurations, so be patient.
Tk4.2jp Problem with Update4
As reported below, tk4.2jp causes segmentation fault on
"make test" reaching "option.test".
The segmentation fault occurs in
ParsePriority(Tcl_Interp *interp, char *string)
in generic/tkOption.c when string = "-1" is given.
....
char *end;
priority = strtoul(string, &end, 0);
if ((end == string) || (*end != 0) || (priority < 0)
|| (priority > 100)) {
....
By examining the source code in glibc-0.961212-1Q.src.rpm
corresponding to the DR2.1update4 shared library,
I found the following:
The strtoul source code (stdlib/strtol.c) is common to that
of strtol and is switchable with a FLAG (UNSIGINED) like:
#if UNSIGNED
.....
# define strtol strtoul
.....
#endif
and it contains the following lines:
....
/* check for a sign. */
if (*s == L_('-'))
{
#if UNSIGNED
__set_errno (EINVAL);
return 0;
#else
negative = 1;
++s;
#endif
}
else if (*s == L_('+'))
{
.....
The "end" pointer is left untouched when the first character is
'-'. Apparently, the binary has been working properly in a sense
that it was working as coded: when a negative integer is given in
"string" it returns 0 with "end" untouched. With the uninitialized
"end" pointing to somewhere forbidden, dereferencing "end" triggers
segmentation fault. The source code (stdlib/strtol.c) has a time
stamp of Dec 19, 1996, meaning that this problem has been there
but escaping detection for a long time. I sent a bug report to
Apple.
Xxgdb-1.12-1B
GUI for gdb (Gnu DeBugger)
Original SRPM FTPed from ftp://ftp.linuxppc.org/linuxppc/linux-2.0.30/redhat/SRPMS/
- xxgdb-1.12-1B.src.rpm
and the binary package was rebuilt by
- # rpm -rebuilt xxgdb-1.12-1B.src.rpm
- # ls /usr/src/redhat/RPMS/ppc/
- xxgdb-1.12-1B.ppc.rpm
Note the above FTP site has xxgdb-1.12-1A.ppc.rpm which is newer than
1.12-1B. I compred SRPMs and found no essential differences.
To debug foo.c with xxgdb:
- $ gcc -g foo.c
- $ xxgdb a.out
Then hit the "run" button. You can mouse-select line and set
"break" point and rerun. You can "step"-execute it, etc.
You can also mouse-select a variable and "print" its value.
If you need to supply arguments to your a.out, you need
to type in the bottom input window:
- (xxgdb) run arg1 arg2 ...
Well, in this window you can type anything you can in an ordinary
gdb session, though in that case I don't know why you need to use
xxgdb.
I hope you don't have to use xxgdb too often,
but if you have to, try to enjoy debugging with xxgdb!
Aug 15, 1997
Ghostscript 5.03 + VFlib 2.22
The latest version of PS interpreter
The ready-made binary package
created on August 11 has been read-protected to others.
Sorry for inconvenience.
JDK 1.1.3-b1.tar.gz
Java Developer's Kit
In (mklinux-jp 4971), Yukitoshi Fujimura pointed out the availability
of a MkLinux port of JDK1.1.3. Good news!
Original FTPed from ftp://143.43.202.20/pub/jdk113/
- jdk1.1.3-b1.tar.gz
To install:
- $ su
- # tar -zxvf jdk1.1.3-b1.tar.gz -C /usr/local
- # exit
- $ cat >> /.bash_profile
- export JDK_HOME=/usr/local/jdk1.1.3
- export PATH=$JDK_HOME/bin:$PATH
- ^D
Note:
Javac seems working OK but appletviewer often suffers from
segmentation faults. Even if you view the same applet,
it sometimes works without segmentation fault. Strange.
Nevertheless this is the first time for me to see some
java applet using AWT working on a MkLinux box, since
Kaffe-0.91 has no compatible AWT yet. It's much better
than nothing!
Sep. 27, 1997
This problem was solved by
wip970926. See Sep. 27 above.
-
Automount daemon
The original version (amd-920824upl102-6A) has been working
well for NFS. I found it, however, unable to mount local UFS disks
since the file system type is hard-wired to be "minix".
I hacked amd/ufs_ops.c to probe the file system type
using the corresponding code in the source code of the mount
command.
Original SRPM FTPed from ftp://ftp.linuxppc.org/RedHat/
- SRPMS/amd-920824upl102-6A.src.rpm
from which the original source code:
- amd-upl102.tar.gz
patches:
- amd-nonis.patch
- amd-upl102-glibc.patch
- amd-upl102-shared.patch
- amd.patch
configuration files, and scripts:
- amd.conf
- amd.init
- amd.sysconf
are extracted.
In addition I have prepared an additional patch:
- amd-upl102-ufs_probe.patch
and a modified SPEC file:
- amd-920824upl102.spec
in order to make amd automatically probe the file system type
when mounting a local UFS device.
Given these properly put into the /usr/src/redhat/ tree:
- # cd /usr/src/redhat
- # ls SOURCES
- amd-nonis.patch
- amd-upl102-glibc.patch
- amd-upl102-shared.patch
- amd-upl102-ufs_probe.patch
- amd-upl102.tar.gz
- amd.conf
- amd.init
- amd.patch
- amd.sysconf
- # ls SPECS
- amd-920824upl102.spec
the rest is easy:
- # cd SPECS
- rpm -ba --test amd-920824upl102.spec
- rpm -ba amd-920824upl102.spec
After a while you get:
- # ls ../RPMS/ppc
- amd-920824upl102-6B.ppc.rpm
- # ls ../SRPMS
- amd-920824upl102-6B.src.rpm
To install the binary packages do the following:
- $ su
- # rpm -i amd-920824upl102-6B.ppm.rpm
- # /etc/rc.d/init.d/amd.init start
- # ls /net/foo
- .....
You need to have portmap preinstalled in order to make amd work.
If you don't have one, get it
from ftp://ftp.linuxppc.org/linuxppc/linux-2.0.28/redhat/RPMS/ppc/
- portmap-4.0-3B.ppm.rpm
and install it:
- # rpm -i portmap-4.0-3B.ppc.rpm
This version (amd-920824upl102-6B) accepts something like
- mo -opts:=rw;type:=ufs;dev:=/dev/sdf3
as a mount map. For example, I did
- $ su
- # cd /etc
- # rc.d/init.d/amd.init stop
- # mv amd.conf amd.net
- # vi amd.mnt
- mo -opts:=rw;type:=ufs;dev:=/dev/sdf3
- # vi /etc/sysconf/amd
- ADIR=/.automount
- MOUNTPTS='/net /etc/amd.net /mnt /etc/amd.mnt'
- AMDOPTS=
- # rc.d/init.d/amd.init start
- # exit
- $ ls /mnt/mo
- .....
The first time, when you access the mo you get a message from
UFS telling the guessed file system type, before printing the
contents of the mo. Never eject your mo while it is mounted.
See the amd manual for details.
man-pages-1.15-1B.ppc.rpm
Manual pages
I had no manual pages for Section 2, which was very inconvenient.
I got one from ftp://ftp.linuxppc.org/linuxppc/linux-2.0.30/redhat/RPMS/ppc/
and installed it:
- # rpm -i --force man-pages-1.15-1B.ppc.rpm
Section 2 seems like for ordinary Linux and I am not sure how well
it applies to MkLinux, but it's better than nothing!
Aug 13, 1997
-
The latest version of Linux NFS daemon:
Apology
It was found that the previous version (nfs-server-2.2beta16-7B)
from ftp://ftp.linuxppc.org/RedHat/RPMS/
malfunctions when file size exceeds some limit. I was mostly using
the automounter so that it took this long to notice this problem.
I am very sorry. The new version nfs-server-2.2beta26-1A below
is based on the latest nfs server on Linux and the mklinux
patch by Murata
and looks like working properly: I could copy 100MB Monte Carlo
simulation data from an HP-UX workstation to an MO mounted on my
MkLinux box via this new NFS.
Original source code FTPed from ftp://linux.nrao.edu/pub/people/okir/
- nfs-server-2.2beta26.tar.gz
Original MkLinux patch by Murata from ftp://ftp.y-min.or.jp/pub/mklinux/
- nfs-server-2.2beta26.mklinux.diff
Original script files (exportfs, nfs.init) and spec file are extracted from
ftp://ftp.linuxppc.org/RedHat/RPMS/nfs-server-2.2beta16-7B.src.rpm
and modified for version 2.2beta26:
- exportfs
- nfs.init
- nfs-server-2.2beta26.spec
To Build the RPM packages:
- $ ls <somewhere>
- exportfs
- nfs-server-2.2beta26.spec
- nfs-server-2.2beta26.tar.gz
- nfs-server-2.2beta26.mklinux.diff
- nfs.init
- $ su
- # cd /usr/src/redhat/SOURCES
- # cp <somewhere>/nfs* exportfs .
- # cd ../SPECS
- # mv ../SOURCES/nfs*.spec .
- # rpm -ba --test nfs-server-2.2beta26.spec
- # rpm -ba nfs-server-2.2beta26.spec
This creates RPM packages:
- # ls ../SRPMS/
- nfs-server-2.2beta26-1A.src.rpm
- # ls ../RPMS/ppc
- nfs-server-2.2beta26-1A.ppc.rpm
- nfs-server-clients-2.2beta26-1A.ppc.rpm
To install the binary packages do the following:
- $ su
- # rpm -qpl nfs-server-2.2beta26-1A.ppc.rpm
- # rpm -i --force nfs-server-2.2beta26-1A.ppc.rpm
- # rpm -qpl nfs-server-clients-2.2beta26-1A.ppc.rpm
- # rpm -i --force nfs-server-clients-2.2beta26-1A.ppc.rpm
Edit /etc/exports to tell to which machines you export your
file system:
- # vi /etc/exports
- / *.kek.jp(rw,anonuid=65535)
In this example, you export everything under the root
directory to any host in the "kek.jp" domain with read/write
permission. Dangerous huh? See the manpage for exports for
detail.
To start NFS, reboot or
- # /etc/rc.d/init.d/nfs start
Then you can do something like:
- $ rlogin foo.kek.jp
- $ ls /net/bar
assuming your machine is "bar" and "foo" is running an automounter.
Aug 12, 1997
MO as a Storage Device for Monte Carlo Data
Since the available disk space is now very limited,
I decided to use a 230 MB MO to store Monte Carlo data.
I could generate and store about 8k t-tbar events at 340 GeV
in a single 230 MB MO, which is not bad.
See this for the usage of MO on MkLinux.
Aug 11, 1997
Fortran Program Porting Issues
Hi, I'm back. It's been a long brown out (power outage).
Here is
the Japanese version of the summary that I promised,
though it's still not complete.
The latest version of PS interpreter, the last one, v5.02, lasted only
one week. What a short-lived version!
Original RPMs from ftp.cs.wisc.edu:~ftp/ghost/aladdin/
- ghostscript-5.03.tar.gz
- ghostscript-5.03gnu.tar.gz
- ghostscript-fonts-other-5.02.tar.gz
- ghostscript-fonts-std-5.02.tar.gz
JP-patch from newsgroup:
- gs5.0-vflib.tar.gz
The Jpeg-6a source code corresponding to
Yasutome's binary
- jpegsrc.v6a.tar.gz
the libpng-0.96 source code:
- libpng-0.96.tar.gz
and the zlib-1.0.4 source code:
- zlib-1.0.4.tar.gz
The rest is exactly as with V5.02 (see below).
A ready-made binary package is here
which excludes fonts.
Aug 7, 1997
Libpng-0.96
The latest version of png library needed for gs5.02 below
Original RPMs from ftp.linuxppc.org/linuxppc/linux-2.0.30/redhat/RPMS/ppc/
- libpng-0.96-1A.ppc.rpm
- libpng-devel-0.96-1A.ppc.rpm
To install do the following:
- # ls
- libpng-0.96-1A.ppc.rpm
- libpng-devel-0.96-1A.ppc.rpm
- # rpm -i --force libpng*
Ghostscript 5.02 + VFlib 2.22
The latest version of PS interpreter
Original RPMs from ftp.cs.wisc.edu:~ftp/ghost/aladdin/
- ghostscript-5.02.tar.gz
- ghostscript-5.02gnu.tar.gz
- ghostscript-fonts-other-5.02.tar.gz
- ghostscript-fonts-std-5.02.tar.gz
JP-patch from newsgroup:
- gs5.0-vflib.tar.gz
The Jpeg-6a source code corresponding to
Yasutome's binary
- jpegsrc.v6a.tar.gz
the libpng-0.96 source code:
- libpng-0.96.tar.gz
and the zlib-1.0.4 source code:
- zlib-1.0.4.tar.gz
To build gs:
- $ ls orig
- ghostscript-5.02.tar.gz
- ghostscript-5.02gnu.tar.gz
- ghostscript-fonts-other-5.02.tar.gz
- ghostscript-fonts-std-5.02.tar.gz
- gs5.0-vflib.tar.gz
- jpegsrc.v6a.tar.gz
- libpng-0.96.tar.gz
- zlib-1.0.4.tar.gz
- $ tar -zxvf orig/ghostscript-5.02.tar.gz
- $ tar -zxvf orig/ghostscript-5.02gnu.tar.gz
- $ tar -zxvf orig/gs5.0-vflib.tar.gz
- $ mv gs5.02 gs5.0
- $ patch -p < gs5.0-vflib/gs5.0-vflib.diff
- $ cd gs5.0
- $ tar -zxvf ../orig/jpegsrc.v6a.tar.gz
- $ tar -zxvf ../orig/libpng-0.96.tar.gz
- $ mv libpng-0.96 libpng
- $ tar -zxvf ../orig/zlib-1.0.4.tar.gz
- $ mv zlib-1.0.4 zlib
- $ vi gcc-head.mak
- .....
- SHARE_LIBPNG=1
- .....
- SHARE_ZLIB=1
- .....
- XINCLUDE=-I/usr/X11/include
- .....
- XLIBS=Xt Xext X11 SM ICE VFlib
- .....
- $ tar_cat
- $ ln -s unix-gcc.mak makefile
- $ make >& make.log &
- $ tail -f make.log
- .....
- ^C
- $ su
- # make install >& install.log &
- # tail -f install.log
- .....
- for f in alphabet.ps chess.ps cheq.ps colorcir.ps escher.ps golfer.ps \
- grayalph.ps snowflak.ps tiger.ps waterfal.ps \
- ridt91.eps ;\
- done
- /bin/sh: syntax error near unexpected token `done'
- /bin/sh: -c: line 1: `for f in alphabet.ps chess.ps cheq.ps colorcir.ps escher.ps golfer.ps grayalph.ps snowflak.ps tiger.ps waterfal.ps ridt91.eps ; done'
- make: *** [install-data] Error 2
- ^C
- # vi makefile
- .....
- for f in alphabet.ps chess.ps cheq.ps colorcir.ps escher.ps golfer.ps \
- grayalph.ps snowflak.ps tiger.ps waterfal.ps \
- ridt91.eps ;\
- do $(INSTALL_DATA) $$f $(exdir)/$$f ;\
- done
- -mkdir $(gsdatadir)/kanji
- for f in kanji/*.ps ;\
- do if ( test -f $$f ); then $(INSTALL_DATA) $$f $(gsdatadir)/$$f; fi;\
- done
- .....
- # make install >& install.log &
- # tail -f install.log
- .....
- ^C
- #
Looks like the vflib patch for v5.0 is not completely compatible with
v5.02 (it's a trivial problem though).
Anyway, I have created a precompiled binary package without
the GS fonts which you might already have at hand: fonts are
identical to those for v4.03.
To install the ready-made binary:
- # cd /
- # tar -zxvf <somewhere>/gs5.02-vflib-bin.tar.gz
and if you don't have fonts
- # cd /usr/local/share/ghostscript
- # tar -zxvf <somewhere>/ghostscript-fonts-other-5.02.tar.gz
- # tar -zxvf <somewhere>/ghostscript-fonts-std-5.02.tar.gz
Notice that the binary requires the shared version of libpng and
zlib in addition to the standard shared library support coming
with update4.
You also have to preinstall "VFlib" to display
Japanese text. Get Uchiyama's "VFlib" and install it as:
- # cd /
- # tar -zxvf <somewhere>/VFlib2.22.bin+zeit_font.tar.gz
Aug 6, 1997
Xtiff
Multipage TIFF Viewer for X Distributed by CERN Preprint Center
Read this to see what it does and copyright information, etc.
Original xtiff source code from ftp://preprints.cern.ch/electronic/xviewer/xtiff/
- xtiff.tar.gz
A patch file:
- xtiff-mklinux.patch
created to compile xtiff on MkLinux with
the libtiff installed yesterday.
To compile xtiff do the following:
- $ ls
- xtiff-mklinux.patch
- xtiff.tar.gz
- $ tar -zxvf xtiff.tar.gz
- $ cd xtiff
- $ patch -p1 < ../xtiff-mklinux.patch
- $ make
- $ su
- # make install
A pre-built binary package is here.
You can test it for instance by:
- $ xtiff test.tif
Aug 5, 1997
Tk4.2jp Problem
As reported below, tk4.2jp causes segmentation fault on
"make test" reaching "option.test".
The segmentation fault occurs in
ParsePriority(Tcl_Interp *interp, char *string)
in generic/tkOption.c when string = "-1" is given.
- ....
- char *end;
- priority = strtoul(string, &end, 0);
- if ((end == string) || (*end != 0) || (priority < 0)
- || (priority > 100)) {
- ....
It looks like when string="-1" is fed into "strtoul", which
presumably converts a string to an unsigned long int,
"strtoul" returns 0 with "end" pointing to somewhere
forbidden: it looks like strtoul returns 0 and
leaves end untouched whenever
a negative integer is given in string.
No manual page is available for "strtoul" on my MkLinux box
unfortunately and I am not sure this is a designed behavior or not.
The problem can be fixed though by replacing "strtoul" by "strtol".
Anyway I guess nobody is going to invoke the "option" Tcl command
with a negative priority, which is invalid after all,
thus this problem is virtually nonexistent.
Notice that this problem could have been there from the beginning
but left unnoticed just because of "end" pointing to
somewhere valid.
-
Tiff Utilities Tiff-v3.4beta036 Built with Update4
Original tiff source code from ftp://ftp.sgi.com/graphics/tiff/
- tiff-v3.4beta036.tar.gz
A patch file:
- tiff-v3.4beta036-mklinux.patch
created to compile this on a MkLinux box.
Also prepared is a spec file to create RPM packages:
- tiff-3.4b036.spec
which specifies the package building procedure.
- # cd /usr/src/redhat/SOURCES
- # ls
- tiff-v3.4beta036-mklinux.patch
- tiff-v3.4beta036.tar.gz
- # cd ../SPECS
- # ls
- tiff-3.4b036.spec
- # rpm -ba tiff-3.4b036.spec >& rpm.ba.tiff.log &
- # tail -f rpm.ba.tiff.log
This creates RPM packages:
- # ls ../SRPMS/
- tiff-3.4b036-1A.src.rpm
- # ls ../RPMS/ppc
- tiff-3.4b036-1A.ppc.rpm
To install the binary package do the following:
- # rpm -i --force <somewhre>/tiff-3.4b036-1A.ppc.rpm
You must have the DR2.1update4 shared library support to use this.
Xpaint-2.4.9
X Paint Tool
Original xpaint source code from ftp://sunsite.unc.edu/pub/Linux/X11/xapps/graphics/draw/
- xpaint-2.4.9.tar.gz
A patch file:
- xpaint-2.4.9-mklinux.patch
created to compile this on a MkLinux box.
Also prepared is a spec file to create RPM packages:
- xpaint-2.4.9.spec
which specifies the package building procedure.
- # cd /usr/src/redhat/SOURCES
- # ls
- xpaint-2.4.9-mklinux.patch
- xpaint-2.4.9.tar.gz
- # cd ../SPECS
- # ls
- xpaint-2.4.9.spec
- # rpm -ba xpaint-2.4.9.spec >& rpm.ba.xpaint.log &
- # tail -f rpm.ba.xpaint.log
This creates RPM packages:
- # ls ../SRPMS/
- xpaint-2.4.9-1A.src.rpm
- # ls ../RPMS/ppc
- xpaint-2.4.9-1A.ppc.rpm
To install the binary package do the following:
- # rpm -i --force <somewhre>/xpaint-2.4.9-1A.ppc.rpm
You must have the DR2.1update4 shared library support to use this.
In addition, the following libraries are required:
- tiff-3.4b036-1A.ppc.rpm
the one just created above, and others from
Yasutome's FTP site:
- jpeg-6a-shared.bin.tar.gz
- libpng-0.89c-shared.bin.tar.gz
- zlib-1.0.2-shared.bin.tar.gz
There is one more required:
- Xaw3d-1.3-bin.tar.gz
to make Xpaint look nicer.
-
Pstoedit allows one to traslate a PS file to various editable formats
including, tgif, xfig, gnuplot, etc.
Built just like before but this time without "-static":
without "-static" the binary didn't work with update2 or 3.
Some improvements with update4!
To install, do the following
- $ su
- # cd /
- # tar -zxvf $LTsomewhere>/pstoedit.2.60-bin.tar.gz
I'm sorry, I didn't make it into an RPM.
Aug 2, 1997
Update 4
I have fully installed DR2.1update4 that now officially supports
a shared version of X11R6.3. I have not yet tested the update
carefully, but it seems like working properly.
See this for details.
-
Gcc Suite for C, C++, Objective C, and FORTRAN(+LibU77) Rebuilt with DR2.1update4
Original gcc source codes extracted from gcc-2.7.2.1-2L.src.rpm
coming with the DR2.1update4 shared library support:
- gcc-2.7.2.tar.gz
This is actually identical to the previous one.
Original patch files also extracted from the same src.rpm:
- gcc-2.7.2-linux.diff.gz
- gcc-2.7.2-make.patch
- gcc-2.7.2-ppc.patch
- gcc-2.7.2-ppc_shared_libraries.patch
- gcc-2.7.2-ppc_varargs.patch
- gcc-2.7.2.objc.960906.diff
Among these patch files, the only one that is different from the one in
the DR2.1update3 version (gcc-2.7.2-2J.src.rpm) is
gcc-2.7.2-ppc_shared_libraries.patch. There is, however, significant
difference in the SRPM file: version 2L has "ada" in it, thought this
fact has not been reflected to the RPM counterpart: DR2.1update4
does not support adda. I have thus decided not to include ada in
mine, either.
Original g77 source codes FTPed from ftp://ftp.u-aizu.ac.jp/pub/gnu/prep/
and original libU77 source codes from
ftp://ftp.u-aizu.ac.jp/pub/lang/fortran/libU77/
- g77-0.5.19.tar.gz
- g77-0.5.19-libu77-12.tar.gz
G77 patch files created by following the "f2c" examples:
- g77-0.5.19-glibc.patch
- g77-0.5.19-ppc.patch
- g77-0.5.19-ppc_shared.patch
Also prepared is a spec file to create RPM packages:
- gcc-2.7.2.fu.1.spec
which specifies the package building procedure.
- $ ls <somewhere>
- g77-0.5.19.tar.gz
- g77-0.5.19-glibc.patch
- g77-0.5.19-libu77-12.tar.gz
- g77-0.5.19-ppc.patch
- g77-0.5.19u-ppc_shared.patch
- gcc-2.7.2.fu.1.spec
- gcc-2.7.2.tar.gz
- gcc-2.7.2-linux.diff.gz
- gcc-2.7.2-make.patch
- gcc-2.7.2-ppc.patch
- gcc-2.7.2-ppc_shared_libraries.patch
- gcc-2.7.2-ppc_varargs.patch
- gcc-2.7.2.objc.960906.diff
- $ su
- # cd /usr/src/redhat/SOURCES
- # cp <somewhere>/g* .
- # cd ../SPECS
- # mv ../SOURCES/gcc-2.7.2.fu.1.spec .
- # rpm -ba --test gcc-2.7.2.fu.1.spec
- # rpm -ba gcc-2.7.2.fu.1.spec
This creates RPM packages:
- # ls ../SRPMS/
- gcc-2.7.2.fu.1-1B.src.rpm
- # ls ../RPMS/ppc
- gcc-2.7.2.fu.1-1B.ppc.rpm
- gcc-c++-2.7.2.fu.1-1B.ppc.rpm
- gcc-g77-2.7.2.fu.1-1B.ppc.rpm
- gcc-objc-2.7.2.fu.1-1B.ppc.rpm
To install them do the following:
- # rpm -i --force <somewhre>/gcc*-2.7.2.fu.1-1B.ppc.rpm
Caution: This overwrites your existing gcc triplet
(C, C++, and Objective C) and might destroy your compiling environment.
As always install them at your own risk.
Read this before installation.
-
Japanized Tcl/Tk v-7.6_4.2 Rebuilt with Update4
Using the source RPM file created before
(see here for details),
I have rebuilt the RPM files as follows:
- # rpm -i jp-tcltk-7.6_4.2-1A.src.rpm
- # cd /usr/src/redhat/SPECS
- # vi jp-tcltk-7.6-4.2.spec
- ...
- Release: 1B
- ...
- # rpm -ba jp-tcltk-7.6-4.2.spec
This creates RPM packages:
- # ls ../SRPMS/
- jp-tcltk-7.6_4.2-1B.src.rpm
- # ls ../RPMS/ppc
- jp-tcltk-7.6_4.2-1B.ppc.rpm
To install the binary package do the following:
- # rpm -i --force <somewhre>/jp-tcltk-7.6_4.2-1B.ppc.rpm
Note
It has been reported that the DR2.1update3 shared library support
leads "make test" in tcl7.6jp to segmentation fault. I tested this
with update4 and found that it didn't. That's why I decided to
rebuilt the binary package, though the problem is likely to be
outside the package.
After a while, I did "make test" for tk4.2jp and found it
cause segmentation fault at "option.test".
Gdb says it's in "ParsePriority()". Oh, well. I leave this problem
to somebody else.
July 30, 1997
LibU77
The g77 package I created yesterday has libU77 builtin.
If you have already installed
the one without the libU77 support,
you may just want to install the U77 liabrary
instead of replacing the whole package.
Of course, the price you have to pay in this case is
that you have to put "-lU77" every time you link some
program using U77 features.
Those who are not familiar with what libU77 does,
see the original
README
file.
To install:
- $ su
- # cd /usr/lib
- # gunzip /libU77.so.gz
- # chmod a+rx libU77.so
- # /sbin/ldconfig -v
Enjoy.
July 29, 1997
Fortran Program Porting Issues
Hi, I'm back. Here is
the summary that I promised, though it's still not
complete.
-
Gcc Suite for C, C++, Objective C, and FORTRAN Rebuilt with LibU77 Enhancement
Hiroshi Futami provided very useful information
(mklinux-jp 4802) on libU77. I have thus combined this into
the g77 package as follows:
Original gcc source codes extracted from gcc-2.7.2.1-2J.src.rpm
coming with the DR2.1update3 shared library support:
- gcc-2.7.2.tar.gz
Original patch files also extracted from the same src.rpm:
- gcc-2.7.2-linux.diff.gz
- gcc-2.7.2-make.patch
- gcc-2.7.2-ppc.patch
- gcc-2.7.2-ppc_shared_libraries.patch
- gcc-2.7.2-ppc_varargs.patch
- gcc-2.7.2.objc.960906.diff
Original g77 source codes FTPed from ftp://ftp.u-aizu.ac.jp/pub/gnu/prep/
and original libU77 source codes from
ftp://ftp.u-aizu.ac.jp/pub/lang/fortran/libU77/
- g77-0.5.19.tar.gz
- g77-0.5.19-libu77-12.tar.gz
G77 patch files created by following the "f2c" examples:
- g77-0.5.19-glibc.patch
- g77-0.5.19-ppc.patch
- g77-0.5.19-ppc_shared.patch
Also prepared is a spec file to create RPM packages:
- gcc-2.7.2.fu.1.spec
which specifies the package building procedure.
- $ ls <somewhere>
- g77-0.5.19.tar.gz
- g77-0.5.19-glibc.patch
- g77-0.5.19-libu77-12.tar.gz
- g77-0.5.19-ppc.patch
- g77-0.5.19u-ppc_shared.patch
- gcc-2.7.2.fu.1.spec
- gcc-2.7.2.tar.gz
- gcc-2.7.2-linux.diff.gz
- gcc-2.7.2-make.patch
- gcc-2.7.2-ppc.patch
- gcc-2.7.2-ppc_shared_libraries.patch
- gcc-2.7.2-ppc_varargs.patch
- gcc-2.7.2.objc.960906.diff
- $ su
- # cd /usr/src/redhat/SOURCES
- # cp <somewhere>/g* .
- # cd ../SPECS
- # mv ../SOURCES/gcc-2.7.2.fu.1.spec .
- # rpm -ba --test gcc-2.7.2.fu.1.spec
- # rpm -ba gcc-2.7.2.fu.1.spec
This creates RPM packages:
- # ls ../SRPMS/
- gcc-2.7.2.fu.1-1A.src.rpm
- # ls ../RPMS/ppc
- gcc-2.7.2.fu.1-1A.ppc.rpm
- gcc-c++-2.7.2.fu.1-1A.ppc.rpm
- gcc-g77-2.7.2.fu.1-1A.ppc.rpm
- gcc-objc-2.7.2.fu.1-1A.ppc.rpm
To install them do the following:
- # rpm -i --force <somewhre>/gcc*-2.7.2.fu.1-1A.ppc.rpm
Caution: This overwrites your existing gcc triplet
(C, C++, and Objective C) and might destroy your compiling environment.
As always install them at your own risk.
Read this before installation.
July 25, 1997
Porting Issues
Have been trying to port Monte Carlo event generators,
the JLC detector simulator, and others to my MkLinux box.
I am gonna summarize know-hows to port FORTRAN programs
before I forget them. These include:
- Useful FFLAGS
- Necessary code modifications due to g77's insufficient
implementation of FORTRAN77.
- Some missing intrinsic functions.
I am also going to compare the performance of g77 on
my MkLinux box with that of f77 on a HP-UX WS(C-100).
July 21, 1997
Readline-2.0
A command line editing and history recall library
Original FTPed from ftp://ftp.linuxppc.org/linuxppc/linux-2.0.28/redhat/RPMS/ppc
- readline-2.0-10B.ppc.rpm
- readline-devel-2.0-10B.ppc.rpm.
To install the binary packages do the following:
- $ su
- # rpm -qpl readline*
- # rpm -i --force readline*
The old /usr/lib/libreadline.a, which presumably came with
DR2.1, referrs to the function __setjmp which is nonexistent now.
Check /usr/include/setjmp.h and /lib/libc-1.99.so, this
is actually true in your case, too.
In order to build Dis45, I had to replace the old one with this,
which is of shared now.
Dis45-1.36
Histogram and Plot Display using HIGZ.
Some preferres Dis45 to Paw. Well, it's a matter of taste.
Again this is using CERNLIB and
can not be freely distributed. Sorry.
Anyway and finally, I can really start doing real physics on
my MkLinux box!
July 20, 1997
CERNLIB 97a
Still fighting CERNLIB! So far, I have gone through
PACKLIB, GRAFLIB, MATHLIB, and PAWLIB, which means
PAW should work in principle.
Well, it's working but
with some problems, yet:
labels and tick marks don't show up properly.
Other functions seem working: I can plot hbook data,
display them as a histogram or a curve in the
plot window, and even fit them to a smooth curve.
The problem is likely to be coming from some loose ends
(left-over byte-swapping codes or mistreatment of
character data). You know this is always a pain
in the neck. It's gonna take sometime to fix, I guess.
20:00
Located the problem:
- /cern/97a/src/graflib/higz/ig/igaxis.F
has been behaving very strangely: I could never
change the value of some variable (XTICK).
It didn't make sense at all.
.....
Tried everything I could think of.
.....
21:45
I finally decided to suspect g77 and recompiled "igaxis.F"
without the "-O" option. Rebuilding libraies, and then
remade "paw". Miraculously, it worked perfectly.
Lesson
The problematic variable (XTICK) is set deep inside
some loop in multiply nested ifs. It is probably safer to
switch off optimization, if a program has deeply nested
ifs or loops.
Note Added
CERNLIB is not a freely distributable software. You need to
acquire a lisence to access the software archive at CERN.
See this
and links from it.
Elisau10
10x8 Dot Japanese Font for X
Elisau10 has been developed by Dai Iijima (BXC01416@niftyserve.or.jp)
and copyrighted by ELISA FONT PJ.
Original FTPed from: ftp://ftp.vector.co.jp/common/data/writing/font/elisa/
- elisau10.tgz
The corresponding 5x8 English font extracted from the X11R6.3 source tree:
- clR5x8.bdf
To install the 10x8-point Japanese font (elisau10) for X,
follow the instruction given in elisau10.doc.
- $ tar -zxvf orig/elisau10.tgz
- $ cp orig/cl$5x8.bdf .
- $ bdftopcf elisau10.bdf | compress > elisau10.pcf.Z
- $ patch < clR5x8-s5x8.diff
- $ bdftopcf clR5x8.bdf | compress > s5x8.pcf.Z
- $ su
- # cp elisau10.pcf.Z s5x8.pcf.Z /usr/X11R6/lib/X11/fonts/misc
- # mkfontdir /usr/X11R6/lib/X11/fonts/misc
- # cp /usr/X11R6/lib/X11/fonts/misc/fonts.alias /usr/X11R6/lib/X11/fonts/misc/fonts.alias.ORIG
- # cat fonts.alias >> /usr/X11R6/lib/X11/fonts/misc/fonts.alias
- # exit
- $ xset fp rehash
It's pretty much amazing that this small font can be still quite legible!
July 18, 1997
CERNLIB 97a
Fighting CERNLIB! It's going to take me sometime.
I have to do a lot of code modifications, mainly inserting
a new flag to prevent the CERNLIB_LINUX flag from swapping
bytes......
July 16, 1997
-
Gcc Suite for C, C++, Objective C, and FORTRAN.
Original gcc source codes extracted from gcc-2.7.2.1-2J.src.rpm
coming with the DR2.1update3 shared library support:
- gcc-2.7.2.tar.gz
Original patch files also extracted from the same src.rpm:
- gcc-2.7.2-linux.diff.gz
- gcc-2.7.2-make.patch
- gcc-2.7.2-ppc.patch
- gcc-2.7.2-ppc_shared_libraries.patch
- gcc-2.7.2-ppc_varargs.patch
- gcc-2.7.2.objc.960906.diff
Original g77 source codes FTPed from ftp://ftp.u-aizu.ac.jp/pub/gnu/prep/
- g77-0.5.19.tar.gz
G77 patch files created by following the "f2c" examples:
- g77-0.5.19-glibc.patch
- g77-0.5.19-ppc.patch
- g77-0.5.19-ppc_shared.patch
Also prepared is a spec file to create RPM packages:
- gcc-2.7.2.f.1.spec
which specifies the package building procedure.
- $ ls <somewhere>
- g77-0.5.19.tar.gz
- g77-0.5.19-glibc.patch
- g77-0.5.19-ppc.patch
- g77-0.5.19-ppc_shared.patch
- gcc-2.7.2.f.1.spec
- gcc-2.7.2.tar.gz
- gcc-2.7.2-linux.diff.gz
- gcc-2.7.2-make.patch
- gcc-2.7.2-ppc.patch
- gcc-2.7.2-ppc_shared_libraries.patch
- gcc-2.7.2-ppc_varargs.patch
- gcc-2.7.2.objc.960906.diff
- $ su
- # cd /usr/src/redhat/SOURCES
- # cp <somewhere>/g* .
- # cd ../SPECS
- # mv ../SOURCES/gcc-2.7.2.f.1.spec .
- # rpm -ba --test gcc-2.7.2.f.1.spec
- # rpm -ba gcc-2.7.2.f.1.spec >& rpm.ba.log &
- # tail -f rpm.ba.log
- .......
- ^C
This creates RPM packages:
- # ls ../SRPMS/
- gcc-2.7.2.f.1-1A.src.rpm
- # ls ../RPMS/ppc
- gcc-2.7.2.f.1-1A.ppc.rpm
- gcc-c++-2.7.2.f.1-1A.ppc.rpm
- gcc-g77-2.7.2.f.1-1A.ppc.rpm
- gcc-objc-2.7.2.f.1-1A.ppc.rpm
To install them do the following:
- # rpm -i --force <somewhre>/gcc*-2.7.2.f.1-1A.ppc.rpm
Caution: This overwrites your existing gcc triplet
(C, C++, and Objective C) and might destroy your compiling environment.
As always install them at your own risk.
Read this before installation.
July 13, 1997
-
Japanized Tcl/Tk v-7.6_4.2 Prepared as an RPM Package.
Original FTPed from ftp://ftp.sunlabs.com/pub/tcl/
- tcl7.6.tar.gz
- tk4.2.tar.gz
Original patch files from ftp://ftp.sra.co.jp/pub/lang/tcl/jp/
- tcl7.6jp-patch
- tk4.2jp-patch
Also prepared is a spec file to create RPM packages:
- jp-tcltk-7.6-4.2.spec
which specifies the package building procedure.
- $ ls <somewhere>
- jp-tcltk-7.6-4.2.spec
- tcl7.6.tar.gz
- tcl7.6jp-patch
- tk4.2.tar.gz
- tk4.2jp-patch
- $ su
- # cd /usr/src/redhat/SOURCES
- # cp <somewhere>/t* .
- # cd ../SPECS
- # cp <somewhere>/jp-tcltk-7.6-4.2.spec .
- # rpm -ba --test jp-tcltk-7.6-4.2.spec
- # rpm -ba jp-tcltk-7.6-4.2.spec
This creates RPM packages:
- # ls ../SRPMS/
- jp-tcltk-7.6_4.2-1A.src.rpm
- # ls ../RPMS/ppc
- jp-tcltk-7.6_4.2-1A.ppc.rpm
To install the binary package do the following:
- # rpm -i --nodeps --force <somewhre>/jp-tcltk-7.6_4.2-1A.ppc.rpm
where "--nodeps" is necessary because the shared X11 libraries were not
installed with rpm: You have to thus preinstall the shared X11.
-
Japanized TkDesk v-1.0b4 Prepared as an RPM Package.
Original FTPed from ftp://ftp.neosoft.com/languages/tcl/sorted/file/tkdesk-1.0b4/
- tcl7.6.tar.gz
Original patch files were FTPed from TkDesk Home Page by Christian Bolik
and combined into a single patch file together with a japanizing patch:
- tkdesk-1.0b4+jp.patch
Also prepared is a spec file to create RPM packages:
- jp-tkdesk-1.0b4.spec
which specifies the package building procedure.
- $ ls <somewhere>
- jp-tkdesk-1.0b4.spec
- tkdesk-1.0b4+jp.patch
- tkdesk-1.0b4.tar.gz
- $ su
- # cd /usr/src/redhat/SOURCES
- # cp <somewhere>/tkdesk* .
- # cd ../SPECS
- # cp <somewhere>/jp-tkdesk-1.0b4.spec .
- # rpm -ba --test jp-tkdesk-1.0b4.spec
- # rpm -ba jp-tkdesk-1.0b4.spec
This creates RPM packages:
- # ls ../SRPMS/
- jp-TkDesk-1.0b4-1A.src.rpm
- # ls ../RPMS/ppc
- jp-TkDesk-1.0b4-1A.ppc.rpm
To install the binary package do the following:
- # rpm -i --nodeps --force <somewhre>/jp-TkDesk-1.0b4-1A.ppc.rpm
where "--nodeps" is necessary because the shared X11 libraries were not
installed with rpm: You have to thus preinstall the shared X11.
-
Japanized BLT2.1 Prepared as an RPM Package.
Original FTPed from ftp://ftp.neosoft.com/languages/tcl/sorted/devel/
- blt2.1.tar.gz
An unofficial patch file:
- blt2.1-tcl76-tk42-shared.patch
has been prepared to compile BLT2.1 with Tcl7.6jp/Tk4.2jp and to produce only a
shared "libBLT" and a "bltwish" dynamically linked to it.
Also prepared is a spec file to create RPM packages:
- jp-blt-2.1p1-1.spec
which specifies the package building procedure.
- $ ls <somewhere>
- jp-blt-2.1p1-1.spec
- blt2.1-tcl76-tk42-shared.patch
- blt2.1.tar.gz
- $ su
- # cd /usr/src/redhat/SOURCES
- # cp <somewhere>/blt* .
- # cd ../SPECS
- # cp <somewhere>/jp-blt-2.1p1-1.spec .
- # rpm -ba --test jp-blt-2.1p1-1.spec
- # rpm -ba jp-blt-2.1p1-1.spec
This creates RPM packages:
- # ls ../SRPMS/
- jp-blt-2.1p1-1A.src.rpm
- # ls ../RPMS/ppc
- jp-blt-2.1p1-1A.ppc.rpm
- jp-blt-demos-2.1p1-1A.ppc.rpm
To install the binary package do the following:
- # rpm -i --nodeps --force <somewhre>/jp-blt-2.1p1-1A.ppc.rpm
where "--nodeps" is necessary because the shared X11 libraries were not
installed with rpm: You have to thus preinstall the shared X11.
You can test the install BLT2.1 with demonstration programs:
- # rpm -i <somewhre>/jp-blt-demos-2.1p1-1A.ppc.rpm
- # exit
- $ cd /usr/local/lib/blt2.1/demos
- $ ./htext
- $ ./graph
- .....
Try more and enjoy.
July 12, 1997
-
FORTRAN to C Translator.
Original FTPed from ftp://netlib.bell-labs.com/netlib/
- f2c.tar
Original patch files extracted from f2c-19960205-6B.src.rpm
and modified to accommodate with f2c-19970709:
- f2c.glibc.patch
- f2c.linux.patch
Also prepared is a spec file to create RPM packages:
- f2c-19970709.spec
which specifies the package building procedure.
- $ ls <somewhere>
- f2c-19970709.spec
- f2c.glibc.patch
- f2c.linux.patch
- f2c.tar
- $ su
- # cd /usr/src/redhat/SOURCES
- # cp <somewhere>/f2c.* .
- # cd ../SPECS
- # cp <somewhere>/f2c-19970709.spec .
- # rpm -ba --test f2c-19970709.spec
- # rpm -ba f2c-19970709.spec
This creates RPM packages:
- # ls ../SRPMS/
- f2c-19970709-1A.src.rpm
- # ls ../RPMS/ppc
- f2c-19970709-1A.ppc.rpm
- f2c-libs-19970709-1A.ppc.rpm
-
A Shell Wrapper for f2c.
Original FTPed from ftp://ftp.linuxppc.org/linuxppc/linux-2.0.28/redhat/RPMS/ppc/
- fort77-1.14a-1A.ppc.rpm
- $ su
- # rpm -i --force fort77-1.14a-1A.ppc.rpm
July 10, 1997
-
NFS daemon.
Original FTPed from ftp://ftp.linuxppc.org/RedHat/RPMS/
- nfs-server-2.2beta16-7B.ppc.rpm
- nfs-server-clients-2.2beta16-7B.ppc.rpm.
To install the binary packages do the following:
- $ su
- # rpm -qpl nfs-server-2.2beta16-7B.ppc.rpm
- # rpm -i --force nfs-server-2.2beta16-7B.ppc.rpm
- # rpm -qpl nfs-server-clients-2.2beta16-7B.ppc.rpm
- # rpm -i --force nfs-server-clients-2.2beta16-7B.ppc.rpm
Edit /etc/exports to tell to which machines you export your
file system:
- # vi /etc/exports
- / *.kek.jp(rw,anonuid=65535)
In this example, you export everything under the root
directory to any host in the "kek.jp" domain with read/write
permission. Dangerous huh? See the manpage for exports for
detail.
To start NFS, reboot or
- # /etc/rc.d/init.d/nfs start
Then you can do something like:
- $ rlogin foo.kek.jp
- $ ls /net/bar
assuming your machine is "bar" and "foo" is running an automounter.
-
A shared lib version of the lp daemon.
Original FTPed from ftp://ftp.linuxppc.org/RedHat/RPMS/
- lpr-0.19-1B.ppc.rpm
To install the binary package do the following:
- $ su
- # rpm -qpl lpr-0.19-1B.ppc.rpm
- # /etc/rc.d/init.d/lpd.init stop
- # rpm -i --force lpr-0.19-1B.ppc.rpm
Edit /etc/printcap to match your site:
- # vi /etc/printcap
- qms3g414:\
- :lp=:rp=lp:rm=qms3g414:sd=/var/spool/lpd/qms3g414:\
- :lf=/var/log/lpd-errs:
- # mkdir -p /var/spool/lpd/qms3g414
To start lpd, reboot or
- # /etc/rc.d/init.d/lpd.init start
Try something like:
- $ a2ps foo.txt | psnup -2 | lpr
- $ lpq
to see if it actually works. On my MkLinux box (8115/110) it worked.
July 8, 1997
BLT2.1+Tcl7.6jp/Tk4.2jp (Shared)
BLT extends tcl/tk so as to include hypertext, graph supports, etc.
An unofficial patch
has been prepared to compile it with tcl7.6 and tk4.2 (*1).
- $ cd /usr/local/src/blt
- $ tar -zxvf blt2.1.tar.gz
- $ cd blt2.1
- $ patch -p1 < ../blt2.1-tcl76-tk42.patch
- $ env 'CFLAGS=-O -DKANJI -DKINPUT2' configure -prefix=/usr/local
- $ make
- $ su
- # make install
- # chmod a+x /usr/local/lib/libBLT.so.2.1
- # pushd .
- # cd /usr/local/lib
- # ln -s libBLT.so.2.1 libBLT.so.2
- # popd
- # /sbin/ldconfig -v
- # exit
- $ vi Makefile
- ...
- LIBRARIES = -L/usr/local/lib -lBLT $(INCR_LIBS) $(STD_LIBS) $(EXTRA_LIBS)
- ...
- $ make
- $ su
- # make install
Notes:
- *1) The patch contains modifications for HPUX-10.X, too.
A ready-made binary package is here,
which can be tested by a demonstration package here.
-
Automount daemon.
Original FTPed from ftp://ftp.linuxppc.org/RedHat/
- RPMS/amd-920824upl102-6A.ppc.rpm
- SRPMS/amd-920824upl102-6A.src.rpm
and from ftp://ftp.linuxppc.org/linuxppc/linux-2.0.28/redhat/RPMS/ppc/
- portmap-4.0-3B.ppm.rpm
To install the binary packages do the following:
- $ su
- # rpm -i --force portmap-4.0-3B.ppc.rpm
- # rpm -qpl amd-920824upl102-6A.ppm.rpm
- # rpm -i --force amd-920824upl102-6A.ppm.rpm
- # /etc/rc.d/init.d/amd.init start
- # ls /net/foo
- ---> didn't work, though some dirs had been exported from foo.
Decided to build it from src:
- # rpm -i --force amd-920824upl102-6A.src.rpm
- # cp /usr/src/redhat/SOURCES/* .
- # tar -zxvf amd-upl102.tar.gz
- # cd amd-upl102
- # patch -p1 <../amd-nonis.patch
- # patch -p1 <../amd-upl102-glibc.patch
- # patch -p1 <../amd-upl102-shared.patch
- # patch -p4 <../amd.patch
- # make
- # su
- # make install
This just replaces /usr/sbin/amd, amq, fsinfo, hlfsd, mk-amd-map,
and wire-test.
- # /etc/rc.d/init.d/amd.init start
- # ls /net/foo
- ---> great! It works.
A ready-made binary package is here.
It's better to prepare an rpm, though:
- # rpm --rebuild amd-920824upl102-6A.src.rpm
The rebuilt rpm package is here.
July 6, 1997
Tkman-1.8b4
Tkman is a Tcl/Tk based man page viewer which supports
hyper-text links.
You need to install the shared tcl7.6jp/tk4.2
and the shared X11 beforehand.
- $ cd /usr/local/src/tkman
- $ tar -zxvf tkman-1.8b4.tar.gz
- $ cd tkman-1.8b4
- $ vi Makefile
- ...
- WISH = /usr/local/bin/wish
- BINDIR = /usr/local/bin
- MANDIR = /usr/local/man/man1
- manformat = {groff -Tascii -te -mandoc}
- manprint = {groff -man -Tps -te -l}
- glimpse = ""
- glimpseindex = ""
- ...
- $ vi tkman.tcl
- ---> Replace /etc/default/man by /etc/man.config
- $ make
- $ su
- # make install
Rman-2.4 (Shared)
This is necessary to make Tkman work.
- $ cd /usr/local/src/rman
- $ tar -zxvf rman-2.4.tar.gz
- $ cd rman-2.4
- $ make
- $ su
- # make install
A precompiled binary package is here.
Groff-1.10+j0.99 (Shared)
This too is necessary to make Tkman work.
Thanks to Yasutome, a binary package is available from Yasutome's FTP site.
- $ su
- # cd /
- # tar -zxpvf <somewhere>/groff-1.10+j0.99.shared.bin.tar.gz
Makewhatis
Makewhatis pdates or creates a whatis file in a man directory.
- $ tar -zxvf makewhatis.tar.gz
- $ cd makewhatis
- $ su
- # make install
Then do, for instance,
- # cd /usr/X11/man
- # /usr/local/bin/makewhatis .
to update the whatis file in the directory.
Tkps2.0
Tkps2.0 is a Tcl/Tk based interface to send signals to selected
processes.
- $ su
- # cd /
- # tar -zxpvf tkps2.0-bin.tar.gz
The script has been modified to be compatible with Tk4.0 or greater.
July 5, 1997
Xarchie v2.0.10 (Shared)
Original: ftp.u-aizu.ac.jp/pub/x11/X11R6-contrib/applications/xarchie-2.0.10.tar.gz
- $ cd /usr/local/src/xarchie
- $ tar -zxvf xarchie-2.0.10.tar.gz
- $ cd xarchie-2.0.10
- $ vi FWF/Dir/Imakefile
- ...
- DEFINES = -D_BRIREGEXP_H_ -DNO_REGEXP -D__DO_NOT_DEFINE_COMPILE
- ...
- $ sh ./configure
- $ xmkmf
- $ make World >& make.World &
- $ tail -f make.World
- ^C
- $ su
- # make install install.man
To make a ready-made binary package:
- # export DESTDIR=..
- # make install install.man
- # cd ..
- # tar -zcvf xarchie-2.0.10-bin.tar.gz
- # rm -rf usr
The modified source code is here.
July 4, 1997
-
Pstoedit allows one to traslate a PS file to various editable formats
including, tgif, xfig, gnuplot, etc.
Original: ftp.u-aizu.ac.jp/pub/x11/X11R6-contrib/applications/pstoedit/pstoedit.2.60.tar.gz
- $ cd /usr/local/src/pstoedit
- $ tar -zxvf pstoedit.2.60.tar.gz
- $ cd pstoedit.2.60
- $ more readme.txt
- $ cd src
- $ cp makefile makefile.ORIG
- $ vi makefile
- ...
- BINDIR=/usr/local/bin
- MANDIR=/usr/local/man
- MANEXT=1
- ...
- CCC=g++ -pedantic -Wall -Wwrite-strings -Wcast-qual -O2
- ...
- LDFLAGS=-lm -static
- ...
- $(INSTALL) pstoedit.man $(MANDIR)/man$(MANEXT)/pstoedit.$(MANEXT)
- ...
- $ make
- $ make test
- $ su
- # make install
To make a ready-made binary package:
- # cd ../..
- # mkdir -p usr/local/bin
- # mkdir -p usr/local/man/man1
- # cp -p /usr/local/bin/pstoedit usr/local/bin/.
- # cp -p /usr/local/man/man1/pstoedit.1 usr/local/man/man1/.
- # tar -zcvf pstoedit.2.60-bin.tar.gz usr
- # rm -rf usr
July 3, 1997
kaffe-0.9.1 (Shared)
A free JAVA virtual machine:
Original from: ftp://ftp.webcity.co.jp/pub/andoh/java/kaffe/
- kaffe-0.9.1.tar.gz
- kaffe-0.9.1-package-javasoft.com.tar.gz
- kaffe-0.9.1-package-biss-net.com.tar.gz
and from: http://opera.inrialpes.fr/tools/Kaffe/messages/
- interp.patch
- $ cd /usr/local/src/kaffe
- $ tar -zxvf kaffe-0.9.1.tar.gz
- $ tar -zxvf kaffe-0.9.1-package-javasoft.com.tar.gz
- $ tar -zxvf kaffe-0.9.1-package-biss-net.com.tar.gz
- $ rm *.tar.gz
- $ cd kaffe-0.9.1/kaffe
- $ patch -p2 <../../interp.patch
- $ cd ..
- $ sh configure --prefix='/usr/local/kaffe'
- $ make >& make.log &
- $ tail -f make.log
- $ ^C
- $ su
- # make install >& make.install.log &
- # tail -f make.install.log
- # ^C
- # exit
- $ export CLASSPATH=.\:/usr/local/kaffe/share/kaffe/classes.zip\:/usr/local/kaffe/share/kaffe/biss.zip
- $ export KAFFEHOME=/usr/local/kaffe/share/kaffe
- $ export PATH=/usr/local/kaffe/bin\:$PATH
- $ make test
- ---> All tests passed.
Now it's ready to use!
Appletviewer doesn't work!
Found that biss-AWT is not JDK1.1 compatible yet.
Give up now and wait for the new version of biss-AWT.
Jun 29, 1997
-
Instead of installing English version of tcl7.6/tk4.2, rebuild xhfs with
the shared tcl7.6jp/tk4.2jp
and the shared X11.
- $ cd /usr/local/src
- $ mkdir hfsutils
- $ cd hfsutils
- $ ftp ftp.cc.miyazaki-u.ac.jp
- ftp> cd pub1/Mac-UNIX/MkLinux/MkLinux_DR2.1/FullRelease/Archives/rpm.src
- ftp> get hfsutils-1.17b-1.src.rpm
- ftp> bye
- $ su
- # rpm -i hfsutils-1.17b-1.src.rpm
- # exit
- $ tar -zxvf /usr/src/redhat/SOURCES/hfsutils-1.17b.tar.gz
- $ cd hfsutils-1.17b
- $ more INSTALL
- $ vi Makefile
- ...
- INCLUDES = -I/usr/local/include
- ...
- DEFINES = -DKANJI -DKINPUT2
- ...
- TCLLIBS = -L/usr/local/lib -ltcl7.6 -lm
- TKLIBS = -ltk4.2
- ...
- COPTS = -g -O2
- ...
- LDFLAGS = -Llibhfs -ldl
- ...
- $ make all_tcl
- $ su
- # make install_tcl
Note that only the tcl part (i.e. xhfs) of the program is built
here and configured to be installed into /usr/local instead of /usr
for fear it might destroy a working version of CUI-based hfsutils.
To make a ready-made binary package
- # mkdir -p ../usr/local/bin
- # mkdir -p ../usr/local/man/man1
- # vi Makefile
- DESTDIR = /usr/local/src/hfsutils/usr/local
- # make install_tcl
- # cd ..
- # tar -zcpvf xhfs-1.17b-bin.tar.gz usr
- # rm -rf usr
- # exit
- $ make clean
The binary package is here
Jun 28, 1997
Apply Update 3
Update record is here.
Jun 15, 1997
Update Shared Libs
- $ ftp ftp.linuxppc.org
- ftp> cd linuxppc/linux-2.0.28/redhat/RPMS/ppc/
- ftp> get
- glibc-0.961212-1M.ppc.rpm
- glibc-devel-0.961212-1M.ppc.rpm
- glibc-info-0.961212-1M.ppc.rpm
- glibc-static-0.961212-1M.ppc.rpm
- ftp> bye
- $ su
- # rpm -i --nodeps --force glibc*
- # /sbin/ldconfig -v
- # /sbin/shutdown -r now
Jun 10, 1997
Tkmail (Shared)
A Tcl/Tk-based mailer:
Requires the shared tcl7.6jp/tk4.2jp
and the shared X11.
- $ cd tkmail-4.0beta8
- $ vi scripts/tkmail
- ---> kanji internalCode JIS
- ---> set mfp(debug) 0
- ....
- if {![auto_execok $mfp(dotlock)]} {
- looks like this is no longer allowed.
- ---> if { [auto_execok $mfp(dotlock)] == "" } {
- $ vi scripts/viewer.tcl
- default bitmpas ------> tkmail.xbm
tknewmail.xbm
tkcompose.xbm
- $ vi scripts/Makefile.in
- default bitmpas ------> tkmail.xbm
- tknewmail.xbm
- tkcompose.xbm
- $ vi scripts/example.tkmail4rc
- set tk_dir /usr/local/lib/tk4.2jp
- source $tk_dir/kinput.tcl
- $ vi Config.mk
- CFLAGS = -O -DKANJI -DKINPUT2
- TK_INC = -I/usr/local/include
- TCL_INC =
- TK_LIB = -L/usr/local/lib -ltk4.2 -ljpeg
- TCL_LIB = -L/usr/local/lib -ltcl7.6 -lm
- BITMAPDIR = /usr/local/include/X11/bitmaps
- ISPELLLIB = /usr/local/lib/ispell
- $ configure
- $ make
Make failed due to dereference to incomplete type:
- fstat(dd->dd_fd, &statbuf)
where struct DIR *dd is not explicitly defined in the
shared lib version of MkLinux!
- $ vi mfv/mfv.c
- .....
- /* KF
- if (fstat(dd->dd_fd, &statbuf) == -1 ) return -1;
- */
- .....
- /* KF Start */
- /*
- if (fstat(dd->dd_fd, &statbuf) == -1 ) {
- result = -1; goto done;
- }
- */
- if (stat(fromDir, &statbuf) == -1 ) {
- result = -1; goto done;
- }
- /* KF End */
- $ make
- $ su
- # make install
- # chown bin:mail /usr/local/bin/dotlock
- # chmod g+s /usr/local/bin/dotlock
To make a ready-made binary package
- # vi Config.mk
- INSTALL_ROOT = /usr/local/src/tkmail
- # mkdir -p ../usr/local/bin
- # mkdir -p ../usr/local/lib
- # make install
- # chown bin:mail ../usr/local/bin/dotlock
- # chmod g+s ../usr/local/bin/dotlock
- # vi Config.mk
- INSTALL_ROOT =
- # make clean
- # cd ..
- # tar -zcvf tkmail-4.0beta8-bin.tar.gz usr
You may want to install bitmaps, too:
- # cd /
- # tar -zxvf <somewhere>/tkmail-bitmaps.tar.gz
Xcalc (Shared)
You know what this is.
- $ xmkmf -a
- $ make
- $ su
- # make install
- # make install.man
tdr (Shared)
Tdr is a unix port of TOPDRAWER.
- $ unset LANG
- $ make compile
- $ make lib
- $ make tdr
- $ su
- # make install
Jun 8, 1997
xaw3d-1.3 Rebuilt with -DUSEGRAY option (Shared)
With this and the shared X libraries, you can lift
2D applications to the 3D world.
- $ vi Imakefile
- #define IncSubdir X11/Xaw3d
- EXTRA_DEFINES = -DARROW_SCROLLBAR -DUSEGRAY
- EXTRA_INCLUDES = -I.
- $ xmkmf -a
- $ make
- $ su
- # make install
To make a reday-made binary package
- # mkdir -p ../usr/X11R6.3/include/X11
- # mkdir -p ../usr/X11R6.3/lib
- # export DESTDIR=/usr/local/src/xaw3d
- # make install
- # make clean
- # cd ..
- # tar -zcvf Xaw3d-1.3-bin.tar.gz usr
- # rm -rf usr
Replace 2D Xaw by 3D Xaw3d
- # cd /usr/X11R6.3/lib
- # rm libXaw3d.a libXaw.so libXaw.so.6
- # ln -s libXaw3d.so.6.1 libXaw.so
- # ln -s libXaw3d.so.6.1 libXaw.so.6
This lifts applications compiled with the shared Xaw library to
the 3D world.
Kterm (Shared)
- $ xmkmf -a
- $ make
- $ su
- # make install
- # make install.man
To make a reday-made binary package
- # mkdir -p ../usr/X11R6.3/bin
- # mkdir -p ../usr/X11R6.3/man
- # mkdir -p ../usr/X11R6.3/lib/X11/app-defaults
- # export DESTDIR=/usr/local/src/kterm
- # make install
- # make install.man
- # make clean
- # cd ..
- # tar -zcvf kterm-6.2.0-bin.tar.gz usr
- # rm -rf usr
Try to fix finger
- $ su
- # rpm -i --force NetKit-B-0.08-13B.ppc.rpm
- /etc/rc.d/init.d/inet saved as /etc/rc.d/init.d/inet.rpmorig
- ---> Couldn't rlogin!
- ---> Had to do
- # cd /lib
- # ln -s /usr/local/lib/libncurses.so.1.9.9e libncurses.so.2.0
- ---> OK
DR2.1update3 made this obsolete (97/06/28).
Try to fix top
- $ su
- # rpm -i --force --nodeps procps-1.01-5B.ppc.rpm
- ---> OK
DR2.1update3 made this obsolete (97/06/28).
May 31, 1997
Updated X11R6.3
See Yasutome 5/28
Notice, the new version was overwritten the previous one
without removing beforehand, so that most of the installed
applications would remain active.
Reinstall Xaw3d and fvwm2, since they were overwritten.
May 27, 1997
guavac-0.3 (Shared)
Original: ftp://summit.stanford.edu/pub/guavac/guavac.tar.gz
- $ cd /usr/local/guavac/guavac-0.3
- $ ./configure --prefix=/usr/local/guavac
- $ make
- $ su
- # mkdir /usr/local/guavac
- # make install
- # exit
- $ vi ~/.cshrc
- add /usr/local/guavac/bin to PATH
- remove KAFFEHOME, CLASSPATH definitions
- $ guavac XSectionApplet.java
It's fast!
compiled byte codes work fine on HPUX.
May 25, 1997
sed-2.05
- $ su
- # rpm -i --nodeps --force sed-2.05-4.ppc.rpm
kaffe-0.9.0 (Shared)
Original: ftp://ftp.webcity.co.jp/pub/andoh/java/kaffe/
- kaffe-0.9.0.tgz
- kaffe-0.9.0-package-javasoft.com.tgz
- kaffe-0.9.0-package-biss-net.com.tgz
- $ cd /usr/local/src/kaffe
- $ tar -zxvf kaffe-0.9.0.tgz
- $ tar -zxvf kaffe-0.9.0-package-javasoft.com.tgz
- $ tar -zxvf kaffe-0.9.0-package-biss-net.com.tgz
- $ rm *.tgz
- $ cd kaffe-0.9.0/kaffe/kaffevm
- $ patch < external.c.patch
- $ cd ../..
- $ sh configure --prefix='/usr/local/kaffe'
- $ make >& make.log &
- $ tail -f make.log
- $ ^C
- $ su
- # make install >& make.install.log &
- # tail -f make.install.log
- # ^C
- # vi ~/.cshrc
- setenv CLASSPATH .\:/usr/local/kaffe/share/kaffe/classes.zip\:/usr/local/kaffe/share/kaffe/biss.zip
- setenv KAFFEHOME /usr/local/kaffe/share/kaffe
- setenv PATH /usr/local/kaffe/bin\:$PATH
Now it's ready to use!
Appletviewer doesn't work!
Found that biss-AWT is not JDK1.1 compatible yet.
Give up now and wait for the new version of biss-AWT.
May 24, 1997
fvwm2-2.0.45 (Shared)
- $ tar -zxvf fvwm-2.0.45.tar.gz
- $ cd fvwm-2.0.45
- $ more INSTALL
- $ vi Fvwm.tmpl
- $ xmkmf -a
- $ make >& make.log &
- $ tail -f make.log
- $ ^C
- $ su
- # make install >& make.install.log &
- # tail -f make.install.log
- # ^C
- # make install.man >& make.install.man &
- # tail -f make.install.man
- # ^C
To make a ready-made binary package
- # cd ..
- # mkdir -p usr/X11R6.3/bin
- # mkdir -p usr/X11R6.3/lib/X11
- # mkdir -p usr/X11R6.3/man/man1
- # export DESTDIR=/usr/local/src/fvwm2
- # cd fvwm-2.0.45
- # make install
- # make install.man
- # cd ..
- # tar -zcvf fvwm-2.0.45-bin.tar.gz usr
- # rm -rf usr
- # make clean
May 20, 1997
Update Shared Libs
- $ ftp ftp.linuxppc.org
- ftp> cd linuxppc/linux-2.0.28/redhat/RPMS/ppc/
- ftp> get
- glibc-0.961212-1K.ppc.rpm
- glibc-devel-0.961212-1K.ppc.rpm
- glibc-info-0.961212-1K.ppc.rpm
- glibc-static-0.961212-1K.ppc.rpm
- ftp> kernel-headers-2.0.28-1C.ppc.rpm
- ftp> bye
- $ su
- # rpm -i --nodeps --force glibc*
- # rpm -i --nodeps --force kernel-headers-2.0.28-1C.ppm.rpm
- # /sbin/ldconfig -v
- # /sbin/shutdown -r now
May 13, 1997
Reinstalling X Applications
jpeg-6a, libpng-0.89c, ncftp-2.4.2, ncurses-1.9.9e, zlib-1.0.2
from Yasutome's FTP Site.
- $ su
- # cd /
- # tar -zxvf /usr/local/src/yasutome/<package>.tar.gz
Tcl7.6jp Rebuilt with Shared Libs
- $ cd /usr/local/src/tcl_tk
- $ tar -zxvf tcl7.6jp.tar.gz
- $ cd tcl7.6/unix
- $ make distclean
- $ ./configure --enable-shared
- $ make
- $ su
- # make install
- # cd /usr/local/lib
- # rm libtcl7.6jp.a libtcl7.6.a libtcl.a
- # ln -s libtcl7.6jp.so libtcl7.6.so
- # ln -s libtcl7.6jp.so libtcl.so
To make a ready-made binary package:
- # vi Makefile
- INSTALL_ROOT = /usr/local/src/tcl_tk
- # make install
Tk4.2jp Rebuilt with Shared Libs
- $ cd /usr/local/src/tcl_tk
- $ tar -zxvf tk4.2jp.tar.gz
- $ cd tk4.2/unix
- $ make distclean
- ./configure --enable-shared
- $ make
- $ su
- # make install
- # cd /usr/local/lib
- # rm libtk4.2jp.a libtk4.2.a libtk.a
- # ln -s libtk4.2jp.so libtk4.2.so
- # ln -s libtk4.2jp.so libtk.so
- # ldconfig -v
Note: unix/Makefile.in has been modified to install tkWStr.h
to /usr/local/include together with tk.h. This is necessary
to compile applications using tcl/tk libs with -DKANJI and
-DKINPUT2 options.
To make a ready-made binary package:
- # vi Makefile
- INSTALL_ROOT = /usr/local/src/tcl_tk
- # make install
- # cd ../..
- # cd usr/local/bin
- # ln -s tclsh7.6jp tclsh7.6
- # ln -s tclsh7.6jp tclsh
- # ln -s wish4.2jp wish4.2
- # ln -s wish4.2jp wish
- # cd ../../../usr/local/lib
- # ln -s libtcl7.6jp.so libtcl7.6.so
- # ln -s libtcl7.6jp.so libtcl.so
- # ln -s libtk4.2jp.so libtk4.2.so
- # ln -s libtk4.2jp.so libtk.so
- # ln -s tcl7.6jp tcl7.6
- # ln -s tcl7.6jp tcl
- # ln -s tk4.2jp tk4.2
- # ln -s tk4.2jp tk
- # tar -zcvf tcl7.6jp-tk4.2jp-bin.tar.gz usr
Japanized Tkdesk v1.04b Rebuilt with Shared Libs
- $ cd /usr/local/src/tkdesk
- $ tar -zxvf tkdesk-1.0b4.tar.gz
- $ cd tkdesk-1.0b4
- $ make
- $ su
- # make install
To make a ready-made binary package:
- # vi Makefile
- INSTALL_ROOT = /usr/local/src/tkdesk
- # make install
- # cd ..
- # tar -zcvf tkdesk-1.0b4-bin.tar.gz usr
xaw3d-1.3 Rebuilt with Shared Libs
- $ xmkmf -a
- $ make
- $ su
- # make install
- # cd /usr/X11R6.3/lib
- # rm libXaw3d.a libXaw.so libXaw.so.6
- # ln -s libXaw3d.so.6.1 libXaw.so
- # ln -s libXaw3d.so.6.1 libXaw.so.6
ghostview v1.5 Rebuilt with Shared Libs
- $ xmkmf -a
- $ vi misc.c, SelFile.c
- /* 97/05/12 K.Fujii
- extern char *sys_errlist[];
- */
- $ make
- $ su
- # make install
- # make install.man
Xdvik v18f Rebuilt with Shared Libs
- $ make distclean
- $ ./configure
- $ vi xdvik/sfSelFile.c
- /* 97/05/12 K.Fujii
- extern char *sys_errlist[];
- */
- $ make
- $ cd xdvik
- $ su
- # make install
- # make install.man
xcalendar Rebuilt with Shared Libs
- $ xmkmf -a
- $ make
- $ su
- # make install
To prepare ready-made binary
- # export DESTDIR=/usr/local/src/xcalendar
- # make install
- # make clean
- # cd ..
- # tar -zcvpf xcalendar.tar.gz xcalendar
- # tar -zcvpf xcalendar-bin.tar.gz usr
- # rm -rf xcalendar usr
- # exit
May 11, 1997
Shared X11
Follow Yasutome's prescription of d970416
- cd /usr
- rm -rf X11 X11R6 X11R6.1 X11R6.3
- tar -zxpvf /usr/local/src/shared/X11R6.3.tar.gz
- ln -s X11R6.3 X11
- ln -s X11R6.3 X11R6
- ln -s X11R6.3 X11R6.1
- mv /usr/bin/X11/Xpmac /usr/bin/X11/Xpmac.bak
- mv /usr/local/src/shared/Pmac-970339 /usr/bin/X11/Xpmac
- chown root:sys /usr/bin/X11/Xpmac
- chmod 4711 /usr/bin/X11/Xpmac
- cat > /etc/ld.so.conf
- /lib
- /usr/lib
- /usr/X11/lib
- ^D
- ldconfig -v
Reinstallation of X-related Applications
- kterm, xterm, xftp, xcalc, xaw3d, ghostview, kinput2,
- xarchie, xfig, xv
- -----> No big deal! All from precompiled binaries.
- Better rebuild them with shared libraries, though.
wnn v4.2 Rebuilt (see below)
cann 3.5b2 shared (from Yasutome's site)
kinput2 v2-fix3 Rebuilt (see below)
---> Doesn't work.
Found that Sugita found it's a problem with shared lib.
He says its libXt.so that is bad.
---> Decided to live with the static version.
May 7, 1997
Updating Shared Library
Reinstall lang tools to allow shared libraries according to Yasutome's
prescription
- $ ftp ftp.linuxppc.org
- ftp> cd linuxppc/linux-2.0.28/redhat/RPMS/ppc/
- ftp> get
- gcc-2.7.2-2H.ppc.rpm
- gcc-c++-2.7.2-2H.ppc.rpm
- gcc-objc-2.7.2-2H.ppc.rpm
- glibc-0.961212-1J.ppc.rpm
- glibc-devel-0.961212-1J.ppc.rpm
- glibc-info-0.961212-1J.ppc.rpm
- glibc-static-0.961212-1J.ppc.rpm
- libtermcap-2.0.8-2B.ppc.rpm
- libtermcap-devel-2.0.8-2B.ppc.rpm
- ftp> bye
- $ su
- # rpm -i --nodeps --force glibc* libtermcap*
- # /sbin/ldconfig
- # /sbin/shutdown -r now
- $ su
- # rpm -i --force gcc-2*
- # rpm -i --force gcc-c* gcc-o*
f2c v19970404 (Shared)
Original from :MkArchive@miyazaki-u
- $ tar -zxvf f2c.tar.gz
- $ cd f2c
- $ su
- # cp src/f2c.h /usr/include/.
- # exit
- $ cd src
- $ make clean
- $ cd ../libF77
- $ make clean
- $ cd ../libI77
- $ make clean
- $ cd ../libF77
- $ make
- $ cd ../libI77
- $ vi makefile
- add -D_POSIX_SOURCE to CFLAGS
- $ make
- $ cd ..
- $ cp libF77/libF77.a libf2c.a
- $ ar ruv libf2c.a libI77/*.o
- $ ranlib libf2c.a
- $ su
- # mv libf2c.a /usr/lib
- # exit
- $ cd src
- $ make all
- $ su
- # mv f2c /usr/bin
- # mv f2c.1 /usr/man/man1
A precompiled binary package here
became obsolete as of July 12, 1997.
fort77 v1.11-1 (Works with the f2c Above)
- $ tar -zxvf fort77-1.11-1.tar.gz
- $ cd fort77-1.11
- $ cd fort77
- $ su
- # make install
This package became obsolete as of 97/07/12.
kernel-headers-2.0.28-1C
- $ su
- # rpm -i --force kernel-headers-2.0.28-1C.ppc.rpm
wnn v4.2 (Partially Shared: See Below)
- $ cd /usr/local/src/wnn
- $ ls
- Wnn4.2.tar.gz
- Wnn4.2.X11R6.1
- $ tar -zxvf Wnn4.2.tar.gz
- $ cd Xsi
- $ vi README
- $ patch -p1 <../Wnn4.2.X11R6.1
- $ vi Wnn/include/config.h
- #ifndef LIBDIR
- #define LIBDIR "/usr/local/wnn/lib/wnn"
- #endif /* LIBDIR */
- $ cp config/Project.tmpl config/X11.tmpl
- $ vi config/X11.tmpl
- #define WnnInstallDicForcibly YES
- EXTRA_LIBRARIES = -lcrypt <--- Important(*1)
- WNNEXTRAFLAGS = -static <--- Important(*2)
- MANPATH = /usr/local/wnn/man
- WNNWNNDIR = /usr/local/wnn/lib/wnn
- WNNBINDIR = /usr/local/wnn/bin
- WNNINCDIR = /usr/local/wnn/include
- WNNLIBDIR = /usr/local/wnn/lib
- $ vi Wnn/jlib/js.c
- (caddr_t) --> (struct sockaddr *) <--- Important(*3)
- $ vi Wnn/jserver/Imakefile
- EXTRA_LDOPTIONS = $(WNNEXTRALDFLAGS) <--- Important(*2)
- $ vi cWnn/jserver/Imakefile
- EXTRA_LDOPTIONS = $(WNNEXTRALDFLAGS) <--- Important(*2)
- $ vi kWnn/jserver/Imakefile
- EXTRA_LDOPTIONS = $(WNNEXTRALDFLAGS) <--- Important(*2)
- $ vi Xwnmo/xwnmo/do_socket.c, do_xjpdrct.c
- extern int read(), write(); --> extern ssize_t ...
- $ vi Xwnmo/xwnmo/killxwnmo.c
- extern int getuid(); --> extern uid_t getuid();
-
- $ su
- # cd /usr/include
- # ln -s ncurses/term.h term.h <--- Important(*4)
- # exit
-
- $ make World -f Makefile.inst >& make.World.log &
- $ tail -f make.World.log
- $ ^C
- $ su
- # vi /etc/group
- add wnn (GID=127)
- # vi /etc/passwd
- add wnn (UID=127)
- # make install >& make.install.log &
- # tail -f make.install.log
- # ^C
- # make install.man >& make.install.man.log &
- # tail -f make.install.man.log
- # ^C
- # cd /usr/local/src/wnnhindo
- # vi Makefile
- add -lcrypt to link process
- # make
- # make install
- # make clean
- # cd /usr/local/src/wnn/Xsi
- # make clean
- # cd /usr/local/wnn/lib/wnn/ja_JP/dic/pubdic
- # /usr/local/wnn/bin/Wnn4/wnntouch *
- # exit
The above configuration installs Wnn4.2 into a single directory,
which requires the following to use it with kinput2, unless
your kinput2 has been configured accordingly:
- $ cd
- $ vi .bash_profile
- ...
- export WNNENVRC=/usr/local/wnn/lib/wnn/ja_JP/wnnenvrc
Or, if you are a tcsh user:
- % cd
- % vi .cshrc
- ...
- setenv WNNENVRC /usr/local/wnn/lib/wnn/ja_JP/wnnenvrc
Now you can use Wnn4.2 by
- $ kill <PID of "kinput2 -canna -kinput">
- $ kinput2 -wnn -kinput
Notes
- *1) Somehow crypt is not in libc after moving to shared lib.
- *2) sharedlib does not work correctly.
- ---> jserver dies immediately after "kinput2 -wnn -kinput".
- *3) Incompatible type error occured.
- *4) term.h is not in the standard place.
kinput2
- $ mkdir kinput2
- $ cd kinput2
- tar -zxvf kinput2-v2-fix1.tar.gz
- patch -p <../kinput2-v2.fix.2
- $ patch -p <../kinput2-v2.fix.3
- $ vi doc/resources
- /usr/local/wnn/lib/wnn/wnnenvrc
- $ vi cmd/kinput2.man
- /usr/local/wnn/lib/wnn/wnnenvrc
- $ vi Kinput2.conf
- #define UseWnn /* define if you are going to use Wnn */
- #define UseCanna /* define if you are going to use Canna */
- #define WnnLibDir /usr/local/wnn/lib/wnn
- WNNINCDIR = /usr/local/wnn/include/wnn
- WNNLIB = -L/usr/local/wnn/lib -lwnn
- CANNAINSTDIR = /usr/local/canna
- CANNASRC = $(CANNAINSTDIR)/include
- CANNALIB = -lcanna16
-
- $ vi ccdef/rule.eggfunc
- # "" '^M' "" carriage-return
- "" '^M' "" fix-or-cr
- vi ccdef/ccdef.kinput2
- $ # include 'rule.func'
- include 'rule.eggfunc'
-
- # "" shift-space "" end-conversion goto Kana
- "" '^\\' "" end-conversion goto Kana
- vi lib/jilib.c
- /usr/local/lib/wnn ---> /usr/local/wnn/lib/wnn
- $ vi lib/cconv.c
- tried to make getline consistent with that in stdio.h.
- unsuccessful so far.
- ---> segmentation fault.
- $ vi cmd/Imakefile
- EXTRA_LIBRARIES = -lcrypt
-
- $ xmkmf -a
- $ make >& make.log &
- $ tail -f make.log
- $ ^C
- $ su
- # make install >& install.log &
- # tail -f make.log
- # ^C
- # make install.man
- # make clean
Note
Installed
- kinput2 installed as /usr/X11R6.3/bin/kinput2
- Kinput2 installed as /usr/X11R6.3/lib/X11/app-defaults/Kinput2
- ccdef/* installed as /usr/X11R6.3/lib/X11/ccdef/*
- kinput2.n installed as /usr/X11R6.3/man/mann/kinput2.n
Apr 18, 1997
Ghostview
- $ xmkmf
- $ make
- $ su
- # make install
Xdvi
- $ cd xdvik
- $ patch -p <../../xdvik18f-j1.1p5.patch
- $ cd ..
- $ ./configure
- $ make
- $ cd xdvik
- $ su
- # make install
A2ps
- $ su
- # cp a2ps /usr/local/bin/a2ps
Psutils
- # make
- # su
- # make install
- # make veryclean
Tkispell
- # make
- # su
- # make install.all
Xcalc
- # xmkmf
- # make
- # su
- # make install
- # make install.man
Shared Language Tools
Reinstall lang tools to allow shared libraries according to Yasutome's
prescription
- $ ftp ftp.linuxppc.org
- ftp> cd linuxppc/linux-2.0.28/redhat/RPMS/ppc/
- ftp> get
- glibc-0.961212-1I.ppc.rpm
- glibc-devel-0.961212-1I.ppc.rpm
- glibc-info-0.961212-1I.ppc.rpm
- glibc-static-0.961212-1I.ppc.rpm
- libtermcap-2.0.8-2A.ppc.rpm
- libtermcap-devel-2.0.8-2A.ppc.rpm
- ldconfig-1.8.1-3A.ppc.rpm
- gdbm-1.7.3-8A.ppc.rpm
- gcc-2.7.2-2G.ppc.rpm
- binutils-2.7-1D.ppc.rpm
- kernel-headers-2.0.28-1B.ppc.rpm
- gcc-c++-2.7.2-2G.ppc.rpm
- libg++-2.7.1.4-4E.ppc.rpm
- libg++-devel-2.7.1.4-4E.ppc.rpm
- ftp> bye
- $ su
- # rpm -i --nodeps --force glibc* libtermcap* ldconfig* gdbm*
- # /sbin/ldconfig
- # /sbin/shutdown -r now
- $ su
- # rpm -i --force gcc-2* binutils* kernel*
- # rpm -i --force gcc-c++* libg++*
Xftp
FTP for those who prefer GUI to CUI:
- $ cd /usr/src/mkarchive/xftp
- $ su
- # rpm -i --force llnlxftp-2.1-1.ppc.rpm
Apr 15, 1997
Thanks to Yasutome
Binaries from Yasutome's FTP Site:
- VFlib2.22.bin+zeit_font.tar.gz
- ascii-ptex214.bin.tar.gz
- groff-1.10+j0.99.bin.tar.gz
- gs4.03+vflib.bin.tar.gz
- jperl5.003_05.patch7_1+ISO-2022-JP-1.0-b1.bin.tar.gz
- libpng-0.89c.bin.tar.gz
- ncftp-2.4.2.bin.tar.gz
- transfig.3.1.2-j3.bin.tar.gz
- xarchie-2.0.10+Xaw3d.bin.tar.gz
- xfig.3.1.4-j3+Xaw3d.bin.tar.gz
- xv-3.10a+jp5.1.13.bin.tar.gz
- zlib-1.0.2.bin.tar.gz
Xaw3d
- $ xmkmf
- $ make Makefile
- $ make includes
- $ make depend
- $ make
- $ su
- # make install
- # cd /usr/X11R6.3/include/X11
- # mv Xaw Xaw.ORIG
- # ln -s /usr/X11R6.3/include/X11/Xaw3d Xaw
- # cd /usr/X11R6.3/lib
- # mv libXaw.a libXaw.a.ORIG
- # ln -s /usr/X11R6.3/lib/libXaw3d.a libXaw.a
Kterm
- $ xmkmf
- $ make
- $ su
- # make install
- # make install.man
- # exit
To allow japanese input, prepare $HOME/.inputrc.
- $ vi ~/.inputrc
- $ set convert-meta off
- $ set meta-flag on
- $ set output-meta on
Xterm
- $ xmkmf
- $ make
- $ su
- # make install
- # make install.man
Jpeg6a
- $ su
- # cd /
- # tar -zxvf /usr/local/src/jpeg6/jpeg-6a.bin.tar.gz
Back to Keisuke Fujii's MkLinux Page
fujiik@jlcuxf.kek.jp May 12, 1997