Solaris2.6 for x86へのソフトウェアのインストール

まずパッケージでgzip,gccをインストールする. これをしないと始まらない. sunsiteのミラー などからもってこれる.

ソフトウェアの分類として,FreeBSDのports的な分け方をしてます.

mh-6.8.3 + patches
xanim-27064
make amd-upl102 in i386-pc-solaris2.6
CF and sendmail
Solaris emulator for linux binary

archiver| audio| converters| devel| editor| emulators| gnu| graphics| japanese| jtex| lang| mail| math| misc| net| news| print| security| shells| sys| tex| www| x11| yuuji


archiver

installed tar-1.12
	./configure --with-gcc --build=i386-pc-solaris2.6
installed gzip-1.2.4
	./configure

audio

converters

installed uudeview-0.5.13
        root@pluto{/export/solaris/make/converters/uudeview-0.5.13}# ./configure
 --host=i386-pc-solaris2.6 --disable-tcl --disable-minews
        make install prefix=/export/solaris/uudeview-0.5.13
        onpkgtool -i /import/solaris/uudeview-0.5.13

devel

installed make-3.76.1
	./configure --with-gcc --build=i386-pc-solaris2.6

installed binutils-2.8.1
	./configure --with-gcc --build=i386-pc-sysvr4
installed binutils-2.8.1's info-files
uninstalled binutils-2.8.1 at 1999年02月06日 (土) 21時48分10秒 JST

installed gcc-2.8.0
	./configure --with-gcc --build=i386-pc-solaris2.6

installed patch-2.5
	./configure --with-gcc --host=i386-pc-solaris2.6

installed libg++-2.8.0

installed gdb-4.16
##########################################################################
root@pluto{/export/solaris/make/devel/gdb-4.16}# make install
Making /usr/local...
Making /usr/local...
Making /usr/local/i386-pc-solaris2.6...
make[1]: Entering directory `/export/solaris/make/devel/gdb-4.16/bfd'
for f in libbfd.a; do \
  if [ "$f" = "stamp-tshlink" ]; then \
    continue; \
  fi; \
  tf=lib`echo $f | sed -e 's/^lib//' | sed 's,x,x,'`; \
  rm -f /usr/local/lib/$tf; \
  if [ "$f" = "unused-shlink" ]; then \
    ts=lib`echo unused-shlib | sed -e 's/^lib//' | sed 's,x,x,'`; \
    ln -sf $ts /usr/local/lib/$tf; \
  elif [ "$f" = "unused-shlib" ]; then \
    /export/solaris/make/devel/gdb-4.16/install.sh -c $f /usr/local/lib/$tf; \
  else \
    /export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 $f /usr/local/lib/$tf; \
    true /usr/local/lib/$tf; \
    chmod a-x /usr/local/lib/$tf; \
  fi; \
done
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 bfd.h /usr/local/include/bfd.h
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 ./../include/ansidecl.h /usr/local/include/ansidecl.h
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 ./../include/bfdlink.h /usr/local/include/bfdlink.h
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 ./../include/obstack.h /usr/local/include/obstack.h
if test -z ""; then true; else \
test -d  || mkdir ; \
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 bfd.h /bfd.h; \
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 ./../include/ansidecl.h /ansidecl.h; \
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 ./../include/bfdlink.h /bfdlink.h; \
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 ./../include/obstack.h /obstack.h; \
make subdir_do DO=install "DODIRS=doc" "prefix=/usr/local" \
"exec_prefix=/usr/local" "against=" "AR=ar" "AR_FLAGS=cr" \
"CC=gcc -O2" "CC_FOR_BUILD=gcc -O2" "CFLAGS=-g" "RANLIB=true" \
"MAKEINFO=makeinfo " \
"INSTALL=/export/solaris/make/devel/gdb-4.16/install.sh -c" \
"INSTALL_DATA=/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644"\
"INSTALL_PROGRAM=/export/solaris/make/devel/gdb-4.16/install.sh -c"; \
fi
make[1]: Leaving directory `/export/solaris/make/devel/gdb-4.16/bfd'
make[1]: Entering directory `/export/solaris/make/devel/gdb-4.16/etc'
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 ./configure.man /usr/local/man/man1/configure.1
make[1]: Leaving directory `/export/solaris/make/devel/gdb-4.16/etc'
make[1]: Entering directory `/export/solaris/make/devel/gdb-4.16/libiberty'
make[2]: Entering directory `/export/solaris/make/devel/gdb-4.16/libiberty'
make[2]: Leaving directory `/export/solaris/make/devel/gdb-4.16/libiberty'
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 libiberty.a /usr/local/lib/libiberty.a.n
( cd /usr/local/lib ; true /usr/local/lib/libiberty.a.n )
mv -f /usr/local/lib/libiberty.a.n /usr/local/lib/libiberty.a
make[1]: Leaving directory `/export/solaris/make/devel/gdb-4.16/libiberty'
make[1]: Entering directory `/export/solaris/make/devel/gdb-4.16/mmalloc'
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 libmmalloc.a /usr/local/lib/libmmalloc.a.n
true /usr/local/lib/libmmalloc.a.n
mv -f /usr/local/lib/libmmalloc.a.n /usr/local/lib/libmmalloc.a
make[1]: Leaving directory `/export/solaris/make/devel/gdb-4.16/mmalloc'
make[1]: Entering directory `/export/solaris/make/devel/gdb-4.16/opcodes'
for f in libopcodes.a; do \
  if [ "$f" = "stamp-tshlink" ]; then \
    continue; \
  fi; \
  tf=lib`echo $f | sed -e 's,^\.\./bfd/,,' -e 's/^lib//' | sed 's,x,x,'`; \
  rm -f /usr/local/lib/$tf; \
  if [ "$f" = "unused-shlink" ]; then \
    ts=lib`echo unused-shlib | sed -e 's,^\.\./bfd/,,' -e 's/^lib//' | sed 's,x,x,'`; \
    ln -sf $ts /usr/local/lib/$tf; \
  elif [ "$f" = "unused-shlib" ]; then \
    /export/solaris/make/devel/gdb-4.16/install.sh -c $f /usr/local/lib/$tf; \
  else \
    /export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 $f /usr/local/lib/$tf; \
    true /usr/local/lib/$tf; \
    chmod a-x /usr/local/lib/$tf; \
  fi; \
done
make[1]: Leaving directory `/export/solaris/make/devel/gdb-4.16/opcodes'
make[1]: Entering directory `/export/solaris/make/devel/gdb-4.16/readline'
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 libreadline.a /usr/local/lib/libreadline.a
true /usr/local/lib/libreadline.a
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 ./readline.h /usr/local/include/readline/readline.h
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 ./keymaps.h /usr/local/include/readline/keymaps.h
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 ./chardefs.h /usr/local/include/readline/chardefs.h
make[1]: Leaving directory `/export/solaris/make/devel/gdb-4.16/readline'
make[1]: Entering directory `/export/solaris/make/devel/gdb-4.16/sim'
make[1]: Leaving directory `/export/solaris/make/devel/gdb-4.16/sim'
make[1]: Entering directory `/export/solaris/make/devel/gdb-4.16/libiberty'
make[2]: Entering directory `/export/solaris/make/devel/gdb-4.16/libiberty'
make[2]: Leaving directory `/export/solaris/make/devel/gdb-4.16/libiberty'
/export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 libiberty.a /usr/local/lib/libiberty.a.n
( cd /usr/local/lib ; true /usr/local/lib/libiberty.a.n )
mv -f /usr/local/lib/libiberty.a.n /usr/local/lib/libiberty.a
make[1]: Leaving directory `/export/solaris/make/devel/gdb-4.16/libiberty'
make[1]: Entering directory `/export/solaris/make/devel/gdb-4.16/gdb'
make[2]: Entering directory `/export/solaris/make/devel/gdb-4.16/gdb'
make[3]: Entering directory `/export/solaris/make/devel/gdb-4.16/gdb/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/solaris/make/devel/gdb-4.16/gdb/doc'
make[2]: Leaving directory `/export/solaris/make/devel/gdb-4.16/gdb'
transformed_name=`t='s,x,x,'; \
                  echo gdb | sed -e $t` ; \
        if test "x$transformed_name" = x; then \
          transformed_name=gdb ; \
        else \
          true ; \
        fi ; \
        /export/solaris/make/devel/gdb-4.16/install.sh -c gdb /usr/local/bin/$transformed_name ; \
        /export/solaris/make/devel/gdb-4.16/install.sh -c -m 644 ./gdb.1 /usr/local/man/man1/$transformed_name.1
make[2]: Entering directory `/export/solaris/make/devel/gdb-4.16/gdb'
make[3]: Entering directory `/export/solaris/make/devel/gdb-4.16/gdb/doc'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/export/solaris/make/devel/gdb-4.16/gdb/doc'
make[2]: Leaving directory `/export/solaris/make/devel/gdb-4.16/gdb'
make[1]: Leaving directory `/export/solaris/make/devel/gdb-4.16/gdb'
##########################################################################


installed dejagnu-19981026.tar.gz
        # ./configure --host=i386-pc-solaris2.6 --enable-shared \
	--disable-tcl --disable-tk
        # cd /import/solaris/LINK
        # ln -s ../dejagnu-19981026 DEJAGNU
        # cd /usr/local/bin
        # ln -s /import/solaris/LINK/DEJAGNU/bin/* ./
        # cd /usr/local/include
        # ln -s /import/solaris/LINK/DEJAGNU/include/* ./
        # cd /usr/local/lib
        # ln -s /import/solaris/LINK/DEJAGNU/lib/* ./
        # cd /usr/local/share
        # ln -s /import/solaris/LINK/DEJAGNU/share/* ./

        libtk8.0.so, tkConfig, tk.hなどは退避させた
        (これらはtk-8.0jpで入っていたもの)



installed egcs-1.1.1
        # gtar xzvf egcs-1.1.1.tar.gz
        # cd egcs-1.1.1
        # ./configure --host=i386-pc-solaris2.6 --enable-shared
        # make
        # make install
        # nvi /usr/local/lib/gcc-lib/i386-pc-solaris2.6/egcs-2.91.60/specs
                change "-R /usr/ucblib" to "-R /usr/ucblib:/usr/local/lib"


editor

installed mule-2.3-19.34
	./configure --with-gcc --with-x --with-pop --with-wnn6\
	--with-canna  --with-canna-includes=/usr/local/include \
	--with-canna-libraries=/usr/local/lib

installed nvi-1.79-m17n
	mv /usr/ucb/cc /usr/ucb/cc.orig
        ln -s /usr/local/bin/gcc /usr/ucb/cc
	patch with nvi-1.79.m17n-970820-1600.diff
        ./configure --with-x --with-gcc --enable-canna \
	--enable-multibyte=euc-jp
        make CC="gcc -R/usr/local/lib"
	rm /usr/ucb/cc
	mv /usr/ucb/cc.orig /usr/ucb/cc

emulators

installed lxrun-0.9.1pre1
#######################################################################
# ./configure --with-linux=/import/solaris/linux
# make
# mkdir /export/solaris/lxrun-0.9.1pre1
# install -d /export/solaris/lxrun-0.9.1pre1/bin
# install -d /export/solaris/lxrun-0.9.1pre1/lib
# install -d /export/solaris/linux/lib
	for linux's library

# install -d /export/solaris/linux/bin
	for linux's binary and lxfront

# cp lxrun lxfront /export/solaris/lxrun-0.9.1pre1/bin
# cp ld-linux.so.1 /export/solaris/lxrun-0.9.1pre1/lib
# cd /import/solaris/linux/bin
# ln -s /import/solairs/lxrun-0.9.1pre1/bin/lxfront
# cd /usr/local/bin
# ln -s /import/solairs/lxrun-0.9.1pre1/bin/lxrun
# cd /usr/local/lib
# ln -s /import/solairs/lxrun-0.9.1pre1/lib/ld-linux.so.1
# cd /usr/local/
# ln -s /import/solaris/linux
#######################################################################

gnu

installed fileutils-3.16
	./configure --with-gcc --build=i386-pc-solaris2.6
installed findutils-4.1
	./configure --with-gcc --build=i386-pc-solaris2.6
installed screen-3.7.4
	./configure --with-gcc --host=i386-pc-solaris2.6

	add termcap

installed bison-1.25(GNU-yacc)
installed flex-2.5.4a

installed diffutils-2.7
root@pluto{~}# ./configure --with-gcc --host=i386-pc-solaris2.6

installed grep-2.2

installed grep-2.2e
	# ./configure --libdir=/usr/local/share ; make
	# make install prefix=/export/solaris/grep-2.2e
	# make install
	# cd /export/solaris/LINK; ln -s ../grep-2.2e GREP
	# cd /usr/local/bin
	# ln -fs /import/solaris/LINK/GREP/bin/* ./
	# cd ../info
	# ln -fs /import/solaris/LINK/GREP/info/grep.info
	# cd ../man/man1
	# ln -fs /import/solaris/LINK/GREP/man/man1/* ./

graphics


installed xpm-3.4j

installed Xaw3d-0.6B

installed tiff-3.4
	./configure --with-gcc i386-pc-solaris2.6

installed jpeg-6a
	./configure --with-gcc --host=i386-pc-solaris2.6

zlib
./configure --with-gcc --host=i386-pc-solaris2.6

install gtk+-1.0.4
        # ./configure --host=i386-pc-solaris2.6 --with-gcc \
	--with-locale=ja --with-x

install gimp-1.0.0
        # setenv LD_LIBRARY_PATH /usr/local/lib
        # ./configure \
--host=i386-pc-solaris2.6 --with-gcc --with-sendmail=/usr/lib/sendmail \
--with-lp=/usr/bin --with-lpstat=/usr/bin --with-lpr=/usr/ucb \
--with-lpc=/usr/ucb

	see /export/solaris/gimp-1.0.0/link.txt

installed gimp-plugins-unstable-0.99.31

installed ImageMagick-4.1.3
	xmkmf -a; make; make install; make install.man

installed giflib-3.0
	# vi lib/Makefile util/Makefile
		prefix change to /usr/local/{bin,lib}
	# make CC="gcc -fPIC -O2"

installed interviews
        # gtar zxvf 3.1.tar.gz
        # gtar zxvf iv3_1j_gamma.tar.gz
        # cd iv
        # patch -p1 < ../diff-2.0gamma
        # patch -p1 < ../iv-3.1j-gamma-fix.patch ( by yasu@on.cs.keio.ac.jp )
        # patch -p1 < ../iv-3.1-import.patch ( by yasu@on.cs.keio.ac.jp )
        # make CPU
        SUNi386
        # setenv CPU SUNi386
        # nvi src/config/Interviews/local.def
                change X11R6 --> openwin
                change XCONFIGDIR --> /usr/openwin/lib/config
        # make World XCONFIGDIR=/usr/openwin/lib/config

        (あといろいろとエラーが出たので、いちいち手でcompileした。)
        (src/lib/TIFFのところのerrorは
                /opt/SUN???/bin/cc --> /usr/local/bin/gcc
        の変更でOK)
        (src/bin/ のエラーは -ltiffと-Rを付け足すことで回避.つまり
                g++ ............ 
-R /usr/local/lib:/usr/openwin/lib:/usr/ucblib:/usr/local/interviews/lib\
................... \
-lsocket -lnsl -ltiff
        と手でやった)
        
        # make install
        # mv /usr/local/interviews /export/solaris/interviews-3.1j
        # ln -s !$ /usr/local/interviews
        # cp idraw-3.1j.ad /export/solaris/interviews-3.1j/share/app-defaults
        # cd !$
        # ln -s idraw-3.1j.ad idraw

installed libungif-3.0 but no link to /usr/local/
        # ./configure --host=i386-pc-solaris
        # make
        # cd util
        # vi Makefile
                CFLAGSがrecrusiveになっているので、$CFLAGSを消す
        # make install prefix=/export/solaris/libungif-3.0


japanese

installed Canna35b2
	mkdir /var/log/Canna35b2
	cd /var/log
	ln -s Canna35b2 canna
	edit /etc/rc3.d/Scanna.server

installed kinput2-v2-fix1
	only support canna
	make CC="gcc -R/usr/local/lib"

installed nkf-1.62
	gcc -O2 nkf.c -o nkf

jtex


installed jtex and uninstall.

##################################################################
	edit texfam/make/paths.conf
	cd ..
	make
	cd web2c-j
	make fmts = jlatex.fmt jlatex209.fmt jtex.fmt

	root@pluto{/export/solaris/make/tex/texmf}# ls
	README       bibtex/      fonts/       tex/
	VERSION-6.9  doc/         mf/          web2c/
	root@pluto{/export/solaris/make/tex/texmf}# cp -dr bibtex fonts\
	tex web2c /export/solaris/NTT-jtex-1.61/share/texmf/
	cp: overwrite `/export/solaris/NTT-jtex-1.61/share/texmf/fonts/texfonts.map'? y
	root@pluto{/export/solaris/make/tex/texmf}# cp -rd mf \
	/export/solaris/NTT-jtex-1.61/share/texmf/metafont

	/usr/local/share/texmf/inputs-->tex
	/usr/local
##################################################################

lang


installed perl-5.004_01+jperl5.004_01.pat.gz
	no create libperl.so
	-B/bin/

installed jdk-1.1.6

###################################################################
root@pluto{~kazuki/patches}# pkgrm SUNWjvdem SUNWjvman SUNWjvdev \
SUNWjvjit SUNWjvrt
root@pluto{~kazuki/patches}# pkgadd -d . SUNWjvrt SUNWjvdev SUNWjvjit\
 SUNWjvman SUNWjvdem
###################################################################

installed JavaCC0_8pre1 and Documentation
in /export/solaris/JavaCC0_8pre1/(doc) --> /usr/local/javacc

mail


installed youbin-2.13

installed mh-6.8.3
compiled with -DF_LOCK in uip for slocal installed sendmail-8.8.8-3.0Wb11
installed CF-3.6W
installed mew-1.92.4(for default mew) installed mew-1.70.1 installed im-76 edit /usr/local/lib/im/SiteConfig installed xpbiff-1.27 ./configure --with-gcc --host=i386-pc-solaris2.6 edit Config.h reinstalled im-76 and mew-1.92.4 installed im-100 and mew-1.93

math

misc

installed less-332+jp
	./configure --host=i386-pc-solaris2.6 --with-gcc

net

installed ncftp-2.4.2
	./configure --with-gcc --build=i386-pc-solaris2.6

installed c-archie-1.4.1-FIX(edit for japanese and for regexp)

for xntpd
	# vi /etc/inet/ntp.conf
	# cd /etc/rc2.d
	# ln -s ../init.d/xntpd S74xnptd

installed gnu-finger-1.37
	% ./configure
	% make CFLAGS=-D__EXTENSIONS__ 
	% cd targets
	% vi .targetdir
		/usr/local/etc/fingerdir/targets
	% make server
	and install by hand
	% vi /usr/local/etc/fingerdir/ttylocs
	% vi /usr/local/etc/fingerdir/serverhost
	% vi /usr/local/etc/fingerdir/mailhost
	% vi /etc/inetd.conf
		for /usr/local/sbin/in.fingerd
		for /usr/local/sbin/in.cfingerd
	# vi /etc/services
		add cfinger at 2003/tcp
	# kill -HUP [inetd's number]

/export/solaris/make/net/traceroute-1.3.2

installed okphone-1.2
#####################################################################
	[require] okphone-1.2.tar.gz,okphone-1.2-svr4.patch.r3.gz
	after install, edit /etc/inetd.conf and /etc/services

root@pluto{/etc/inet}# diff inetd.conf inetd.conf.orig |grep phone
< # for okphone-1.2
< phone dgram   udp     wait    root    /usr/local/sbin/in.phoned       in.phoned
root@pluto{/etc/inet}# diff services services.orig |grep phone
< # for okphone-1.2
< phone         1167/udp        # phone - conference calling

	and "kill -HUP "inetd's pid""
#####################################################################

make amd-upl102
	please see ~/public_html/Make/amd-upl102.html
	install in /usr/local

install mtr-0.21 but cannot execute.
why???

installed wget-1.5.3
	./configure --host=i386-pc-solaris2.6


installed samba-2.0.2
        # ./configure --host=i386-pc-solaris2.6 --with-automount
        # ln -s /import/solaris/samba-2.0.2 /usr/local/samba

news

print

installed texinfo-3.9
	./configure --with-gcc --build=i386-pc-solaris2.6

installed a2ps-4.9.9
	./configure --with-gcc --host=i386-pc-solaris2.6 --with-gnu-ld

installed textutils-1.22

	./configure --with-gcc --host=i386-pc-solaris2.6
	locale is installed in /usr/local/.....

installed xdvik-20a
   kazuki@plutonium{~/xdvik-20a} ./configure --host=i386-pc-solaris2.6 \
   --with-dvifilter=dvi2ps --without-maketexpk-default
    shared /usr/local/share/texmf/web2c/*

installed xdvik-20c

    configure --without-maketexpk-default --with-dvifilter=dvi2ps
    configure  --without-maketexpk-default --without-vfontmap \
    --with-dvifilter=dvi2ps

installed VFlib-2.22

#######################################################################
	VFlib-2.22
	font in /export/solaris/VFLib-2.22/share/fonts = VFlib fonts

	# gcc -shared VFlib.o VFenc.o VFEtable.o VFcap.o fn2ent.o fman.o \
VF_Sony.o VF_Zeit.o VF_Jg.o VF_TT.o VF_Bdf.o VF_Hbf.o hbf.o VF_Comp.o \
VF_BitOp.o VF_FNTWV.o VF_Comp2.o VF_Null.o -o libVFlib.so.2.22 \
-Wl,-h,libVFlib.so.2
	# ./onpkgtool -it /import/solaris/VFlib-2.22
#######################################################################

installed ghostscript-5.10

#######################################################################
	# gtar xzvf ghostscript-5.10.tar.gz
	# gtar xzvf ghostscript-5.10gnu.tar.gz
	# gtar xzvf ghostscript-5.10jpeg.tar.gz
	# mv jpeg-6a/ gs5.10/
	# gtar xzvf gs5.10-vflib-1.6.tar.gz
	# patch -p0 < gs5.10-vflib-1.6/gs5.10-vflib-1.6.diff
	# patch -p0  SHARE_LIBPNG=1
165c165
< SHARE_ZLIB=0
---
> SHARE_ZLIB=1
211c211
< CFLAGS=-O $(GCFLAGS) $(XCFLAGS)
---
> CFLAGS=-O2 $(GCFLAGS) $(XCFLAGS)
236c236
< XINCLUDE=-I/usr/local/X/include
---
> XINCLUDE=-I/usr/openwin/include
245,246c245,246
< #XLIBDIRS=-L/usr/openwin/lib
< #XLIBDIR=/usr/openwin/lib
---
> XLIBDIRS=-L/usr/openwin/lib
> XLIBDIR=/usr/openwin/lib:/usr/local/lib
248c248
< #XLIBS=Xt SM ICE Xext X11
---
> XLIBS=Xt SM ICE Xext X11
251,253c251,253
< XLIBDIRS=-L/usr/X11/lib
< XLIBDIR=
< XLIBS=Xt Xext X11
---
> #XLIBDIRS=-L/usr/X11/lib
> #XLIBDIR=
> #XLIBS=Xt Xext X11
256,257c256,257
< #VFINCLUDE=-I/usr/local/include
< #VFLIBDIRS=-L/usr/local/lib
---
> VFINCLUDE=-I/usr/local/include
> VFLIBDIRS=-L/usr/local/lib

	# make
make: *** No rule to make target `libpng/png.h', needed by `gdevpng.o'.  Stop.
	# mkdir libpng
	# cd libpng/
	# ln -s /usr/local/include/png.h
	# cd ..
	# make

//	途中でzvflibkanjiのエラー
//	# mv -f zkfvflib.c.orig zkfvflib.c
//	# make
//	# ldd gs

	# mkdir /export/solaris/gs5.10+vflib-1.6+jpdf-0.2-fix01
	# make install prefix=/export/solaris/gs5.10+vflib-1.6+jpdf-0.2-fix01
	# gtar xzvf ghostscript-fonts-std-5.10.tar.gz -C \
	/export/solaris/gs5.10+vflib-1.6+jpdf-0.2-fix01/share/ghostscript/
	# gtar xzvf ghostscript-fonts-other-5.10.tar.gz -C \
	/export/solaris/gs5.10+vflib-1.6+jpdf-0.2-fix01/share/ghostscript/fonts/
	# onpkgtool -i /import/solaris/gs5.10+vflib-1.6+jpdf-0.2-fix01
#######################################################################

installed gv-3-5-8
#######################################################################
# gtar xzvf gv-3.5.8.tar.gz
# cd gv-3.5.8/
# patch -p0 <../gv-3.5.8.patch
# vi Unix.conf
	GV_BINDIR    = /usr/local/bin/
	GV_DOCDIR    = /usr/local/doc/gv/
	GV_LIBDIR    = /usr/local/lib/gv/
	GV_MANDIR    = /usr/local/man/man1/
	# xmkmf -a ; make
	# make install; make install.man
	link by onpkgtool and 
	ln -s /import/solaris/gv-3-5-8+patch/lib/X11/app-defaults/GV \
	/usr/openwin/lib/X11/app-defaults/GV
#######################################################################

installed dvipsk-5.78
	onpkgtool /import/solaris/dvipsk-5.78
	add 
		rml Ryumin-Light-H
		rmlv Ryumin-Light-V
		gbm GothicBBB-Medium-H
		gbmv GothicBBB-Medium-V
	in $TEXMF/dvips/base/psfonts.map


installed dvi2ps-2.0j

#######################################################################
	# diff Makefile Makefile.orig
10c10
< DVI2LIB=${PREFIX}/share/dvi2ps
---
> DVI2LIB=${PREFIX}/lib/dvi2ps
45,46c45,46
< VFLIB = -L${PREFIX}/lib -lVFlib
< VFLIBINC = -I${PREFIX}/include
---
> #VFLIB = -L${PREFIX}/lib -lVFlib
> #VFLIBINC = -I${PREFIX}/include
48,50c48,50
< #VFLIBSRCDIR = ../VFlib-2.22/src
< #VFLIB = ${VFLIBSRCDIR}/VFlib.a
< #VFLIBINC = -I${VFLIBSRCDIR}
---
> VFLIBSRCDIR = ../VFlib-2.22/src
> VFLIB = ${VFLIBSRCDIR}/VFlib.a
> VFLIBINC = -I${VFLIBSRCDIR}
53c53
< CC=gcc
---
> CC=cc
59c59
< CCFLAGS = -O2 -DANSI -DPOSIX -DSYSV -DSYSVIO	# Solaris 2.X (SUNWpro/bin/cc)
---
> #CCFLAGS = -O -DANSI -DPOSIX -DSYSV -DSYSVIO	# Solaris 2.X (SUNWpro/bin/cc)

	# make
	# make newlib
	# make install; make install-lib
	# mkdir /export/solaris/dvi2ps/{bin,share}
	# mv /usr/local/bin/dvi2ps /export/solaris/dvi2ps/bin
	# mv /usr/local/share/dvi2ps /export/solaris/dvi2ps/share
	# vi /usr/local/share/dvi2ps/{fontdesc,printer/lpps}
#######################################################################

installed xdvik-20c+j1.0p0d+yasu

#######################################################################
	% tar zxvf xdvik-20c.tar.gz
	% cd xdvik-20c
	% patch -p1 < ../xdvik20c-j1.0p0d.patch
	% patch -p1 < ../xdvik20c-yasu.patch
	# cd xdvik
	# rm xdvi.bin
	# gcc -o xdvi.bin xdvi.o dvi_draw.o dvi_init.o events.o \
font-open.o gf.o pk.o psdps.o psgs.o psheader.o psnews.o special.o \
util.o vf.o sfDir.o sfDraw.o sfPath.o sfSelFile.o hypertex.o mime.o \
wwwfetch.o zeit.o dnpzeit.o toc.o markpage.o markring.o print.o paper.o \
tategaki.o vfontmap.o alloca.o -L../libwww -lwww -L/usr/openwin/lib \
-R/usr/openwin/lib:/usr/local/lib -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 \
-lsocket -lnsl -lVFlib ../kpathsea/STATIC/libkpathsea.a -lm
	# make install prefix=/export/solaris/xdvik-20c+j1.0p0d+yasu \
	texmf=/usr/local/share/texmf
#######################################################################


installed dviselect

#######################################################################
	% tar zxvf dviselect.tar.gz
        % cd dviselect
        % patch -p1 < ../dviselect-fix.patch
	# make CC="gcc -DSYSV"
	# mkdir /export/solaris/dviselect+yasu
	# install -d /export/solaris/dviselect+yasu/bin
	# install -d /export/solaris/dviselect+yasu/man/man1
	# make install prefix=/export/solaris/dviselect+yasu
	# onpkginstall -i /import/solaris/dviselect+yasu
#######################################################################

installed a2ps-j(a2ps-1.41.pl)
	/usr/local/bin/a2ps-j

installed xpdf-0.8
root@pluto{/export/solaris/make/print/xpdf-0.80}# ./configure \
-host=i386-pc-solaris2.6 --enable-a4-paper --enable-japanese \
--with-gzip --with-x --with-Xpm-library=/usr/openwin/lib \
--with-Xpm-includes=/usr/openwin/include/X11

security


installed ssh-1.2.22
	./configure --with-gcc --build=i386-pc-solaris2.6 --with-x
	edit /etc/rc3.d/Ssshd.server

installed tcp_wrappers_7.6
	edit /etc/inet/inetd.conf
	edit hosts.allow and hosts.deny

installed ssh-1.2.23

installed ssh-1.2.25
 ./configure --host=i386-pc-solaris2.6 --with-x --with-gcc --with-rhosts

installed ssh-1.2.26
	./configure

shells


installed tcsh-6.07.02 with jp&color patch
	xmkmf
	make
	copy to /bin/tcsh

installed zsh-3.05
	./configure --with-gcc --host=i386-pc-solaris

installed bash-2.01.1
	./configure --host=i386-pc-solaris2.6

installed tcsh-6.08.00

#######################################################################
	# diff config_f.h config_f.h.orig
68c68
< #define NLS_CATALOGS
---
> #undef NLS_CATALOGS
120c120
< #define KANJI
---
> #undef KANJI
126c126
< #define DSPMBYTE
---
> #undef DSPMBYTE
	# ./configure
	# make; make catalogs
	# cp tcsh.ja.cat /usr/lib/locale/ja/LC_MESSAGES/tcsh 
	# install -d /export/solaris/tcsh-6.08.00/bin
	# install -d /export/solaris/tcsh-6.08.00/man/man1
	# make install prefix=/export/solaris/tcsh-6.08.00
	# cp tcsh.ja.* /export/solaris/tcsh-6.08.00/
	# cp tcsh.man /export/solaris/tcsh-6.08.00/man/man1
	# cp -f /export/solaris/tcsh-6.08.00/bin/tcsh /usr/bin
	# cp -f /export/solaris/tcsh-6.08.00/bin/tcsh /usr/local/bin
#######################################################################

sys


installed rcs-5.7
    # ./configure --with-gcc --host=i386-pc-solaris2.6 --with-diffutils

tex

installed ASCII-ptex and uninstall

###################################################################
ptex =

README980217.txt     texmflib-7.3.tar.gz
READMEptex218.txt    web-7.2.tar.gz
patches/             
plib-1.4-euc.tar.gz  web2c-7.2.tar.gz
ptex218.tar.gz

platex = 

README.txt          patches/
base-9712.tar.gz    pl19980217e.tar.gz


/usr/local/share/texmf

#####################################################################

# gtar xzvf texmflib-7.3.tar.gz -C /usr/local/share

# gtar xzvf web-7.2.tar.gz -C /export/solaris/make/ASCII-ptex/ptex/
# gtar xzvf web2c-7.2.tar.gz -C /export/solaris/make/ASCII-ptex/ptex/
# cd !$/web2c-7.2

# ./configure; make; make install prefix=/export/solaris/web2c-7.2

	ln -s .......

# cd /export/solaris/make/ASCII-ptex/ptex/
# gtar zxvf plib-1.4-euc.tar.gz -C /usr/local/share
# gtar xzvf ptex218.tar.gz -C web2c-7.2/web2c/
# cd !$/ptex218/
# ./configure EUC
# make
	(platex.ltxがないというエラーで止まる)


# cd /usr/local/share/texmf/tex/
# mkdir platex
# cd platex/
# pwd
/usr/local/share/texmf/tex/platex

# gtar zxvf /export/solaris/make/ASCII-ptex/platex/pl19980217e.tar.gz
# mv 19980217 base
# cd base/

# patch -p0 < /export/solaris/make/ASCII-ptex/platex/patches/pl980227.patch
patching file `jclasses.dtx'
patching file `tascmac.sty'
# patch -p0 < /export/solaris/make/ASCII-ptex/platex/patches/pl980323.patch
patching file `jclasses.dtx'
# patch -p0 < /export/solaris/make/ASCII-ptex/platex/patches/pl980409.patch
patching file `jclasses.dtx'
Hunk #1 FAILED at 1.
1 out of 5 hunks FAILED -- saving rejects to jclasses.dtx.rej
# patch -p0 < /export/solaris/make/ASCII-ptex/platex/patches/pl980413.patch
patching file `jclasses.dtx'
# rm *.rej
rm: remove `jclasses.dtx.rej'? y
# rm *.orig
rm: remove `jclasses.dtx.orig'? y

# pwd
/usr/local/share/texmf/tex/latex/
# tar zxvf /export/solaris/make/ASCII-ptex/platex/base-9712.tar.gz
	(古いファイルを上書き)
# cd base
# pwd
/usr/local/share/texmf/tex/latex/base
# tex -ini unpack.ins
# tex -ini latex.ltx
# mv -f latex.fmt /usr/local/share/texmf/web2c/

# cd /export/solaris/make/ASCII-ptex/ptex/web2c-7.2/web2c/ptex218
# ./ptex -ini /usr/local/share/texmf/tex/platex/base/plcore.ins
# make
	(さっきのエラーが通る)
# make install prefix=/export/solaris/ptex218

# cd /usr/local/share/texmf/tex/platex/base/
# ptex -ini plcore.ins
	(念のためにもう一度)
# ptex -ini platex.ltx
# mv -f platex.fmt /usr/local/share/texmf/web2c?
#####################################################################

installed ASCII-pTeX and NTT-jTeX by onpkgtool(/usr/local/)

#######################################################################
	# cd /export/solaris/ASCII-pTeX-2.1.8/share/texmf/fonts/pk/
	# ln -s /import/tex/fonts/dn-pk300
	# ln -s /import/tex/fonts/dn-pk400
	# ln -s /import/tex/fonts/dn-pxl400

	vi /usr/local/share/texmf/web2c/texmf.cnf

        HOMETEXMF = {$HOME/texmf:$HOME/share/texmf}
        TEXMF = {$HOMETEXMF:$TEXMFMAIN}

	NTT-jtex-1.8
	# sudo make prefix=/import/solaris/NTT-jtex-1.8/ \
	texmf=/import/solaris/NTT-jtex-1.8/share/texmf-ntt install
#######################################################################

www

installed netscape-4.05

installed communicator-v45.x86-sun-solaris2.5.1
	get communicator-v45.x86-sun-solaris2.5.1.tar.gz
	extract and install according to README.install
[for japanize]
	get communicator-ja-euc-v45-export.generic-generic-generic.tar.gz
	from  http://www.bres.tsukuba.ac.jp/~yohta/netscape/communicator-ja-euc-v45-export.generic-generic-generic.tar.gz
	# gtar xzvf communi.......generic.tar.gz
	# mkdir $MOZILLA_HOME/app-defaults/ja
	# cp netscape-ja_euc/{Netscape.ad-ja_euc,LICENSE,mail.msg,plugins,about,netscape.cfg,splash} $MOZILLA_HOME/app-defaults/ja/
	# ln -s $MOZILLA_HOME/app-defaults/ja/Netscape.ad-ja_euc $MOZILLA_HOME/app-defaults/ja/Netscape
	# mv $MOZILLA_HOME/README $MOZILLA_HOME/README.en
	# mv $MOZILLA_HOME/bookmark.htm $MOZILLA_HOME/bookmark.htm.en
	# mv $MOZZILLA_HOME/nethelp $MOZILLA_HOME/nethelp.en
	# cp netscape-ja_euc/README $MOZILLA_HOME/README.ja
	# cp netscape-ja_euc/bookmark.htm $MOZILLA_HOME/bookmark.htm.ja
	# gzip -dc netscape-ja_euc/nethelp.nif | tar -xf - -C $MOZILLA_HOME
	# mv $MOZZILLA_HOME/nethelp $MOZILLA_HOME/nethelp.ja
	# ln -s $MOZILLA_HOME/README.ja $MOZILLA_HOME/README
	# ln -s $MOZILLA_HOME/bookmark.htm.ja $MOZILLA_HOME/bookmark.htm
	# ln -s $MOZZILLA_HOME/nethelp.ja $MOZILLA_HOME/nethelp
	# nvi $MOZILLA_HOME/netscape.sh

x11

installed fvwm-2.0.46
	xmkmf
	make Makefiles
	make LOCAL_LDFLAGS="-R/usr/openwin/lib"

installed xlockmore-4.05
	./configure --with-gcc --host=i386-pc-solaris2.6

installed xanim27064
	edit Imakefile for quicktime
	xmkmf
	make xanim

installed xv-3.10a-png-1.2d
	gtar xzvf xv-3.10a.tar.gz
	cd xv-3.10a
	rm -rf tiff jpeg
	xmkmf
	make Makefiles
	make
		Error....
	cd ..
	gtar xvzf xv-3.10a-p9ng-1.2.tar.gz -C xv-3.10a
	cd xv-3.10a
	patch -p1 < *.diff
	vi Makefile
		LIBJPG = /usr/local/lib
		LIBTIFF = /usr/local/lib
	make
	make install

installed WindowMaker-0.15.1

reinstalled fvwm-2.0.46+jp+i18n+fakemouse
# but cannnot use fakemouse function...
# jp+i18n patch is patched by FreeBSD's ports
# fakemouse patch is patched by FreeBSD's patch

installed xclock with xclock-taiji-i18n.patch
        installed to /usr/openwin/bin/xclock
        and /usr/openwin/lib/locale/ja/app-defaults/XClock

installed xcpustate-2.5

yuuji

installed yahtml.elc in euc-japan

HOMEPAGE
introducing myself| E-RMOU SKI CLUB| motorcycle| Favorites| Make
www.GENTEI.org


Mail: kazuki@e-rmou.org