トップページ -> インストール,設定,利用 -> Solaris -> SUN Solaris 8/9/10 for SPARC/IA 各種のソフトのインストール
[サイトマップへ], [サイト内検索へ]

SUN Solaris 8/9/10 for SPARC/IA 各種のソフトのインストール

この Web ページの「後半」にある手順を動かすには、GNU make が /usr/local/bin/gmake と して、GNU tar が /usr/local/bin/gtar としてインストールされていることをお勧めします。

目次

参考 Web ページ


Sun Studio 10

入手法及びライセンス条項は、 http://jp.sun.com/products/software/sundev/studio/ で確認してください。


(必要なら) Sun 配布のソフト

配布元のライセンス条項等を熟読の上使うようにして下さい。

(必要なら) Software Companion の CD/DVD を使って, ソフトをインストール  

Companion CD/DVD は, http://jp.sun.com/products/software/solaris/10/ から入手できる.

入手

注意点

インストール手順

  • 「SPARC Platform Edition Software Companion」あるいは「Intel Platform Edition Software Companion」の CD-ROM を入れ, Installer を起動.
  • default install のが基本(source は入れなくてもいいでしょう)。 インストールしないソフトは外す。

  • (必要なら) Sunfreeware.com (Freeware for Solaris) からダウンロード  

    Solaris 用バイナリの宝庫です。

    説明は http://www.sunfreeware.com にあ ります(米国のサイトなので、ここからダウンロードするのはネットワークの 無駄使いです)。

    入手

    インストール手順

    foreach file ( *sol9*.gz )
    echo $file
    gzip -d $file
    end
    foreach file ( *sol9* )
    pkgadd -d $file
    end
    

    GNU wget のインストール  

    (まだ wget をインストールしていなければ) まず、GNU wget をインストールします。 wget は各種ファイルを Web サーバ等からダウンロードするのに使えます。

    この Web ページの説明は、基本的には燼 wget がインストール済みであることを前提としています。

    入手とインストール手順

    gzip -d < wget-1.10.2.tar.gz | tar -xvf -
    cd wget-1.10.2
    ./configure
    make
    make install
    

    Sunfreeware.com (Freeware for Solaris) から wget を入手したい場合

    gzip -d <ファイル名>
    pkgadd -d <ファイル名>
    end
    

    GNU make と GNU tar のインストール  

    GNU make を /usr/local/bin/gmake として、 GNU tar を /usr/local/bin/gtar としてインストールします。

    /bin/sh
    
    # download source file
    echo make-3.81
    cd /tmp
      if [ ! -f make-3.81.tar.gz ]; then
        wget https://www.kkaneko.jp/tools/src/gnu/make-3.81.tar.gz
      fi
    # extract source file
    cd /tmp
      rm -rf make-3.81
      /usr/bin/gzip -d <  make-3.81.tar.gz | /usr/bin/tar -xvof -
    # configure, make, and install
    cd /tmp/make-3.81
      mkdir build
      ./configure
      make
      make install
      mv /usr/local/bin/make /usr/local/bin/gmake
    
    # download source file
    echo tar-1.18:
    cd /tmp
      if [ ! -f tar-1.18.tar.gz ]; then
        wget https://www.kkaneko.jp/tools/src/gnu/tar-1.18.tar.gz
      fi
    # extract source file
    cd /tmp
      rm -rf tar-1.18
      /usr/bin/gzip -d <  tar-1.18.tar.gz | /usr/bin/tar -xvof -
    # configure, make, and install
      cd /tmp/tar-1.18
      ./configure
      /usr/local/bin/gmake
      /usr/local/bin/gmake install
      mv /usr/local/bin/tar /usr/local/bin/gtar
    

    GNU gcc 3.4.6 のインストール  

    次の手順で gcc-3.4.6 をインストールします。 gcc-3.4.6 の前に、GNU binutils をインストールしています

    /bin/sh
    # download source file
    echo binutils-2.16.1:
    cd /tmp
      if [ ! -f binutils-2.16.1.tar.gz ]; then
        wget https://www.kkaneko.jp/tools/src/gnu/binutils-2.16.1.tar.gz
      fi
    # extract source file
    cd /tmp
      rm -rf binutils-2.16.1
      /usr/bin/gzip -d <  binutils-2.16.1.tar.gz | /usr/bin/tar -xvof -
    # preparation
      rm -f /usr/local/bin/ar /usr/local/bin/sparc*-sun-solaris*-ar
      rm -f /usr/local/bin/ranlib /usr/local/bin/sparc*-sun-solaris*-ranlib
      rm -f /usr/local/bin/nm /usr/local/bin/sparc*-sun-solaris*-nm
      rm -f /usr/local/bin/ar /usr/local/bin/i?86*-sun-solaris*-ar
      rm -f /usr/local/bin/ranlib /usr/local/bin/i?86*-sun-solaris*-ranlib
      rm -f /usr/local/bin/nm /usr/local/bin/i?86*-sun-solaris*-nm
    # configure, make, and install
    cd /tmp/binutils-2.16.1
      mkdir build
      cd build
      ../configure --prefix=/usr/local --enable-nls --enable-shared 
      /usr/local/bin/gmake
      /usr/local/bin/gmake install
    
    # download source file
    echo gcc-3.4.6
    cd /tmp
      if [ ! -f gcc-3.4.6.tar.gz ]; then
        wget https://www.kkaneko.jp/tools/src/gnu/gcc-3.4.6.tar.gz
      fi
    # extract source file
    cd /tmp
      rm -rf gcc-3.4.6
      /usr/bin/gzip -d <  gcc-3.4.6.tar.gz | /usr/bin/tar -xvof -
    # configure, make, and install
    cd /tmp/gcc-3.4.6
      mkdir build
      cd build
      ../configure --with-gnu-as --with-ld=/usr/ccs/bin/ld --enable-nls --enable-shared
    #  ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --enable-shared
      /usr/local/bin/gmake bootstrap
      /usr/local/bin/gmake install
      /usr/local/bin/gmake clean
    

    基本ライブラリとツール  

    是非とも入れておきたい便利なライブラリとツールです。 次の手順で行う。

    インストール手順

    rehash
    cd /tmp
    # ツール自動インストール用スクリプト makebaseを /tmp にダウンロードする(Solaris 8/9/10 SPARC/IA 用)
    /usr/local/bin/wget https://www.kkaneko.jp/tools/src/toollib/makebase
    # スーパーユーザになって、make とインストール
    su
    unsetenv CC
    unsetenv CFLAGS
    sh makebase
    # ここで、エラーが無いか見張る
    

    参考情報

    インストールされるライブラリ

    インストールされるツール

    補足説明

    参考 Web ページ

    インストール用スクリプト

    #!/bin/sh
    # For more information:  https://www.kkaneko.jp/tools/solaris/solaris_optionsoft.html
    
    #
    #
    #
    
    SROOT=/tmp
    SRCURL="https://www.kkaneko.jp/tools/src/toollib"
    
    PATH=/usr/bin:/usr/sbin:/sbin:/usr/local/SUNWspro/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/X11/bin:/usr/openwin/bin:/usr/dt/bin:/usr/openwin/demo/bin:/usr/local/X11R6.9.0/bin:/opt/SUNWspro/bin:/usr/ucb:/usr/local/netpbm/bin:/opt/sfw/bin
    LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/ccs/lib:/opt/sfw/lib:/usr/dt/lib:/usr/X11/lib:/usr/openwin/lib:/usr/local/X11R6.9.0/lib:/usr/ucblib:/opt/SUNWspro/lib:/opt/SUNWdtpcv/lib:/opt/SUNWits/Graphics-sw/xil/lib:/opt/SUNWits/Graphics-sw/xgl-3.0/lib
    
    PATH=/usr/local/bin:$PATH
    export PATH 
    LD_LIBRARY_PATH=/usr/local/bin:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
    
    # make
    if [ -x /usr/local/bin/gmake ]; then
        MAKE="/usr/local/bin/gmake"
    elif [ -x /opt/sfw/bin/gmake ]; then
        MAKE="/opt/sfw/bin/gmake"
    fi
    
    # gzip
    if [ -x /usr/bin/gzip ]; then
        GZIP=/usr/bin/gzip
    elif [ -x /usr/local/bin/gzip ]; then
        GZIP=/usr/local/bin/gzip
    fi
    
    #
    # basic tools and libraries
    #
    
    # 
    echo Basic Libraries
    
    echo libtool-1.5.24:
        echo Generic library support script
        cd ${SROOT}; if [ ! -f libtool-1.5.24.tar.gz ]; then
            wget ${SRCURL}/../gnu/libtool-1.5.24.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/libtool-1.5.24.tar.gz | tar -xvof -
        cd /tmp; cd libtool-1.5.24; ./configure --enable-shared --enable-static
        cd /tmp; cd libtool-1.5.24; ${MAKE} clean
        cd /tmp; cd libtool-1.5.24; ${MAKE}
        cd /tmp; cd libtool-1.5.24; ${MAKE} install
        cd /tmp; rm -rf libtool-1.5.24
    
    if [ -f /usr/local/bin/libtool ]; then
        LIBTOOL=/usr/local/bin/libtool
        export LIBTOOL
    else
        LIBTOOL=/opt/sfwl/bin/libtool
        export LIBTOOL
    fi
    
    echo pcre-7.4.tar.gz
        echo regular expression library
        cd ${SROOT}; if [ ! -f pcre-7.4.tar.gz ]; then
            wget ${SRCURL}/pcre-7.4.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/pcre-7.4.tar.gz | tar -xvof -
        cd /tmp; cd pcre-7.4;  ./configure  --enable-shared --enable-static
        cd /tmp; cd pcre-7.4; ${MAKE} clean
        cd /tmp; cd pcre-7.4; ${MAKE}
        cd /tmp; cd pcre-7.4; ${MAKE} install
        cd /tmp; rm -rf pcre-7.4
    
    echo libiconv-1.11:
        echo libiconv converts from one character encoding to another through Unicode conversion
        cd ${SROOT}; if [ ! -f libiconv-1.11.tar.gz ]; then
            wget ${SRCURL}/../gnu/libiconv-1.11.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/libiconv-1.11.tar.gz | tar -xvof -
        cd /tmp; cd libiconv-1.11; ./configure --enable-shared --enable-static
        cd /tmp; cd libiconv-1.11; ${MAKE} clean
        cd /tmp; cd libiconv-1.11; ${MAKE}
        cd /tmp; cd libiconv-1.11; ${MAKE} install
        cd /tmp; rm -rf libiconv-1.11
    
    echo jpegsrc.v6b:
            echo JPEG software
        cd ${SROOT}; if [ ! -f jpeg-v6b.tar.gz ]; then
            wget ${SRCURL}/jpeg-v6b.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/jpeg-v6b.tar.gz | tar -xvof -
        cd /tmp; cd jpeg-6b;  ./configure --enable-shared --enable-static CC='gcc'
        cd /tmp; cd jpeg-6b; ${MAKE} clean
        cd /tmp; cd jpeg-6b; ${MAKE}
        cd /tmp; cd jpeg-6b; ${MAKE} test
        cd /tmp; cd jpeg-6b; ${MAKE} install
        cd /tmp; cd jpeg-6b; ${MAKE} install-lib
        cd /tmp; rm -rf jpeg-6b
    
    echo jasper-1.701.0:
        cd ${SROOT}; if [ ! -f jasper-1.701.0.tar.gz ]; then
            wget ${SRCURL}/jasper-1.701.0.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/jasper-1.701.0.tar.gz | tar -xvof -
        cd /tmp; cd jasper-1.701.0; ./configure --enable-shared --enable-static CC='gcc'
        cd /tmp; cd jasper-1.701.0; ${MAKE} clean
        cd /tmp; cd jasper-1.701.0; ${MAKE}
        cd /tmp; cd jasper-1.701.0; ${MAKE} install
        cd /tmp; rm -rf jasper-1.701.0
    
    echo zlib-1.2.3.tar.gz
        echo zlib compression libraries
        cd ${SROOT}; if [ ! -f zlib-1.2.3.tar.gz ]; then
            wget ${SRCURL}/../zlib-1.2.3.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/zlib-1.2.3.tar.gz | tar -xvof -
        cd /tmp; cd zlib-1.2.3;  ./configure --shared
        cd /tmp; cd zlib-1.2.3; ${MAKE} clean
        cd /tmp; cd zlib-1.2.3; ${MAKE}
        cd /tmp; cd zlib-1.2.3; ${MAKE} install
        cd /tmp; rm -rf zlib-1.2.3
    
    echo tiff-3.8.2:
        echo libtiff provides support for the Tag Image File Format
        cd ${SROOT}; if [ ! -f tiff-3.8.2.tar.gz ]; then
            wget ${SRCURL}/tiff-3.8.2.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/tiff-3.8.2.tar.gz | tar -xvof -
        cd /tmp; cd tiff-3.8.2;  ./configure --enable-shared --enable-static
        cd /tmp; cd tiff-3.8.2; ${MAKE} clean
        cd /tmp; cd tiff-3.8.2; ${MAKE} -k CC="gcc -I. -I/usr/local/include"
        cd /tmp; cd tiff-3.8.2; ${MAKE} -k install
        cd /tmp; rm -rf tiff-3.8.2
    
    echo libpng-1.2.23:
        echo The PNG library is a collection of routines used to create and manipulate PNG format
        cd ${SROOT}; if [ ! -f libpng-1.2.23.tar.gz ]; then
            wget ${SRCURL}/libpng-1.2.23.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/libpng-1.2.23.tar.gz | tar -xvof -
    #    cd /tmp; cd libpng-1.2.23; cat ${SROOT}/libpng-1.2.23-patch-b.txt.gz | ${GZIP} -d | patch -p0
        cd /tmp; cd libpng-1.2.23; cp scripts/makefile.solaris Makefile
        cd /tmp; cd libpng-1.2.23; ${MAKE} clean
        cd /tmp; cd libpng-1.2.23; ${MAKE}
        cd /tmp; cd libpng-1.2.23; ${MAKE} test
        cd /tmp; cd libpng-1.2.23; ${MAKE} install
        cd /tmp; rm -rf libpng-1.2.23 
    
    echo libungif-4.1.4.tar.gz
        echo GIF files library
        cd ${SROOT}; if [ ! -f libungif-4.1.4.tar.gz ]; then
            wget ${SRCURL}/libungif-4.1.4.tar.gz
        fi
        cd /tmp; $(GZIP) -d  < ${SROOT}/libungif-4.1.4.tar.gz | tar -xvof -
        cd /tmp; cd libungif-4.1.4;  ./configure --enable-shared --enable-static
        cd /tmp; cd libungif-4.1.4; ${MAKE} clean
        cd /tmp; cd libungif-4.1.4; ${MAKE}
        cd /tmp; cd libungif-4.1.4; ${MAKE} install
        cd /tmp; rm -rf libungif-4.1.4
    
    echo imlib-1.9.15:
        cd ${SROOT}; if [ ! -f imlib-1.9.15.tar.gz ]; then
            wget ${SRCURL}/imlib-1.9.15.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/imlib-1.9.15.tar.gz | tar -xvof -
        cd /tmp; cd imlib-1.9.15; ./configure
        cd /tmp; cd imlib-1.9.15; ${MAKE} clean
        cd /tmp; cd imlib-1.9.15; ${MAKE}
        cd /tmp; cd imlib-1.9.15; ${MAKE} install
        cd /tmp; rm -rf imlib-1.9.15
    
    
    # Tools
    
    echo Tools
    
    echo bzip2-1.0.2:
        echo bzip2 file compression utility
        cd ${SROOT}; if [ ! -f bzip2-1.0.2.tar.gz ]; then
            wget ${SRCURL}/bzip2-1.0.2.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/bzip2-1.0.2.tar.gz | tar -xvof -
        cd /tmp; cd bzip2-1.0.2; ${MAKE} clean
        cd /tmp; cd bzip2-1.0.2; ${MAKE} CC=gcc
        cd /tmp; cd bzip2-1.0.2; ${MAKE} install
    
    echo tcsh-6.14.00:
        cd ${SROOT}; if [ ! -f tcsh-6.14.00.tar.gz ]; then
            wget ${SRCURL}/tcsh-6.14.00.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/tcsh-6.14.00.tar.gz | tar -xvof -
        cd /tmp; cd tcsh-6.14.00; ./configure
        cd /tmp; cd tcsh-6.14.00; ${MAKE} clean
        cd /tmp; cd tcsh-6.14.00; ${MAKE}
        cd /tmp; cd tcsh-6.14.00; ${MAKE} install
        cd /tmp; rm -rf tcsh-6.14.00
    
    echo perl-5.8.7:
        echo perl   
        cd ${SROOT}; if [ ! -f perl-5.8.7.tar.gz ]; then
            wget ${SRCURL}/perl-5.8.7.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/perl-5.8.7.tar.gz | tar -xvof -
        cd /tmp; cd perl-5.8.7; ./Configure -Dcc=gcc -Dusethreads -ders
        cd /tmp; cd perl-5.8.7; ${MAKE} clean
        cd /tmp; cd perl-5.8.7; ${MAKE}
        cd /tmp; cd perl-5.8.7; ${MAKE} test
        cd /tmp; cd perl-5.8.7; ${MAKE} install
        cd /tmp; rm -rf perl-5.8.7
    
    echo ImageMagick-6.2.6-8:
            # it requires
        cd ${SROOT}; if [ ! -f ImageMagick-6.2.6-8.tar.bz2 ]; then
            wget ${SRCURL}/ImageMagick-6.2.6-8.tar.bz2
        fi
        cd /tmp; bzip2 -d <  ${SROOT}/ImageMagick-6.2.6-8.tar.bz2 | tar -xvof -
            # --without-magick-plus-plus: It does not build Magick++ to prevent compilation error
        cd /tmp; cd ImageMagick-6.2.6; ./configure --with-gcc --without-threads --without-jpeg --without-magick-plus-plus --enable-shared --enable-static CC='gcc' --with-perl-options="CC=gcc OPTIMIZE='-O' CCCDLFLAGS=''"
        cd /tmp; cd ImageMagick-6.2.6; ${MAKE} clean
        cd /tmp; cd ImageMagick-6.2.6; ${MAKE}
        cd /tmp; cd ImageMagick-6.2.6; ${MAKE} install 
        cd /tmp; rm -rf ImageMagick-6.2.6
    
    echo netpbm-10.26.11.tar.gz:
            echo a package of graphic software
        cd ${SROOT}; if [ ! -f netpbm-10.26.11.tar.gz ]; then
            wget ${SRCURL}/netpbm-10.26.11.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/netpbm-10.26.11.tar.gz | tar -xvof -
        cd /tmp; cd netpbm-10.26.11; ./configure
        cd /tmp; cd netpbm-10.26.11; ${MAKE} clean
            cd /tmp; cd netpbm-10.26.11; ${MAKE} JASPERLIB="-L/usr/local/lib -ljasper" JASPERHDR_DIR=/usr/local/include
        cd /tmp; cd netpbm-10.26.11; ${MAKE} package
        cd /tmp; cd netpbm-10.26.11; ./installnetpbm
        cd /tmp; rm -rf netpbm-10.26.11
    
    echo mlterm-2.9.2:
        cd ${SROOT}; if [ ! -f mlterm-2.9.2.tar.gz ]; then
            wget ${SRCURL}/mlterm-2.9.2.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/mlterm-2.9.2.tar.gz | tar -xvof -
        cd /tmp; cd mlterm-2.9.2; ./configure --enable-shared --enable-static
        cd /tmp; cd mlterm-2.9.2; ${MAKE}
        cd /tmp; cd mlterm-2.9.2; ${MAKE} install
        cd /tmp; cd mlterm-2.9.2; ${MAKE} install.man
        cd /tmp; rm -rf mlterm-2.9.2
    echo done
    

    GNU 関係  

    GNU emacs もインストールしますが、GNU emacs の設定(Ctrl+\ で日本語入力)については、「SUN Solaris 8/9/10 各種設定」の Web ページ を見て下さい。

    インストール手順

    # GNU ツール自動インストール用スクリプト makegnuを/tmp にダウンロードする(Solaris 8/9/10 SPARC/IA 用)
    rehash
    cd /tmp
    /usr/local/bin/wget https://www.kkaneko.jp/tools/src/gnu/makegnu
    
    # スーパーユーザになって、make とインストール
    su
    unsetenv CC
    unsetenv CFLAGS
    sh makegnu
    # ここで、エラーが無いか見張る
    

    GNU ソフトのソースファイル

    古いバージョンのソースコードが必要になることがあるので、 消さずに置いている。

    ここにあるGNU ソフトのソースファイルを一括してダウンロードする方法は次 の通りです。

    /usr/local/bin/wget -N -nd -np -r --follow-tags=a https://www.kkaneko.jp/tools/src/gnu/
    

    補足説明

    参考 Web ページ

    インストール用スクリプト

    #!/bin/sh
    # Use SUN C/C++ compiler 
    # CC=/opt/SUNWspro/bin/cc
    # export CC
    # CXX=/opt/SUNWspro/bin/cc
    # export CXX
    prefix=/usr/local
    export prefix
    
    SROOT=/tmp
    SRCURL="https://www.kkaneko.jp/tools/src/"
    
    PATH=/usr/bin:/usr/sbin:/sbin:/usr/local/SUNWspro/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/openwin/demo/bin:/usr/local/X11R6.9.0/bin:/opt/SUNWspro/bin:/usr/ucb:/usr/local/netpbm/bin:/opt/sfw/bin
    export PATH 
    LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/ccs/lib:/opt/sfw/lib:/usr/dt/lib:/usr/openwin/lib:/usr/local/X11R6.9.0/lib:/usr/ucblib:/opt/SUNWspro/lib:/opt/SUNWdtpcv/lib:/opt/SUNWits/Graphics-sw/xil/lib:/opt/SUNWits/Graphics-sw/xgl-3.0/lib
    export LD_LIBRARY_PATH
    
    MAKE=/usr/local/bin/gmake
    GMAKE=/usr/local/bin/gmake
    
    #
    # download
    #
    
    echo Download ...
    /usr/local/bin/wget -N -nd -np -r --follow-tags=a https://www.kkaneko.jp/tools/src/gnu/
    
    #
    #
    #
    
    # Basic Tools
    
    echo gzip-1.2.4a:
        cd /tmp; gzip -d <  ${SROOT}/gzip-1.2.4a.tar.gz | tar -xvof -
        cd /tmp; cd gzip-1.2.4a;  ./configure
        cd /tmp; cd gzip-1.2.4a; ${MAKE} clean
        cd /tmp; cd gzip-1.2.4a; ${MAKE}
        cd /tmp; cd gzip-1.2.4a; ${MAKE} install 
        cd /tmp;    rm -rf /tmp/gzip-1.2.4a
    
    echo tar-1.18:
        cd /tmp; gzip -d <  ${SROOT}/tar-1.18.tar.gz | tar -xvof -
        cd /tmp; cd tar-1.18;  ./configure
        cd /tmp; cd tar-1.18; ${MAKE} clean
        cd /tmp; cd tar-1.18; ${MAKE}
        cd /tmp; cd tar-1.18; ${MAKE} install 
        mv /usr/local/bin/tar /usr/local/bin/gtar
        cd /tmp;    rm -rf /tmp/tar-1.18
    
    echo make-3.81:
        cd /tmp; gzip -d <  ${SROOT}/make-3.81.tar.gz | tar -xvof -
        cd /tmp; cd make-3.81;  ./configure --prefix=/usr/local
        cd /tmp; cd make-3.81; ${MAKE} clean
        cd /tmp; cd make-3.81; ${MAKE}
        cd /tmp; cd make-3.81; ${MAKE} install 
        mv /usr/local/bin/make /usr/local/bin/gmake
        cd /tmp;    rm -rf /tmp/make-3.81
    
    #
    # Libraries
    #
    
    echo  commoncpp2-1.3.8
            cd /tmp; gzip -d <  ${SROOT}/commoncpp2-1.3.8.tar.gz | tar -xvof -
            cd /tmp/commoncpp2-1.3.8;  ./configure
            cd /tmp/commoncpp2-1.3.8;  ${MAKE} clean
            cd /tmp/commoncpp2-1.3.8;  ${MAKE}
            cd /tmp/commoncpp2-1.3.8;  ${MAKE} install
    
    echo gettext-0.14.4
            cd /tmp; gzip -d <  ${SROOT}/gettext-0.14.4.tar.gz | tar -xvof -
            cd /tmp/gettext-0.14.4;  ./configure
            cd /tmp/gettext-0.14.4;  ${MAKE} clean
            cd /tmp/gettext-0.14.4;  ${MAKE}
            cd /tmp/gettext-0.14.4;  ${MAKE} install
    
    echo gdbm-1.8.3:
    echo A set of database routines that use extensible hashing. The routines work like the UNIX dbm routine
        cd /tmp; gzip -d <  ${SROOT}/gdbm-1.8.3.tar.gz | tar -xvof -
        cd /tmp; cd gdbm-1.8.3;  ./configure
        cd /tmp; cd gdbm-1.8.3; ${MAKE} clean
        cd /tmp; cd gdbm-1.8.3; ${MAKE}
        cd /tmp; cd gdbm-1.8.3; ${MAKE} install
        cd /tmp;    rm -rf /tmp/gdbm-1.8.3
    
    echo libiconv-1.11:
        echo libiconv converts from one character encoding to another through Unicode conversion
        cd ${SROOT}; if [ ! -f libiconv-1.11.tar.gz ]; then
            wget ${SRCURL}/gnu/libiconv-1.11.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/libiconv-1.11.tar.gz | tar -xvof -
        cd /tmp; cd libiconv-1.11; ./configure --enable-shared --enable-static
        cd /tmp; cd libiconv-1.11; ${MAKE} clean
        cd /tmp; cd libiconv-1.11; ${MAKE}
        cd /tmp; cd libiconv-1.11; ${MAKE} install
        cd /tmp; rm -rf libiconv-1.11
    
    echo libmatheval
    cd /tmp; gzip -d <  ${SROOT}/libmatheval-1.1.1.tar.gz | tar -xvof -
            cd /tmp/libmatheval-1.1.1;  ./configure
            cd /tmp/libmatheval-1.1.1;  ${MAKE} clean
            cd /tmp/libmatheval-1.1.1;  ${MAKE}
            cd /tmp/libmatheval-1.1.1;  ${MAKE} install
    
    echo libsigsegv
    echo GNU libsigsegv is a library for handling page faults
    cd /tmp; gzip -d <  ${SROOT}/libsigsegv-2.1.tar.gz | tar -xvof -
            cd /tmp/libsigsegv-2.1;  ./configure
            cd /tmp/libsigsegv-2.1;  ${MAKE} clean
            cd /tmp/libsigsegv-2.1;  ${MAKE}
            cd /tmp/libsigsegv-2.1;  ${MAKE} install
    
    echo libxmi
            cd /tmp; gzip -d <  ${SROOT}/libxmi-1.2.tar.gz | tar -xvof -
            cd /tmp/libxmi-1.2;  ./configure
            cd /tmp/libxmi-1.2;  ${MAKE} clean
            cd /tmp/libxmi-1.2;  ${MAKE}
            cd /tmp/libxmi-1.2;  ${MAKE} install
    
    echo ncurses-5.4.tar.gz
        echo GNU curses library is a freeware emulation of System V Release 4.0 curses
        cd ${SROOT}; if [ ! -f ncurses-5.4.tar.gz ]; then
            wget ${SRCURL}/gnu/ncurses-5.4.tar.gz
        fi
        cd /tmp; gzip -d < ${SROOT}/ncurses-5.4.tar.gz | tar -xvof -
        cd /tmp; cd ncurses-5.4; ./configure
        cd /tmp; cd ncurses-5.4; ${MAKE} clean
        cd /tmp; cd ncurses-5.4; ${MAKE}
        cd /tmp; cd ncurses-5.4; ${MAKE} install
        cd /tmp; rm -rf ncurses-5.4
    
    echo readline-5.2:
        echo GNU library for editing command lines
        cd /tmp; gzip -d <  ${SROOT}/readline-5.2.tar.gz | tar -xvof -
        cd /tmp; cd readline-5.2;  ./configure
        cd /tmp; cd readline-5.2; ${MAKE} clean
        cd /tmp; cd readline-5.2; ${MAKE}
        cd /tmp; cd readline-5.2; ${MAKE} install
        cd /tmp;    rm -rf /tmp/readline-5.2
    
    #
    # Tools and Utilities
    #
    
    echo a2ps-4.13b:
        echo a2ps is an Any to PostScript filter. It requires psutils 
    #    cd ${SROOT}; if [ ! -f a2ps-4.13b.tar.gz ]; then
    #        wget ${SRCURL}/gnu/a2ps-4.13b.tar.gz
    #    fi
            cd /tmp; gzip -d <  ${SROOT}/a2ps-4.13b.tar.gz | tar -xvof -
            cd /tmp/a2ps-4.13;  ./configure
            cd /tmp/a2ps-4.13;  ${MAKE} clean
            cd /tmp/a2ps-4.13;  ${MAKE}
            cd /tmp/a2ps-4.13;  ${MAKE} install
        cd /tmp; rm -rf a2ps-4.13
    
    echo aspell
           cd /tmp; gzip -d <  ${SROOT}/aspell-0.60.2.tar.gz | tar -xvof -
            cd /tmp/aspell-0.60.2;  ./configure
            cd /tmp/aspell-0.60.2;  ${MAKE} clean
            cd /tmp/aspell-0.60.2;  ${MAKE}
            cd /tmp/aspell-0.60.2;  ${MAKE} install
    
    echo autoconf-2.61:
    echo Extensible package of m4 macros that produce portable shell scripts to automatically configure software source code packages
           cd /tmp; gzip -d <  ${SROOT}/autoconf-2.61.tar.gz | tar -xvof -
        cd /tmp; cd autoconf-2.61;  ./configure
        cd /tmp; cd autoconf-2.61; ${MAKE} clean
        cd /tmp; cd autoconf-2.61; ${MAKE}
        cd /tmp; cd autoconf-2.61; ${MAKE} install
        cd /tmp;    rm -rf /tmp/autoconf-2.61
    
    echo automake-1.10:
    echo 'Automake' automatically generates make files compliant with the GNU coding standards
        cd /tmp; gzip -d <   ${SROOT}/automake-1.10.tar.gz | tar -xvof -
        cd /tmp; cd automake-1.10;  ./configure
        cd /tmp; cd automake-1.10; ${MAKE} clean
        cd /tmp; cd automake-1.10; ${MAKE}
        cd /tmp; cd automake-1.10; ${MAKE} install
        cd /tmp;    rm -rf /tmp/automake-1.10
    
    echo bash-3.2:
    echo Bash is an sh-compatible shell that incorporates useful features from the Korn shell  and C shell.
           cd /tmp; gzip -d <  ${SROOT}/bash-3.2.tar.gz | tar -xvof -
            cd /tmp/bash-3.2;  ./configure
            cd /tmp/bash-3.2;  ${MAKE} clean
            cd /tmp/bash-3.2;  ${MAKE}
            cd /tmp/bash-3.2;  ${MAKE} install
    
    echo binutils-2.16.1:
        cd /tmp; gzip -d <  ${SROOT}/binutils-2.16.1.tar.gz | tar -xvof -
        rm -f /usr/local/bin/ar /usr/local/bin/sparc*-sun-solaris*-ar
        rm -f /usr/local/bin/ranlib /usr/local/bin/sparc*-sun-solaris*-ranlib
        rm -f /usr/local/bin/nm /usr/local/bin/sparc*-sun-solaris*-nm
        rm -f /usr/local/bin/ar /usr/local/bin/i?86*-sun-solaris*-ar
        rm -f /usr/local/bin/ranlib /usr/local/bin/i?86*-sun-solaris*-ranlib
        rm -f /usr/local/bin/nm /usr/local/bin/i?86*-sun-solaris*-nm
            cd /tmp; cd binutils-2.16.1; mkdir build
            cd /tmp; cd binutils-2.16.1; cd build; ./configure --prefix=/usr/local --enable-shared --enable-nls
        cd /tmp; cd binutils-2.16.1; cd build; ${MAKE} clean
        cd /tmp; cd binutils-2.16.1; cd build; ${MAKE}
        cd /tmp; cd binutils-2.16.1; cd build; ${MAKE} install 
        cd /tmp;    rm -rf /tmp/binutils-2.16.1
    
    echo cvs-1.11.20:
    echo Version control system and important component of Source Configuration Management
        cd /tmp; gzip -d <  ${SROOT}/cvs-1.11.20.tar.gz | tar -xvof -
        cd /tmp; cd cvs-1.11.20;  ./configure
        cd /tmp; cd cvs-1.11.20; ${MAKE} clean
        cd /tmp; cd cvs-1.11.20; ${MAKE}
        cd /tmp; cd cvs-1.11.20; ${MAKE} install
        cd /tmp;    rm -rf /tmp/cvs-1.11.20
    
    echo ddd-3.3.10:
        echo Graphical front end for command line debuggers
        cd /tmp; gzip -d <  ${SROOT}/ddd-3.3.10.tar.gz | tar -xvof -
        cd /tmp; cd ddd-3.3.10;  ./configure
        cd /tmp; cd ddd-3.3.10; ${MAKE} clean
        cd /tmp; cd ddd-3.3.10; ${MAKE}
        cd /tmp; cd ddd-3.3.10; ${MAKE} install
        cd /tmp;    rm -rf /tmp/ddd-3.3.10
    
    echo diction-1.02:
           echo Checks text for readability and bad usage
           cd /tmp; gzip -d <  ${SROOT}/diction-1.02.tar.gz | tar -xvof -
            cd /tmp/diction-1.02;  ./configure
            cd /tmp/diction-1.02;  ${MAKE} clean
            cd /tmp/diction-1.02;  ${MAKE}
            cd /tmp/diction-1.02;  ${MAKE} install
    
    echo coreutils-5.93:
    echo Combination of filutils, shellutils and textutils packages into a single release
           cd /tmp; gtar -xvzof  ${SROOT}/coreutils-5.93.tar.gz
            cd /tmp/coreutils-5.93;  ./configure
            cd /tmp/coreutils-5.93;  ${MAKE} clean
            cd /tmp/coreutils-5.93;  ${MAKE}
            cd /tmp/coreutils-5.93;  ${MAKE} install
    
    echo fileutils-4.1:
    echo Included tools duplicate files, list files, display disk usage, change file permissions, change group and owner ownership, rename, delete and creates file nodes including technology to delete files securely
        cd /tmp; gzip -d <  ${SROOT}/fileutils-4.1.tar.gz | tar -xvof -
        cd /tmp; cd fileutils-4.1;  ./configure
        cd /tmp; cd fileutils-4.1; ${MAKE} clean
        cd /tmp; cd fileutils-4.1; ${MAKE}
        cd /tmp; cd fileutils-4.1; ${MAKE} install
        cd /tmp;    rm -rf /tmp/fileutils-4.1
    
    echo textutils-2.1:
        cd /tmp; gzip -d <  ${SROOT}/textutils-2.1.tar.gz | tar -xvof -
        cd /tmp; cd textutils-2.1;  ./configure
        cd /tmp; cd textutils-2.1; ${MAKE} clean
        cd /tmp; cd textutils-2.1; ${MAKE}
        cd /tmp; cd textutils-2.1; ${MAKE} install 
        cd /tmp;    rm -rf /tmp/textutils-2.1
    
    echo findutils-4.2.20:
        cd /tmp; gzip -d <  ${SROOT}/findutils-4.2.20.tar.gz | tar -xvof -
        cd /tmp; cd findutils-4.2.20;  ./configure
        cd /tmp; cd findutils-4.2.20; ${MAKE} clean
        cd /tmp; cd findutils-4.2.20; ${MAKE}
        cd /tmp; cd findutils-4.2.20; ${MAKE} install
        cd /usr/local/bin; nice updatedb &
        cd /tmp;    rm -rf /tmp/findutils-4.2.20
    
    echo fontutils-0.7:
    echo Converts between font formats and creates fonts
        cd /tmp; gzip -d <  ${SROOT}/fontutils-0.7.tar.gz | tar -xvof -
        cd /tmp; cd fontutils-0.7; ./configure
        cd /tmp; cd fontutils-0.7; ${MAKE} clean
        cd /tmp; cd fontutils-0.7; ${MAKE}
        cd /tmp; cd fontutils-0.7; ${MAKE} install
        cd /tmp;    rm -rf /tmp/fontutils-0.7
    
    echo gawk-3.1.4:
    echo String manipulation language
        cd /tmp; gzip -d <  ${SROOT}/gawk-3.1.4.tar.gz | tar -xvof -
        cd /tmp; cd gawk-3.1.4; CC=gcc ./configure
        cd /tmp; cd gawk-3.1.4; ${MAKE} clean
        cd /tmp; cd gawk-3.1.4; ${MAKE}
        cd /tmp; cd gawk-3.1.4; ${MAKE} install 
        cd /tmp;    rm -rf /tmp/gawk-3.1.4
    
    echo gcal-3.01:
        echo GNU calendar
        cd /tmp; gzip -d <  ${SROOT}/gcal-3.01.tar.gz | tar -xvof -
        cd /tmp; cd gcal-3.01;  ./configure
        cd /tmp; cd gcal-3.01; ${MAKE} clean
        cd /tmp; cd gcal-3.01; ${MAKE}
        cd /tmp; cd gcal-3.01; ${MAKE} install
        cd /tmp;    rm -rf /tmp/gcal-3.01
    
    echo gdb-6.6:
    echo GNU debugger
        cd /tmp; gzip -d <  ${SROOT}/gdb-6.6.tar.gz | tar -xvof -
        cd /tmp; cd gdb-6.6;  ./configure
        cd /tmp; cd gdb-6.6; ${MAKE} clean
        cd /tmp; cd gdb-6.6; ${MAKE}
        cd /tmp; cd gdb-6.6; cd gdb; ${MAKE} CFLAGS="-lintl"
        cd /tmp; cd gdb-6.6; ${MAKE} install 
        cd /tmp;    rm -rf /tmp/gdb-6.6
    
    echo gift-0.1.9:
    echo Content based image retrieval system
           cd /tmp; /usr/bin/bzip2 -d <  ${SROOT}/gift-0.11.8.1.tar.bz2 | /usr/bin/tar -xvof -
            cd /tmp/gift-0.11.8.1;  ./configure
            cd /tmp/gift-0.11.8.1;  ${MAKE} clean
            cd /tmp/gift-0.11.8.1;  ${MAKE}
            cd /tmp/gift-0.11.8.1;  ${MAKE} install
    
    echo git-4.3.20:
    echo A set of interactive tools that includes an extensible file system browser, an ASCII/hex file viewer, a process viewer/killer, and other related utilities and shell scripts.
           cd /tmp; gzip -d <  ${SROOT}/git-4.3.20.tar.gz | tar -xvof -
            cd /tmp/git-4.3.20;  ./configure
            cd /tmp/git-4.3.20;  ${MAKE} clean
            cd /tmp/git-4.3.20;  ${MAKE}
            cd /tmp/git-4.3.20;  ${MAKE} install
    
    echo gleem-1.2.1:
    echo OpenGL Extremely-Easy-to-use Manipulators is a small, self-contained C++ lib of 3D widgets that support direct user interaction with a 3D scene
           cd /tmp; gzip -d <  ${SROOT}/gleem-1.2.1.tar.gz | tar -xvof -
            cd /tmp/gleem-1.2.1;  ./configure
            cd /tmp/gleem-1.2.1;  ${MAKE} clean
            cd /tmp/gleem-1.2.1;  ${MAKE}
            cd /tmp/gleem-1.2.1;  ${MAKE} install
    
    echo global-4.8.2:
    echo Source code tag system for C, C++, Java, and Yacc
           cd /tmp; gzip -d <  ${SROOT}/global-4.8.2.tar.gz | tar -xvof -
            cd /tmp/global-4.8.2;  ./configure
            cd /tmp/global-4.8.2;  ${MAKE} clean
            cd /tmp/global-4.8.2;  ${MAKE}
            cd /tmp/global-4.8.2;  ${MAKE} install
    
    echo glpk-4.8:
    echo GNU Linear Programming Kit is intended for solving large scale linear programming problems by means of the revised simplex method
           cd /tmp; gzip -d <  ${SROOT}/glpk-4.8.tar.gz | tar -xvof -
            cd /tmp/glpk-4.8;  ./configure
            cd /tmp/glpk-4.8;  ${MAKE} clean
            cd /tmp/glpk-4.8;  ${MAKE}
            cd /tmp/glpk-4.8;  ${MAKE} install
    
    echo goose-0.0.11:
    echo Goose is a C++ library for statistical computation
           cd /tmp; gzip -d <  ${SROOT}/goose-0.0.11.tar.gz | tar -xvof -
            cd /tmp/goose-0.0.11;  ./configure
            cd /tmp/goose-0.0.11;  ${MAKE} clean
            cd /tmp/goose-0.0.11;  ${MAKE}
            cd /tmp/goose-0.0.11;  ${MAKE} install
    
    echo gperf-3.0.1:
    echo GNU gperf is a perfect hash function generator
           cd /tmp; gzip -d <  ${SROOT}/gperf-3.0.1.tar.gz | tar -xvof -
            cd /tmp/gperf-3.0.1;  ./configure
            cd /tmp/gperf-3.0.1;  ${MAKE} clean
            cd /tmp/gperf-3.0.1;  ${MAKE}
            cd /tmp/gperf-3.0.1;  ${MAKE} install
    
    echo grep-2.5.1a:
    echo Finds lines that match entered patterns
        cd /tmp; gzip -d <  ${SROOT}/grep-2.5.1a.tar.gz | tar -xvof -
        cd /tmp; cd grep-2.5.1a;  ./configure
        cd /tmp; cd grep-2.5.1a; ${MAKE} clean
        cd /tmp; cd grep-2.5.1a; ${MAKE}
        cd /tmp; cd grep-2.5.1a; ${MAKE} install 
        cd /tmp;    rm -rf /tmp/grep-2.5.1a
    
    echo groff-1.19.1:
    echo Document formatting system
        cd /tmp; gzip -d <  ${SROOT}/groff-1.19.1.tar.gz | tar -xvof -
        cd /tmp; cd groff-1.19.1;  ./configure
        cd /tmp; cd groff-1.19.1; ${MAKE} clean
        cd /tmp; cd groff-1.19.1; ${MAKE}
        cd /tmp; cd groff-1.19.1; ${MAKE} install
        cd /tmp;    rm -rf /tmp/groff-1.19.1
    
    echo indent-2.2.9:
    echo 'indent' changes the appearance of a C program by inserting or deleting whitespace
           cd /tmp; gzip -d <  ${SROOT}/indent-2.2.9.tar.gz | tar -xvof -
            cd /tmp/indent-2.2.9;  ./configure
            cd /tmp/indent-2.2.9;  ${MAKE} clean
            cd /tmp/indent-2.2.9;  ${MAKE}
            cd /tmp/indent-2.2.9;  ${MAKE} install
    
    echo intlfonts-1.2.1:
    echo This directory contains free X11 fonts BDF format for all characters that Emacs 20 can handle
           cd /tmp; gzip -d <  ${SROOT}/intlfonts-1.2.1.tar.gz | tar -xvof -
            cd /tmp/intlfonts-1.2.1;  ./configure
            cd /tmp/intlfonts-1.2.1;  ${MAKE} clean
            cd /tmp/intlfonts-1.2.1;  ${MAKE}
            cd /tmp/intlfonts-1.2.1;  ${MAKE} install
    
    echo ispell-3.2.06:
    echo Interactive spell checker that suggests near misses to replace unrecognized words
           cd /tmp; gzip -d <  ${SROOT}/ispell-3.2.06.tar.gz | tar -xvof -
            cd /tmp/ispell-3.2.06;  ./configure
            cd /tmp/ispell-3.2.06;  ${MAKE} clean
            cd /tmp/ispell-3.2.06;  ${MAKE}
            cd /tmp/ispell-3.2.06;  ${MAKE} install
    
    echo libtool-1.5.24:
    echo Generic library support script
        cd /tmp; gzip -d <  ${SROOT}/libtool-1.5.24.tar.gz | tar -xvof -
        cd /tmp; cd libtool-1.5.24;  ./configure
        cd /tmp; cd libtool-1.5.24; ${MAKE} clean
        cd /tmp; cd libtool-1.5.24; ${MAKE}
        cd /tmp; cd libtool-1.5.24; ${MAKE} install
        cd /tmp;    rm -rf /tmp/libtool-1.5.24
    
    echo miscfiles
    echo Collection of various files
           cd /tmp; gzip -d <  ${SROOT}/miscfiles-1.4.2.tar.gz | tar -xvof -
            cd /tmp/miscfiles-1.4.2;  ./configure
            cd /tmp/miscfiles-1.4.2;  ${MAKE} clean
            cd /tmp/miscfiles-1.4.2;  ${MAKE}
            cd /tmp/miscfiles-1.4.2;  ${MAKE} install
    
    echo patch-2.5.4:
    echo GNU version of Larry Wall's program that takes diff's output and applies it to an original file to generate a modified version of that file
        cd /tmp; gzip -d <  ${SROOT}/patch-2.5.4.tar.gz | tar -xvof -
        cd /tmp; cd patch-2.5.4;  ./configure
        cd /tmp; cd patch-2.5.4; ${MAKE} clean
        cd /tmp; cd patch-2.5.4; ${MAKE}
        cd /tmp; cd patch-2.5.4; ${MAKE} install
        cd /tmp;    rm -rf /tmp/patch-2.5.4
    
    echo rcs-5.7:
    echo Version control and project management software
        cd /tmp; gzip -d <  ${SROOT}/rcs-5.7.tar.gz | tar -xvof -
        cd /tmp; cd rcs-5.7;  ./configure
        cd /tmp; cd rcs-5.7; ${MAKE} clean
        cd /tmp; cd rcs-5.7; ${MAKE}
        cd /tmp; cd rcs-5.7; ${MAKE} install
        cd /tmp;    rm -rf /tmp/rcs-5.7
    
    echo sed-4.1.4:
    echo A stream-oriented non-interactive text editor
        cd /tmp; gzip -d <  ${SROOT}/sed-4.1.4.tar.gz | tar -xvof -
        cd /tmp; cd sed-4.1.4;  ./configure
        cd /tmp; cd sed-4.1.4; ${MAKE} clean
        cd /tmp; cd sed-4.1.4; ${MAKE}
        cd /tmp; cd sed-4.1.4; ${MAKE} install 
        cd /tmp;    rm -rf /tmp/sed-4.1.4
    
    echo sharutils-4.3.81:
    echo Sharutils consists of two shell archiving utilities: shar and unshar.
           cd /tmp; gzip -d <  ${SROOT}/sharutils-4.3.81.tar.gz | tar -xvof -
            cd /tmp/sharutils-4.3.81;  ./configure
            cd /tmp/sharutils-4.3.81;  ${MAKE} clean
            cd /tmp/sharutils-4.3.81;  ${MAKE}
            cd /tmp/sharutils-4.3.81;  ${MAKE} install
    
    echo shtool-2.0.2:
    echo A compilation of portable shell scripts into a single shell tool
           cd /tmp; gzip -d <  ${SROOT}/shtool-2.0.2.tar.gz | tar -xvof -
            cd /tmp/shtool-2.0.2;  ./configure
            cd /tmp/shtool-2.0.2;  ${MAKE} clean
            cd /tmp/shtool-2.0.2;  ${MAKE}
            cd /tmp/shtool-2.0.2;  ${MAKE} install
    
    echo spell-1.0:
    echo  spell checking program which prints each misspelled word on a line of its own
           cd /tmp; gzip -d <  ${SROOT}/spell-1.0.tar.gz | tar -xvof -
            cd /tmp/spell-1.0;  ./configure
            cd /tmp/spell-1.0;  ${MAKE} clean
            cd /tmp/spell-1.0;  ${MAKE}
            cd /tmp/spell-1.0;  ${MAKE} install
    
    echo termcap-1.3.1:
        cd /tmp; gzip -d <  ${SROOT}/termcap-1.3.1.tar.gz | tar -xvof -
        cd /tmp; cd termcap-1.3.1;  ./configure
        cd /tmp; cd termcap-1.3.1; ${MAKE} clean
        cd /tmp; cd termcap-1.3.1; ${MAKE}
        cd /tmp; cd termcap-1.3.1; ${MAKE} install 
        cd /tmp;    rm -rf /tmp/termcap-1.3.1
    
    echo termutils-2.0:
    echo Programs for controlling terminals
           cd /tmp; gzip -d <  ${SROOT}/termutils-2.0.tar.gz | tar -xvof -
            cd /tmp/termutils-2.0;  ./configure
            cd /tmp/termutils-2.0;  ${MAKE} clean
            cd /tmp/termutils-2.0;  ${MAKE}
            cd /tmp/termutils-2.0;  ${MAKE} install
    
    echo texinfo-4.8a:
    echo Produces manuals, ASCII text, and on-line documentation
        cd /tmp; gzip -d <  ${SROOT}/texinfo-4.8a.tar.gz | tar -xvof -
        cd /tmp; cd texinfo-4.8a; ./configure
        cd /tmp; cd texinfo-4.8a; ${MAKE} clean
        cd /tmp; cd texinfo-4.8a; ${MAKE}
        cd /tmp; cd texinfo-4.8a; ${MAKE} install
        cd /tmp;    rm -rf /tmp/texinfo-4.8a
    
    echo time-1.7:
    echo Reports the user, system, and real time used by a process
           cd /tmp; gzip -d <  ${SROOT}/time-1.7.tar.gz | tar -xvof -
            cd /tmp/time-1.7;  ./configure
            cd /tmp/time-1.7;  ${MAKE} clean
            cd /tmp/time-1.7;  ${MAKE}
            cd /tmp/time-1.7;  ${MAKE} install
    
    echo wdiff-0.5:
    echo Compares two files on a word per word basis, finding the word deleted or added from the first file to make the second
           cd /tmp; gzip -d <  ${SROOT}/wdiff-0.5.tar.gz | tar -xvof -
            cd /tmp/wdiff-0.5;  ./configure
            cd /tmp/wdiff-0.5;  ${MAKE} clean
            cd /tmp/wdiff-0.5;  ${MAKE}
            cd /tmp/wdiff-0.5;  ${MAKE} install
    
    echo wget-1.10.2:
            cd /tmp; gzip -d < ${SROOT}/wget-1.10.2.tar.gz | tar -xvof -
            cd /tmp; cd wget-1.10.2
            cd /tmp; cd wget-1.10.2; ./configure
            cd /tmp; cd wget-1.10.2; ${MAKE} clean
            cd /tmp; cd wget-1.10.2; ${MAKE}
            cd /tmp; cd wget-1.10.2; ${MAKE} install
    
    #
    # GNU C compiler
    #
    
    
    
    echo flex-2.5.33:
        cd /tmp; gzip -d <  ${SROOT}/flex-2.5.33.tar.gz | tar -xvof -
        cd /tmp; cd flex-2.5.33;  ./configure
        cd /tmp; cd flex-2.5.33; ${MAKE} clean
        cd /tmp; cd flex-2.5.33; ${MAKE}
        cd /tmp; cd flex-2.5.33; ${MAKE} install
        cd /tmp;    rm -rf /tmp/flex-2.5.33
    
    echo bison-2.0:
        cd /tmp; gzip -d <  ${SROOT}/bison-2.0.tar.gz | tar -xvof -
        cd /tmp; cd bison-2.0;  ./configure
        cd /tmp; cd bison-2.0; ${MAKE} clean
        cd /tmp; cd bison-2.0; ${MAKE}
        cd /tmp; cd bison-2.0; ${MAKE} install
        cd /tmp;    rm -rf /tmp/bison-2.0
    
    echo m4-1.4.8:
        cd /tmp; gzip -d <  ${SROOT}/m4-1.4.8.tar.gz | tar -xvof -
        cd /tmp; cd m4-1.4.8;  ./configure
        cd /tmp; cd m4-1.4.8; ${MAKE} clean
        cd /tmp; cd m4-1.4.8; ${MAKE}
        cd /tmp; cd m4-1.4.8; ${MAKE} install
        cd /tmp;    rm -rf /tmp/m4-1.4.8
    
    echo plotutils
    echo Plotting and graphics utilities
           cd /tmp; gzip -d <  ${SROOT}/plotutils-2.4.1.tar.gz | tar -xvof -
            cd /tmp/plotutils-2.4.1;  ./configure
            cd /tmp/plotutils-2.4.1;  ${MAKE} clean
            cd /tmp/plotutils-2.4.1;  ${MAKE}
            cd /tmp/plotutils-2.4.1;  ${MAKE} install
    
    #
    # Try to install three versions of gcc: 3.4.5 -> 2.95.3 -> 3.3.6 -> 4.0 beta ->  3.4.6
    #
    
    echo gcc-core-3.4.5
      cd /tmp; if [ ! -f gcc-core-3.4.5.tar.gz ]; then
        wget ${SRCURL}/gnu/gcc-core-3.4.5.tar.gz
      fi
      cd /tmp; rm -rf gcc-3.4.5
      cd /tmp; gzip -d <  gcc-core-3.4.5.tar.gz | tar -xvof -
      cd /tmp; cd gcc-3.4.5; mkdir buiid
      cd /tmp; cd gcc-3.4.5; cd buiid; ../configure --with-gnu-as --with-ld=/usr/ccs/bin/ld --enable-nls --enable-shared
    #  cd /tmp; cd gcc-3.4.5; cd buiid; ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-shared
    #  cd /tmp; cd gcc-3.4.5; cd build; ../configure --prefix=/usr/local  --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-languages=c,c++
      cd /tmp; cd gcc-3.4.5; cd buiid; ${GMAKE} bootstrap
      cd /tmp; cd gcc-3.4.5; cd buiid; ${GMAKE} install
      cd /tmp; rm -rf gcc-3.4.5
    
    echo gcc-2.95.3:
    # avoid GNU ld    
        cd /tmp; rm -rf /tmp/gcc-2.95.3
        cd /tmp; gzip -d < gcc-2.95.3.tar.gz | tar -xvof -
    #       It seems that 'sparcv9-sun-solaris' option does not work correctly.
    #       `echo | sed 's/v9//g'` means that 64 bit compiler is not built.
        cd /tmp; cd gcc-2.95.3; ./configure --prefix=/usr/local --enable-languages="c,c++"
        cd /tmp; cd gcc-2.95.3; ${MAKE} clean
    #       building native compiler
        cd /tmp; cd gcc-2.95.3/texinfo; ${MAKE}
        cd /tmp; cd gcc-2.95.3/texinfo/makeinfo; ${MAKE} LIBS="-lintl"
        cd /tmp; cd gcc-2.95.3; ${MAKE} bootstrap
        cd /tmp; cd gcc-2.95.3; ${MAKE} install
            cd /tmp; rm -rf gcc-2.95.3
    
    echo gcc-3.3.6
      cd /tmp; if [ ! -f gcc-3.3.6.tar.gz ]; then
        wget ${SRCURL}/gnu/gcc-3.3.6.tar.gz
      fi
      cd /tmp; rm -rf gcc-3.3.6
      cd /tmp; gzip -d <  gcc-3.3.6.tar.gz | tar -xvof -
      cd /tmp; cd gcc-3.3.6; mkdir build
      cd /tmp; cd gcc-3.3.6; cd build; ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld  --enable-nls --enable-shared
      cd /tmp; cd gcc-3.3.6; cd build; ${MAKE} bootstrap
      cd /tmp; cd gcc-3.3.6; cd build; ${MAKE} install
      cd /tmp; rm -rf gcc-3.3.6
    
    echo gcc-4.0.3
    cd /tmp
      if [ ! -f gcc-4.0.3.tar.bz2 ]; then
        wget https://www.kkaneko.jp/tools/src/gnu/gcc-4.0.3.tar.bz2
      fi
    # extract source file
    cd /tmp
      rm -rf gcc-4.0.3
      /usr/bin/bzip2 -d <  gcc-4.0.3.tar.bz2 | /usr/bin/tar -xvof -
    # configure, make, and install
    cd /tmp/gcc-4.0.3
      mkdir build
      cd build
      ../configure --with-gnu-as --with-ld=/usr/ccs/bin/ld --enable-nls --enable-shared
      /usr/local/bin/gmake bootstrap
      /usr/local/bin/gmake install
      /usr/local/bin/gmake clean
    
    # download source file
    echo gcc-3.4.6
    cd /tmp
      if [ ! -f gcc-3.4.6.tar.gz ]; then
        wget https://www.kkaneko.jp/tools/src/gnu/gcc-3.4.6.tar.gz
      fi
    # extract source file
    cd /tmp
      rm -rf gcc-3.4.6
      /usr/bin/gzip -d <  gcc-3.4.6.tar.gz | /usr/bin/tar -xvof -
    # configure, make, and install
    cd /tmp/gcc-3.4.6
      mkdir build
      cd build
      ../configure --with-gnu-as --with-ld=/usr/ccs/bin/ld --enable-nls --enable-shared
    #  ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --enable-shared
      /usr/local/bin/gmake bootstrap
      /usr/local/bin/gmake install
      /usr/local/bin/gmake clean
    
    echo emacs-21.4a
      cd /tmp; if [ ! -f emacs-21.4a.tar.gz ]; then
        wget ${SRCURL}/gnu/emacs-21.4a.tar.gz
      fi
      cd /tmp; if [ ! -f leim-21.4.tar.gz ]; then
        wget ${SRCURL}/gnu/leim-21.4.tar.gz
      fi
      cd /tmp; rm -rf emacs-21.4
      cd /tmp; gzip -d <  emacs-21.4a.tar.gz | tar -xvof -
      cd /tmp; gzip -d <  leim-21.4.tar.gz | tar -xvof -
      cd /tmp/emacs-21.4
      ./configure -with-gcc --with-mule --with-xim --with-xll --with-site-lisp --with-xfs --with-x-toolkit=motif --with-wnn --with-wnn-includes=/usr/lib/locale/ja/wnn/demo/include --with-wnn-libraries=/usr/lib/locale/ja/wnn/lib
    #  ./configure  --prefix=/usr/local -with-gcc --with-mule --with-xim --with-xll --x-libraries=/usr/openwin/lib:/usr/local/lib:/usr/sfw/lib:/opt/sfw/lib --x-includes=/usr/openwin/include:/usr/local/include:/usr/sfw/include:/opt/sfw/include --with-site-lisp --with-xfs --with-x-toolkit=motif --with-wnn --with-wnn-includes=/usr/lib/locale/ja/wnn/demo/include --with-wnn-libraries=/usr/lib/locale/ja/wnn/lib
    # cd /tmp/emacs-21.4; ./configure --prefix=/usr/local \
    #     -with-gcc --with-mule --with-xim  \
    #     --x-libraries=/usr/X11/lib:/usr/openwin/lib:/usr/local/lib:/usr/sfw/lib:/opt/sfw/lib \
    #     --x-includes=/usr/X11/include:/usr/openwin/include:/usr/local/include:/usr/sfw/include:/opt/sfw/include \
    #     --with-site-lisp --with-xfs --with-x-toolkit=motif \
    #     --with-wnn --with-wnn-includes=/usr/lib/locale/ja/wnn/demo/include --with-wnn-libraries=/usr/lib/locale/ja/wnn/lib
      ${GMAKE}
      ${GMAKE} install
    exit
    
    

    ptetex3

    ptetex3 のインストール法の説明は、 TeX Wiki の Make の Web ページ: http://oku.edu.mie-u.ac.jp/~okumura/texwiki/?Make, ptetex 開発者による Web ページ: http://www.nn.iij4u.or.jp/~tutimura/tex/ptetex.html に詳しいので、ここで繰り返す必要はありません。

    Solaris でのインストールの注意点は次の通りです。


    (必要なら) xemacs-21.4.17 のインストール

    次に xemacs をインストールします。xemacs-21.4.17 のインストール手順を書いています.

    /bin/sh
    echo xemacs-sumo-2005-05-05
      mkdir /usr/local/lib
      mkdir /usr/local/lib/xemacs
      cd /tmp; if [ ! -f xemacs-sumo-2005-05-05.tar.gz ]; then
        wget https://www.kkaneko.jp/tools/src/toollib/xemacs-sumo-2005-05-05.tar.gz
      fi
    # extract into /usr/local/lib/xemacs
      cd /usr/local/lib/xemacs
      /usr/bin/gzip -d <  /tmp/xemacs-sumo-2005-05-05.tar.gz | /usr/bin/tar -xvof -  
    
    echo xemacs-mule-sumo-2005-05-05
      cd /tmp; if [ ! -f xemacs-mule-sumo-2005-05-05.tar.gz ]; then
        wget https://www.kkaneko.jp/tools/src/toollib/xemacs-mule-sumo-2005-05-05.tar.gz
      fi
    # extract into /usr/local/lib/xemacs
      cd /usr/local/lib/xemacs
      /usr/bin/gzip -d <  /tmp/xemacs-mule-sumo-2005-05-05.tar.gz | /usr/bin/tar -xvof -  
    
      cd  /usr/local/lib/xemacs/mule-packages/etc/app-defaults
      rm -f ja_JP.eucJP
      ln -s ja ja_JP.eucJP
    
    echo xemacs-21.4.17
      cd /tmp; if [ ! -f xemacs-21.4.17.tar.gz ]; then
        wget https://www.kkaneko.jp/tools/src/toollib/xemacs-21.4.17.tar.gz
      fi
    # extract source file
      cd /tmp
      rm -rf xemacs-21.4.17
      /usr/bin/gzip -d <  xemacs-21.4.17.tar.gz | /usr/bin/tar -xvof -
    # configure, make, and install
      cd /tmp/xemacs-21.4.17
      cp src/s/sol2.h src/s/sol2.h.DIST
      cat src/s/sol2.h.DIST | sed 's/typedef void \*__gnuc_va_list;/typedef __builtin_va_list __gnuc_va_list;/g'  > src/s/sol2.h
      ./configure --with-gcc=yes --with-mule --with-xim --with-xfs --with-site-lisp --pdump --without-canna --without-wnn \
      --with-x11 --site-libraries=/usr/local/lib --site-includes=/usr/local/include
      make
      make -k install
    
    

    参考情報

    xemacs の IIIMECF 設定 (on Solaris)

    Solaris の ATOK サーバと通信して、日本語入力ができるようにするために、下記の手順で、IIIMECF, Mule-UCS をダウンロード、展開、インストールします。

    cd /tmp
    if [ ! -f Mule-UCS-0.84.tar.gz ]; then
      wget https://www.kkaneko.jp/tools/src/toollib/Mule-UCS-0.84.tar.gz
    fi
    /usr/bin/gzip -d < Mule-UCS-0.84.tar.gz | tar -xvof -
    cd /tmp/Mule-UCS-0.84
    /usr/local/bin/xemacs --vanilla -batch -l *.el
    mkdir /usr/local/lib/xemacs/site-lisp/mule-ucs
    cp /tmp/Mule-UCS-0.84/lisp/*.elc /usr/local/lib/xemacs/site-lisp/mule-ucs
    
    cd /tmp
    if [ ! -f IIIMECF-0.6.tar.gz ]; then
      wget https://www.kkaneko.jp/tools/src/toollib/IIIMECF-0.6.tar.gz
    fi
    /usr/bin/gzip -d < IIIMECF-0.6.tar.gz | tar -xvof -
    cd /tmp/IIIMECF-0.6
    /usr/local/bin/xemacs --vanilla -batch -l *.el
    mkdir /usr/local/lib/xemacs/site-lisp/iiimecf
    cp /tmp/IIIMECF-0.6/lisp/*.elc /usr/local/lib/xemacs/site-lisp/iiimecf
    

    なお、IIIMECF, Mule-UCS は、 ftp://ftp.m17n.org/pub/mule/ で配布されている。

    .xemacs/init.el を書く

    IIIMECF の README を読んで .xemacs/init.el を記述します。設定例は次の 通りです。 Ctrl + バックスラッシュで、入力モードの切替えになります。

    ;;
    (set-language-environment "Japanese")
    (define-key global-map "\C-\\" 'toggle-input-method)
    ;;
    (setq iiimcf-server-control-hostlist '("localhost"))
    (setq iiimcf-server-control-default-language "ja")
    (setq default-input-method 'iiim-server-control)
    (require 'iiimcf-sc)
    (eval-after-load "'iiimcf-sc"
      (setq modeline-format default-modeline-format))
    

    X Window X11R6

    X11R6.9.0 の make 手順である。 下記の「cp /tmp/site.def xc/config/cf/site.def」では、ProjectRoot, HasGcc2, OSMajorVersion, OSMinorVersion 等の設定を行なっています。

    参考 Web ページ: X Window http://www.x.org

    インストール手順

        rehash
        cd /tmp
        /usr/local/bin/wget  https://www.kkaneko.jp/tools/src/X11R6.9.0/X11R6.9.0-src1.tar.gz
        /usr/local/bin/wget  https://www.kkaneko.jp/tools/src/X11R6.9.0/X11R6.9.0-src2.tar.gz
        /usr/local/bin/wget  https://www.kkaneko.jp/tools/src/X11R6.9.0/X11R6.9.0-src3.tar.gz
        /usr/local/bin/wget  https://www.kkaneko.jp/tools/src/X11R6.9.0/X11R6.9.0-src4.tar.gz
        /usr/local/bin/wget  https://www.kkaneko.jp/tools/src/X11R6.9.0/X11R6.9.0-src5.tar.gz
        /usr/local/bin/wget  https://www.kkaneko.jp/tools/src/X11R6.9.0/X11R6.9.0-src6.tar.gz
        /usr/local/bin/wget  https://www.kkaneko.jp/tools/src/X11R6.9.0/X11R6.9.0-src7.tar.gz
    
    #    site.def をダウンロード (Solaris 8/9/10 用 SPARC/IA 共通)
        /usr/local/bin/wget https://www.kkaneko.jp/tools/src/X11R6.9.0/site.def
    
        mkdir /tmp/src
        cd /tmp/src
        gzip -d < /tmp/X11R6.9.0-src1.tar.gz | tar -xvof -
        gzip -d < /tmp/X11R6.9.0-src2.tar.gz | tar -xvof -
        gzip -d < /tmp/X11R6.9.0-src3.tar.gz | tar -xvof -
        gzip -d < /tmp/X11R6.9.0-src4.tar.gz | tar -xvof -
        gzip -d < /tmp/X11R6.9.0-src5.tar.gz | tar -xvof -
        gzip -d < /tmp/X11R6.9.0-src6.tar.gz | tar -xvof -
        gzip -d < /tmp/X11R6.9.0-src7.tar.gz | tar -xvof -
        cp /tmp/site.def /tmp/src/xc/config/cf/site.def
        # ここで site.def を編集. ProjectRoot, OSMinorVersion, GccMajorVersion, GCCMinorVersion 等を適切に設定します。
        cd xc
        # make は Solaris の make を使っても良いようです
        /usr/local/bin/gmake -k World
        # インストールの前にスーパーユーザになる
        # "/usr/local/X11R6.9.0" は、site.def に設定した ProjectRoot にあわせる
        ln -s /usr/local/X11R6.9.0 /usr/X11R6
        cd /tmp/src/xc
        /usr/local/bin/gmake -k install
    

    その他のツール

    その他、あると便利なツールです。 次の手順で行う。

    インストール手順

    事前準備

    SUN のコンパイラで無く、GNU のコンパイラを使いたい時は、 /usr/openwin/lib/config/site.def の HasGcc2 のコメントを外すこと。

    インストール

    # その他のツール自動インストール用スクリプト makeiaを /tmp にダウンロードする(Solaris 8/9/10 SPARC/IA 用)
    rehash
    cd /tmp
    /usr/local/bin/wget https://www.kkaneko.jp/tools/src/toollib/makeia
    # https://www.kkaneko.jp/tools/src/toollib/ の下にあるファイルを、/tmp にダウンロードする(下記の「参考情報「のところに一覧を書いています)
    /usr/local/bin/wget -N -nd -np -r --follow-tags=a https://www.kkaneko.jp/tools/src/toollib/
    # スーパーユーザになって、make とインストール
    su
    sh makeia
    # ここで、エラーが無いか見張る
    

    ソースファイル

    古いバージョンのソースコードが必要になることがあるので、 消さずに置いている。

    補足説明

  • xpm-3.4k.tar.gz, xpm
  • kterm-6.2.0.tar.gz, kterm terminal emulator
  • fvwm-2.4.19.tar.bz2, fvwm
  • 参考 Web ページ xpm: http://koala.ilog.fr/lehors/xpm.html
  • 参考 Web ページ fvwm: http://www.fvwm.org

    参考 Web ページ

    インストール用スクリプト

    #!/bin/sh
    # For more information:  https://www.kkaneko.jp/tools/solaris/solaris_optionsoft.html
    
    prefix=/usr/local
    export prefix
    
    #
    #
    #
    
    SROOT=/tmp
    SRCURL="https://www.kkaneko.jp/tools/src/toollib"
    
    
    PATH=/usr/bin:/usr/sbin:/sbin:/usr/local/SUNWspro/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/X11/bin:/usr/openwin/bin:/usr/dt/bin:/usr/openwin/demo/bin:/usr/local/X11R6.9.0/bin:/opt/SUNWspro/bin:/usr/ucb:/usr/local/netpbm/bin:/opt/sfw/bin
    LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/ccs/lib:/opt/sfw/lib:/usr/dt/lib:/usr/X11/lib:/usr/openwin/lib:/usr/local/X11R6.9.0/lib:/usr/ucblib:/opt/SUNWspro/lib:/opt/SUNWdtpcv/lib:/opt/SUNWits/Graphics-sw/xil/lib:/opt/SUNWits/Graphics-sw/xgl-3.0/lib
    
    PATH=/usr/local/bin:$PATH
    export PATH 
    LD_LIBRARY_PATH=/usr/local/bin:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
    
    if [ -f /usr/local/bin/libtool ]; then
        LIBTOOL=/usr/local/bin/libtool
        export LIBTOOL
    else
        LIBTOOL=/opt/sfwl/bin/libtool
        export LIBTOOL
    fi
    
    # make
    if [ -x /usr/local/bin/gmake ]; then
        MAKE="/usr/local/bin/gmake"
        GNUMAKE="/usr/local/bin/gmake"
    elif [ -x /opt/sfw/bin/gmake ]; then
        MAKE="/opt/sfw/bin/gmake"
        GNUMAKE="/opt/sfw/bin/gmake"
    fi
    
    # gzip
    if [ -x /usr/bin/gzip ]; then
        GZIP=/usr/bin/gzip
    elif [ -x /usr/local/bin/gzip ]; then
        GZIP=/usr/local/bin/gzip
    fi
    
    # gtar
    if [ -x /usr/local/bin/gtar ]; then
        GTAR=/usr/local/bin/gtar
    elif [ -x /opt/sfw/bin/gtar ]; then
        GZIP=/opt/sfw/bin/gtar
    fi
    
    PATCH=/usr/local/bin/patch
    
    XDIR=/usr/openwin
    # XDIR=/usr/X11R6
    # XDIR=/usr/local/X11R6.9.0
    XFONTDIR=${XDIR}/lib/X11/fonts
    XMKMF=${XDIR}/bin/xmkmf
    
    #libraries
    # libwmf 0.2.5 (or later) from http://sourceforge.net/projects/wvware/ to render files in the Windows Meta File (WMF) metafile format
    # LCMS library available from http://www.littlecms.com/
    # JBIG-Kit software available via HTTP from http://www.cl.cam.ac.uk/~xml25/jbigkit/
    # EXIF library available via http from http://sourceforge.net/projects/libexif
    # MPEG utilities from the MPEG Software Simulation Group, which are available via anonymous FTP as ftp://ftp.mpeg.org/pub/mpeg/mssg/mpeg2vidcodec_v12.tar.gz
    
    #tools
    # htmltops  http://www.tdb.uu.se/~jan/html2ps.html        
    
    
    #
    # basic tools and libs
    #
    
    #
    # library
    #
    
    echo fltk-1.1.4-source.tar.gz
        echo  A X11 Toolkit
        cd ${SROOT}; if [ ! -f fltk-1.1.4-source.tar.gz ]; then
            wget ${SRCURL}/fltk-1.1.4-source.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/fltk-1.1.4-source.tar.gz
        cd /tmp; cd fltk-1.1.4;  ./configure --enable-shared --enable-threads
        cd /tmp; cd fltk-1.1.4; ${MAKE} clean
        cd /tmp; cd fltk-1.1.4; ${MAKE}
        cd /tmp; cd fltk-1.1.4; ${MAKE} install
        cd /tmp; rm -rf fltk-1.1.4
    
    echo fnlib-0.5.tar.gz
        echo X11 font rendering library
        cd ${SROOT}; if [ ! -f fnlib-0.5.tar.gz ]; then
            wget ${SRCURL}/fnlib-0.5.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/fnlib-0.5.tar.gz
        cd /tmp; cd fnlib-0.5;  ./configure
        cd /tmp; cd fnlib-0.5; ${MAKE} clean
        cd /tmp; cd fnlib-0.5; ${MAKE}
        cd /tmp; cd fnlib-0.5; ${MAKE} check
        cd /tmp; cd fnlib-0.5; ${MAKE} install
        cd /tmp; rm -rf fnlib-0.5
    
    echo libpcap-0.9.4.tar.gz
        echo Packet Capture Library
        cd ${SROOT}; if [ ! -f libpcap-0.9.4.tar.gz ]; then
            wget ${SRCURL}/libpcap-0.9.4.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/libpcap-0.9.4.tar.gz
        cd /tmp; cd libpcap-0.9.4;  ./configure
        cd /tmp; cd libpcap-0.9.4; ${MAKE} clean
        cd /tmp; cd libpcap-0.9.4; ${MAKE}
        cd /tmp; cd libpcap-0.9.4; ${MAKE} install
        cd /tmp; rm -rf libpcap-0.9.4
    
    echo libungif-4.1.4.tar.gz
        echo GIF files library
        cd ${SROOT}; if [ ! -f libungif-4.1.4.tar.gz ]; then
            wget ${SRCURL}/libungif-4.1.4.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/libungif-4.1.4.tar.gz
        cd /tmp; cd libungif-4.1.4;  ./configure --enable-shared --enable-static
        cd /tmp; cd libungif-4.1.4; ${MAKE} clean
        cd /tmp; cd libungif-4.1.4; ${MAKE}
        cd /tmp; cd libungif-4.1.4; ${MAKE} install
        cd /tmp; rm -rf libungif-4.1.4
    
    echo pcre-7.4.tar.gz
        echo regular expression library
        cd ${SROOT}; if [ ! -f pcre-7.4.tar.gz ]; then
            wget ${SRCURL}/pcre-7.4.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/pcre-7.4.tar.gz | tar -xvof -
        cd /tmp; cd pcre-7.4;  ./configure  --enable-shared --enable-static
        cd /tmp; cd pcre-7.4; ${MAKE} clean
        cd /tmp; cd pcre-7.4; ${MAKE}
        cd /tmp; cd pcre-7.4; ${MAKE} install
        cd /tmp; rm -rf pcre-7.4
    
    echo db-2.7.7:
        echo db is the Berkeley open source embedded database system
        cd ${SROOT}; if [ ! -f db-2.7.7.tar.gz ]; then
            wget ${SRCURL}/db-2.7.7.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/db-2.7.7.tar.gz
        if [ -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd db-2.7.7/build_unix; CC=cc  ../dist/configure
            else
            cd /tmp; cd db-2.7.7/build_unix; CC=gcc ../dist/configure
            fi
        cd /tmp; cd db-2.7.7/build_unix; ${MAKE} clean
        cd /tmp; cd db-2.7.7/build_unix; ${MAKE}
        cd /tmp; cd db-2.7.7/build_unix; ${MAKE} install
        cd /tmp; rm -rf cd db-2.7.7
    
    echo db-3.3.11:
        echo db is the Berkeley open source embedded database system
        cd ${SROOT}; if [ ! -f db-3.3.11.tar.gz ]; then
            wget ${SRCURL}/db-3.3.11.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/db-3.3.11.tar.gz
        if [ -f /opt/SUNWspro/bin/cc  ]; then
               cd /tmp; cd db-3.3.11/build_unix; CC=cc  ../dist/configure --enable-shared --enable-static
            else
               cd /tmp; cd db-3.3.11/build_unix; CC=gcc ../dist/configure --enable-shared --enable-static
            fi
        cd /tmp; cd db-3.3.11/build_unix; ${MAKE} clean
        cd /tmp; cd db-3.3.11/build_unix; ${MAKE}
        cd /tmp; cd db-3.3.11/build_unix; ${MAKE} install
        cd /tmp; rm -rf db-3.3.11
    
    echo zip-2.3:
        cd ${SROOT}; if [ ! -f zip-2.3.tar.gz ]; then
            wget ${SRCURL}/zip-2.3.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/zip-2.3.tar.gz
        cd /tmp; cd zip-2.3; cp unix/Makefile .
        cd /tmp; cd zip-2.3; ${MAKE} clean
        if [ -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd zip-2.3; ${MAKE} generic svr4package
            else
            cd /tmp; cd zip-2.3; ${MAKE} CC=gcc CPP="gcc -E" generic svr4package
            fi
        cd /tmp; cd zip-2.3; ${MAKE} install
        cd /tmp; rm -rf zip-2.3
    
    echo zlib-1.2.3.tar.gz
        echo zlib compression libraries
        cd ${SROOT}; if [ ! -f zlib-1.2.3.tar.gz ]; then
            wget ${SRCURL}/../zlib-1.2.3.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/zlib-1.2.3.tar.gz
        cd /tmp; cd zlib-1.2.3;  ./configure --shared
        cd /tmp; cd zlib-1.2.3; ${MAKE} clean
        cd /tmp; cd zlib-1.2.3; ${MAKE}
        cd /tmp; cd zlib-1.2.3; ${MAKE} install
        cd /tmp; rm -rf zlib-1.2.3
    
    echo to be done
    echo xaw3d-1.5:
        echo Xaw3D is a set of 3-D widgets based on the R6.1/R6.3/R6.4 Athena Widget set
        cd ${SROOT}; if [ ! -f xaw3d-1.5.tar.gz ]; then
            wget ${SRCURL}/xaw3d-1.5.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/xaw3d-1.5.tar.gz
        cd /tmp; cd xc/lib/Xaw3d; ${XMKMF} -a
        cd /tmp; cd xc/lib/Xaw3d; ${MAKE} clean
        if [ ! -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd xc/lib/Xaw3d; ${MAKE} CC=gcc
        fi
        cd /tmp; cd xc/lib/Xaw3d; ${MAKE}
        cd /tmp; cd xc/lib/Xaw3d; ${MAKE} install
    
    
    echo expat-1.95.8:
        echo Expat is a fast, non-validating, stream-oriented XML parsing library
        cd ${SROOT}; if [ ! -f expat-1.95.8.tar.gz ]; then
            wget ${SRCURL}/expat-1.95.8.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/expat-1.95.8.tar.gz
        if [ -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd expat-1.95.8;  ./configure CC=cc --enable-static --enable-shared
            else
            cd /tmp; cd expat-1.95.8;  ./configure CC=gcc --enable-static --disable-shared
            fi
        cd /tmp; cd expat-1.95.8; ${MAKE} clean
        cd /tmp; cd expat-1.95.8; ${MAKE}
        cd /tmp; cd expat-1.95.8; ${MAKE} install
        cd /tmp; rm -rf expat-1.95.8
    
    echo freetype-2.3.5
        echo freetype
        cd ${SROOT}; if [ ! -f freetype-2.3.5.tar.gz ]; then
            wget ${SRCURL}/freetype-2.3.5.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/freetype-2.3.5.tar.gz | tar -xvof -
        cd /tmp; cd freetype-2.3.5; GNUMAKE=${GNUMAKE} ./configure
        cd /tmp; cd freetype-2.3.5; ${MAKE}
        cd /tmp; cd freetype-2.3.5; ${MAKE} install
        cd /tmp; rm -rf freetype-2.3.5
    
    # It does not work ... ?
    echo fontconfig-2.2.3.tar.gz
        echo Fontconfig is a library for configuring and customizing font access. It depends on freetype, zlib, expat.
        cd ${SROOT}; if [ ! -f fontconfig-2.2.3.tar.gz ]; then
            wget ${SRCURL}/fontconfig-2.2.3.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/fontconfig-2.2.3.tar.gz
        if [ -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd fontconfig-2.2.3;  ./configure CC=cc --enable-static --enable-shared
            else
            cd /tmp; cd fontconfig-2.2.3;  ./configure CC=gcc --enable-static --disable-shared
            fi
        cd /tmp; cd fontconfig-2.2.3; ${MAKE} clean
        cd /tmp; cd fontconfig-2.2.3; ${MAKE}
        cd /tmp; cd fontconfig-2.2.3; ${MAKE} install
        cd /tmp; rm -rf fontconfig-2.2.3
    
    echo pkg-config-0.19:
        cd ${SROOT}; if [ ! -f pkg-config-0.19.tar.gz ]; then
            wget ${SRCURL}/pkg-config-0.19.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/pkg-config-0.19.tar.gz | tar -xvof -
        cd /tmp; cd pkg-config-0.19; ./configure
        cd /tmp; cd pkg-config-0.19; ${MAKE} clean
        cd /tmp; cd pkg-config-0.19; ${MAKE}
        cd /tmp; cd pkg-config-0.19; ${MAKE} install
        cd /tmp; rm -rf pkg-config-0.19
    
    echo libpixman-0.1.5:
        cd ${SROOT}; if [ ! -f libpixman-0.1.5.tar.gz ]; then
                 wget ${SRCURL}/libpixman-0.1.5.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/libpixman-0.1.5.tar.gz | tar -xvof -
        if [ -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd libpixman-0.1.5;  ./configure CC=cc --enable-static --enable-shared
            else
            cd /tmp; cd libpixman-0.1.5;  ./configure CC=gcc --enable-static --disable-shared
            fi
         cd /tmp; cd libpixman-0.1.5; ${MAKE} clean
         cd /tmp; cd libpixman-0.1.5; ${MAKE}
          cd /tmp; cd libpixman-0.1.5; ${MAKE} install
         cd /tmp; rm -rf libpixman-0.1.5
    
    echo glitz-0.4.3:
        cd ${SROOT}; if [ ! -f glitz-0.4.3.tar.gz ]; then
                 wget ${SRCURL}/glitz-0.4.3.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/glitz-0.4.3.tar.gz | tar -xvof -
        if [ -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd glitz-0.4.3;  ./configure CC=cc --enable-static --enable-shared
            else
            cd /tmp; cd glitz-0.4.3;  ./configure CC=gcc --enable-static --disable-shared
            fi
         cd /tmp; cd glitz-0.4.3; ${MAKE} clean
         cd /tmp; cd glitz-0.4.3; ${MAKE}
          cd /tmp; cd glitz-0.4.3; ${MAKE} install
         cd /tmp; rm -rf glitz-0.4.3
    
    echo xrender-0.8.3:
        cd ${SROOT}; if [ ! -f xrender-0.8.3.tar.gz ]; then
                 wget ${SRCURL}/xrender-0.8.3.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/xrender-0.8.3.tar.gz | tar -xvof -
            cd /tmp; cd xrender-0.8.3; ./configure --enable-static --enable-shared
         cd /tmp; cd xrender-0.8.3; ${MAKE} clean
         cd /tmp; cd xrender-0.8.3; ${MAKE}
          cd /tmp; cd xrender-0.8.3; ${MAKE} install
         cd /tmp; rm -rf xrender-0.8.3
    
    echo cairo-1.4.10:
        echo It requires pixman, glitz, and xrender
        cd ${SROOT}; if [ ! -f cairo-1.4.10.tar.gz ]; then
                 wget ${SRCURL}/cairo-1.4.10.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/cairo-1.4.10.tar.gz | tar -xvof -
        if [ -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd cairo-1.4.10;  ./configure CC=cc --enable-static --enable-shared
            else
            cd /tmp; cd cairo-1.4.10;  ./configure CC=gcc --enable-static --disable-shared
            fi
         cd /tmp; cd cairo-1.4.10; ${MAKE} clean
         cd /tmp; cd cairo-1.4.10; ${MAKE}
          cd /tmp; cd cairo-1.4.10; ${MAKE} install
         cd /tmp; rm -rf cairo-1.4.10
    
    echo OpenSP-1.5.1:
        cd ${SROOT}; if [ ! -f openjade-1.3.2.tar.gz ]; then
            wget ${SRCURL}/OpenSP-1.5.1.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/OpenSP-1.5.1.tar.gz | tar -xvof -
    #    cd /tmp; cd OpenSP-1.5.1; CXX="g++ -V 3.3.6"  ./configure  --enable-static --enable-shared
        cd /tmp; cd OpenSP-1.5.1;  ./configure
        cd /tmp; cd OpenSP-1.5.1; ${MAKE} clean
        cd /tmp; cd OpenSP-1.5.1; ${MAKE}
        cd /tmp; cd OpenSP-1.5.1; ${MAKE} install
        cd /tmp; rm -rf OpenSP-1.5.1
    
    echo openjade-1.3.2:
            echo OpenJade is a project undertaken by the DSSSL community to maintain and extend Jade by James Clark
        cd ${SROOT}; if [ ! -f openjade-1.3.2.tar.gz ]; then
            wget ${SRCURL}/openjade-1.3.2.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/openjade-1.3.2.tar.gz | tar -xvof -
    #    cd /tmp; cd openjade-1.3.2; CXX="g++ -V 3.3.6" ./configure  --enable-static --enable-shared
        cd /tmp; cd openjade-1.3.2; ./configure
        cd /tmp; cd openjade-1.3.2; ${MAKE} clean
        cd /tmp; cd openjade-1.3.2; ${MAKE}
        cd /tmp; cd openjade-1.3.2; ${MAKE} install
        cd /tmp; rm -rf openjade-1.3.2
    
    echo glib-1.3.15:
        echo GLib is the low-level core library that forms the basis of GTK+ and GNOME. It requires libiconv.
        cd ${SROOT}; if [ ! -f glib-1.3.15.tar.gz ]; then
            wget ${SRCURL}/glib-1.3.15.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/glib-1.3.15.tar.gz | tar -xvof -
        cd /tmp; cd glib-1.3.15; ./configure  --with-libiconv
        cd /tmp; cd glib-1.3.15; ${MAKE} clean
        cd /tmp; cd glib-1.3.15; ${MAKE}
        cd /tmp; cd glib-1.3.15; ${MAKE} install
        cd /tmp; rm -rf glib-1.3.15
    
    echo glib-2.14.4:
        echo GLib is the low-level core library that forms the basis of GTK+ and GNOME. It requires libiconv.
        cd ${SROOT}; if [ ! -f glib-2.14.4.tar.gz ]; then
            wget ${SRCURL}/glib-2.14.4.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/glib-2.14.4.tar.gz | tar -xvof -
        cd /tmp; cd glib-2.14.4; ./configure  --with-libiconv
        cd /tmp; cd glib-2.14.4; ${MAKE} clean
        cd /tmp; cd glib-2.14.4; ${MAKE}
        cd /tmp; cd glib-2.14.4; ${MAKE} install
        cd /tmp; rm -rf glib-2.14.4
    
    echo pango-1.9.0a:
         echo Pango provides a framework and libraries for the layout and rendering of internationalized text. It requires expat, freetype, fontconfig, zlib, glib, libiconv, pkg-config  
        cd ${SROOT}; if [ ! -f pango-1.19.0.tar.gz ]; then
                 wget ${SRCURL}/pango-1.19.0.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/pango-1.19.0.tar.gz | tar -xvof -
        if [ -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd pango-1.19.0;  ./configure CC=cc --enable-static --enable-shared
            else
            cd /tmp; cd pango-1.19.0;  ./configure CC=gcc --enable-static --disable-shared
            fi
         cd /tmp; cd pango-1.19.0; ${MAKE} clean
         cd /tmp; cd pango-1.19.0; ${MAKE}
          cd /tmp; cd pango-1.19.0; ${MAKE} install
         cd /tmp; rm -rf pango-1.19.0
    
    # glib-2.4.1 is necessary just to compile atk on Solaris 10
    echo glib-2.4.1:
        if [ -f /usr/lib/libglib-2.0.so.0.400.1 ]; then
            cd ${SROOT}; if [ ! -f glib-2.4.1.tar.gz ]; then
            wget ${SRCURL}/glib-2.4.1.tar.gz
            fi
            cd /tmp; gzip -d <  ${SROOT}/glib-2.4.1.tar.gz | tar -xvof -
            cd /tmp; cd glib-2.4.1; ./configure  --with-libiconv
            cd /tmp; cd glib-2.4.1; ${MAKE} clean
            cd /tmp; cd glib-2.4.1; ${MAKE}
            cd /tmp; cd glib-2.4.1; ${MAKE} install
            cd /tmp; rm -rf glib-2.4.1
            fi       
    
    echo atk-1.20.0:
        echo The GNOME accessibility toolkit.
        cd ${SROOT}; if [ ! -f atk-1.20.0.tar.gz ]; then
            wget ${SRCURL}/atk-1.20.0.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/atk-1.20.0.tar.gz | tar -xvof -
        cd /tmp; cd atk-1.20.0;  ./configure
        cd /tmp; cd atk-1.20.0; ${MAKE} clean
        cd /tmp; cd atk-1.20.0; ${MAKE}
        cd /tmp; cd atk-1.20.0; ${MAKE} install
        cd /tmp; rm -rf atk-1.20.0
    
    
    # glib-2.14.4 is installed again on Solaris 10
    echo glib-2.14.4:
        if [ -f /usr/lib/libglib-2.0.so.0.400.1 ]; then
            cd ${SROOT}; if [ ! -f glib-2.14.4.tar.gz ]; then
            wget ${SRCURL}/glib-2.14.4.tar.gz
            fi
            cd /tmp; gzip -d <  ${SROOT}/glib-2.14.4.tar.gz | tar -xvof -
            cd /tmp; cd glib-2.14.4; ./configure  --with-libiconv
            cd /tmp; cd glib-2.14.4; ${MAKE} clean
            cd /tmp; cd glib-2.14.4; ${MAKE}
            cd /tmp; cd glib-2.14.4; ${MAKE} install
            cd /tmp; rm -rf glib-2.14.4
            fi       
    
    echo gtk+-2.8.6:
        cd ${SROOT}; if [ ! -f gtk+-2.8.6.tar.gz ]; then
            wget ${SRCURL}/gtk+-2.8.6.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/gtk+-2.8.6.tar.gz | tar -xvof -
        cd /tmp; cd gtk+-2.8.6;  ./configure
        cd /tmp; cd gtk+-2.8.6; ${MAKE} clean
        cd /tmp; cd gtk+-2.8.6; ${MAKE}
        cd /tmp; cd gtk+-2.8.6; ${MAKE} install
        cd /tmp; rm -rf gtk+-2.8.6
    
    # libxml2-2.6.22  is necessary to install libgnome
    echo libxml2-2.6.22
        cd ${SROOT}; if [ ! -f libxml2-2.6.22.tar.gz ]; then
            wget ${SRCURL}/libxml2-2.6.22.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/libxml2-2.6.22.tar.gz | tar -xvof -
        cd /tmp; cd libxml2-2.6.22;  ./configure
        cd /tmp; cd libxml2-2.6.22; ${MAKE} clean
        cd /tmp; cd libxml2-2.6.22; ${MAKE}
        cd /tmp; cd libxml2-2.6.22; ${MAKE} install
        cd /tmp; rm -rf libxml2-2.6.22
    
    echo libgnome-2.12.0.1
        cd ${SROOT}; if [ ! -f libgnome-2.12.0.1.tar.gz ]; then
            wget ${SRCURL}/libgnome-2.12.0.1.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/libgnome-2.12.0.1.tar.gz | tar -xvof -
        cd /tmp; cd libgnome-2.12.0.1;  ./configure
        cd /tmp; cd libgnome-2.12.0.1; ${MAKE} clean
        cd /tmp; cd libgnome-2.12.0.1; ${MAKE}
        cd /tmp; cd libgnome-2.12.0.1; ${MAKE} install
        cd /tmp; rm -rf libgnome-2.12.0.1
    
    
    # It does not work ... ?
    echo gd-2.0.33:
        cd ${SROOT}; if [ ! -f gd-2.0.33.tar.gz ]; then
            wget ${SRCURL}/gd-2.0.33.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/gd-2.0.33.tar.gz | tar -xvof -
        cd /tmp; cd gd-2.0.33;  ./configure
        cd /tmp; cd gd-2.0.33; ${MAKE} clean
        if [ -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd gd-2.0.33;  ${MAKE} CC="cc -I/usr/local/include"
            else
            cd /tmp; cd gd-2.0.33;  ${MAKE} CC="gcc -I/usr/local/include"
            fi
        cd /tmp; cd gd-2.0.33; ${MAKE} install
        cd /tmp; rm -rf gd-2.0.33
    
    echo xpm-3.4k:
            echo XPM format library     
        cd ${SROOT}; if [ ! -f xpm-3.4k.tar.gz ]; then
            wget ${SRCURL}/xpm-3.4k.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/xpm-3.4k.tar.gz | tar -xvof -
        cd /tmp; cd xpm-3.4k; ${XMKMF} -a
        cd /tmp; cd xpm-3.4k; ${MAKE} clean
        cd /tmp; cd xpm-3.4k; ${MAKE}
        cd /tmp; cd xpm-3.4k; ${MAKE} install
        cd /tmp; cd xpm-3.4k; ${MAKE} install.man
        cd /tmp; rm -rf xpm-3.4k
    
    #
    # Japanese and Asian
    #
    
    echo kterm-6.2.0:
        cd ${SROOT}; if [ ! -f kterm-6.2.0.tar.gz ]; then
            wget ${SRCURL}/kterm-6.2.0.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/kterm-6.2.0.tar.gz | tar -xvof -
    #    cd /tmp; cat ${SROOT}/kterm-6.2.0-6.2.0.wd0.2.patch.gz| ${GZIP} -d | patch -p0
        cd /tmp; cd kterm-6.2.0; ${XMKMF} -a
        cd /tmp; cd kterm-6.2.0; ${MAKE} clean
        cd /tmp; cd kterm-6.2.0; ${MAKE}
        cd /tmp; cd kterm-6.2.0; ${MAKE} install
        cd /tmp; cd kterm-6.2.0; ${MAKE} install.man
        cd /tmp; rm -rf kterm-6.2.0
    
    # It does not work ... ?
    echo Canna37p3:
        cd ${SROOT}; if [ ! -f Canna37p3.tar.gz ]; then
            wget ${SRCURL}/Canna37p3.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/Canna37p3.tar.gz
        cd /tmp; cd Canna37p3; cp ${SROOT}/Canna.conf Canna.conf
        cd /tmp; cd Canna37p3; ${XMKMF}
        cd /tmp; cd Canna37p3; ${MAKE} Makefile
        cd /tmp; cd Canna37p3; ${MAKE} canna
        cd /tmp; cd Canna37p3; ${MAKE} install
        cd /tmp; cd Canna37p3; ${MAKE} install.man
        cd /tmp; rm -rf Canna37p3
    
    echo kanji-type:
        cd ${SROOT}; if [ ! -f kanji-type.tar.gz ]; then
            wget ${SRCURL}/kanji-type.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/kanji-type.tar.gz
        cd /tmp; cd kanji-type; ${MAKE}
        cd /tmp; cd kanji-type; cp kanjitype /usr/local/bin
        cd /tmp; rm -rf kanji-type
    
    echo nkf207:
        cd ${SROOT}; if [ ! -f nkf207.tar.gz ]; then
            wget ${SRCURL}/nkf207.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/nkf207.tar.gz
        if [ -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd nkf207;  ${MAKE} CC=cc
            else
            cd /tmp; cd nkf207;  ${MAKE} CC=gcc
            fi
        cd /tmp; cd nkf207; cp nkf /usr/local/bin/nkf
        cd /tmp; cd nkf207; cp nkf.1 /usr/local/man/man1/nkf.1
        cd /tmp; rm -rf nkf207
    
    # It does not work ... ?
    echo kinput2-v3.1:
        cd ${SROOT}; if [ ! -f kinput2-v3.1.tar.gz ]; then
            wget ${SRCURL}/kinput2-v3.1.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/kinput2-v3.1.tar.gz
        cd /tmp; cd kinput2-v3.1; cp ${SROOT}/Kinput2-v3.conf Kinput2.conf
        cd /tmp; cd kinput2-v3.1; ${XMKMF} -a
        cd /tmp; cd kinput2-v3.1; ${MAKE}
        cd /tmp; cd kinput2-v3.1; ${MAKE} install
        cd /tmp; cd kinput2-v3.1; ${MAKE} install.man
        cd /tmp; rm -rf kinput2-v3.1
    
    echo xemacs
      echo xemacs-sumo
      cd /tmp; if [ ! -f xemacs-mule-sumo-2005-05-05.tar.gz ]; then
        wget ${SRCURL}/xemacs-mule-sumo-2005-05-05.tar.gz
      fi
      cd /tmp; if [ ! -f xemacs-sumo-2005-05-05.tar.gz ]; then
        wget ${SRCURL}/xemacs-sumo-2005-05-05.tar.gz
      fi
      mkdir /usr/local/lib/xemacs
      cd /usr/local/lib/xemacs; gzip -d < /tmp/xemacs-mule-sumo-2005-05-05.tar.gz | tar -xvfp -
      cd /usr/local/lib/xemacs; gzip -d < /tmp/xemacs-sumo-2005-05-05.tar.gz | tar -xvfp -
      cd  /usr/local/lib/xemacs/mule-packages/etc/app-defaults
      ln -s ja ja_JP.EUC
    
      cd /tmp; if [ ! -f xemacs-21.5.21.tar.gz ]; then
        wget ${SRCURL}/xemacs-21.5.21.tar.gz
      fi
      echo xemacs
      mkdir /usr/local/lib/xemacs
      mkdir /usr/local/lib/xemacs/site-lisp
      cd /tmp; rm -rf xemacs-21.5.21
      cd /tmp; gzip -d <  /tmp/xemacs-21.5.21.tar.gz | tar -xvof -
      cd /tmp; cd xemacs-21.5.21; ./configure --prefix=/usr/local --with-mule --with-x11 --site-libraries=/usr/local/lib --site-includes=/usr/local/include --with-site-lisp --with-xfs
      cd /tmp; cd xemacs-21.5.21; ${MAKE} clean
      cd /tmp; cd xemacs-21.5.21; ${MAKE}
      cd /tmp; cd xemacs-21.5.21; ${MAKE} install
    
    echo mule-2.3-19.34:
            cd /tmp; if [ ! -f mule-2.3-19.34.tar.gz ]; then
              wget ${SRCURL}/mule-2.3-19.34.tar.gz
            fi
            cd /tmp; if [ ! -f mule-2.3-19.34.patch-981002.tar.gz ]; then
              wget ${SRCURL}/mule-2.3-19.34.patch-981002.tar.gz
            fi
        rm -rf /tmp/mule-2.3-19.34
        cd /tmp; ${GTAR} -xvzof ${SROOT}/mule-2.3-19.34.tar.gz
        cd /tmp/mule-2.3-19.34; gzip -d < ${SROOT}/mule-2.3-19.34.patch-981002.tar.gz | tar -xvf -
        cd /tmp/mule-2.3-19.34; CC=gcc CFLAGS="-O" ./configure --exec_prefix=/usr/local --prefix=/usr/local
            --with-x --with-x11 --with-x-toolkit=no --with-bdf-path=${XDIR}b/lib/X11/fonts \
            --with-gcc  \
            --verbose
        cd /tmp/mule-2.3-19.34; ${MAKE} MAKE=${GNUMAKE}
        cd /tmp/mule-2.3-19.34; ${MAKE} install
        cd /usr/local; strip emacs
        cd /usr/local; strip emacs-19.34
    
    #
    # tools
    #
    
    echo afio-2.5.tar.gz:
            echo archives and files
        cd ${SROOT}; if [ ! -f afio-2.5.tar.gz ]; then
            wget ${SRCURL}/afio-2.5.tar.gz
        fi
        rm -rf /tmp/afio-2.5
        cd /tmp; ${GTAR} -xvzof ${SROOT}/afio-2.5.tar.gz
        cd /tmp; cd afio-2.5;  ./configure
        cd /tmp; cd afio-2.5; ${MAKE} clean
        cd /tmp; cd afio-2.5; ${MAKE}
        cd /tmp; cd afio-2.5; cp afio /usr/local/bin
        cd /tmp; cd afio-2.5; cp afio.1 /usr/local/man/man1
        cd /tmp; rm -rf afio-2.5
    
    echo beav_1.40-18:
            echo binary file editor
        cd ${SROOT}; if [ ! -f beav_1.40-18.tar.gz ]; then
            wget ${SRCURL}/beav_1.40-18.tar.gz
        fi
        cd /tmp; cd beav-1.40; cat symbol.c | sed 's/extern char clock ();//g' > /tmp/a.c; cp /tmp/a.c symbol.c
        cd /tmp; cd beav-1.40; ${MAKE} -f makefile.uxv clean
        if [ -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd beav-1.40; ${MAKE} -f makefile.uxv
            else
            cd /tmp; cd beav-1.40; ${MAKE} -f makefile.uxv CC=gcc
            fi
        cd /tmp; cd beav-1.40; cp beav /usr/local/bin;
        chmod 755 /usr/local/bin/beav
        cd /tmp; rm -rf beav-1.40
    
    
    # It does not work ... ?
    echo cdrtools-2.01:
            echo  creating CDs and DVDs
        cd ${SROOT}; if [ ! -f cdrtools-2.01.tar.bz2 ]; then
            wget ${SRCURL}/cdrtools-2.01.tar.bz2
        fi
        cd /tmp; ${GTAR} -xvjof ${SROOT}/cdrtools-2.01.tar.bz2
        if [ -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd cdrtools-2.01; CC=cc ./configure
            cd /tmp; cd cdrtools-2.01; ${MAKE} CC=cc
            else
            cd /tmp; cd cdrtools-2.01; CC=gcc ./configure
            cd /tmp; cd cdrtools-2.01; ${MAKE} CC=gcc
            fi
        cd /tmp; cd cdrtools-2.01; ${MAKE} install
        cd /tmp; rm -rf cdrtools-2.01
    
    echo ctags-5.5.4:
            echo tag files for source code
        cd ${SROOT}; if [ ! -f ctags-5.5.4.tar.gz ]; then
            wget ${SRCURL}/ctags-5.5.4.tar.gz
        fi
        rm -rf /tmp/ctags-5.5.4
        cd /tmp; ${GTAR} -xvzof ${SROOT}/ctags-5.5.4.tar.gz
        cd /tmp; cd ctags-5.5.4;  ./configure
        cd /tmp; cd ctags-5.5.4; ${MAKE} clean
        cd /tmp; cd ctags-5.5.4; ${MAKE}
        cd /tmp; cd ctags-5.5.4; ${MAKE} install 
        cd /tmp; rm -rf ctags-5.5.4
    
    # It does not work ... ?
    echo lha-114i:
        cd ${SROOT}; if [ ! -f lha-114i.tar.gz ]; then
            wget ${SRCURL}/lha-114i.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/lha-114i.tar.gz
        cd /tmp; cd lha-114i; ${MAKE} clean
        cd /tmp; cd lha-114i; ${MAKE} all
        cd /tmp; cd lha-114i/src; cp lha /usr/local/bin/lha
        chmod 755 /usr/local/bin/lha
        cd /tmp; cd lha-114i; ${MAKE} install
        cd /tmp; rm -rf lha-114i
    
    echo mkisofs-1.13.tar.gz
            echo CD-R writing
        cd ${SROOT}; if [ ! -f mkisofs-1.13.tar.gz ]; then
            wget ${SRCURL}/mkisofs-1.13.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/mkisofs-1.13.tar.gz | tar -xvof -
        cd /tmp; cd mkisofs-1.13; ${MAKE}
        cd /tmp; cd mkisofs-1.13; ${MAKE} install
        cd /tmp; rm -rf mkisofs-1.13
    
    echo mtools:
        cd ${SROOT}; if [ ! -f mtools-3.9.10.tar.gz ]; then
            wget ${SRCURL}/mtools-3.9.10.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/mtools-3.9.10.tar.gz | tar -xvof -
        cd /tmp; cd mtools-3.9.10;  ./configure --enable-vold
        cd /tmp; cd mtools-3.9.10; ${MAKE} clean
        cd /tmp; cd mtools-3.9.10; ${MAKE}
        cd /tmp; cd mtools-3.9.10; ${MAKE} install
        cd /tmp; rm -rf mtools-3.9.10
    
    # It does not work ... ?
    echo sudo-1.6.8p9:
        echo superuser do allows a system administrator to give certain users or groups of users the ability to run some or all commands as root while logging all commands and arguments.
        cd ${SROOT}; if [ ! -f sudo-1.6.8p9.tar.gz ]; then
            wget ${SRCURL}/sudo-1.6.8p9.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/sudo-1.6.8p9.tar.gz | tar -xvof -
        cd /tmp; cd sudo-1.6.8p9;  ./configure
        cd /tmp; cd sudo-1.6.8p9; ${MAKE} clean
        cd /tmp; cd sudo-1.6.8p9; ${MAKE}
        cd /tmp; cd sudo-1.6.8p9; ${MAKE} install
    
    echo top-3.5beta13:
            echo display process information
        cd ${SROOT}; if [ ! -f top-3.5beta13.tar.gz ]; then
            wget ${SRCURL}/top-3.5beta13.tar.gz
        fi
        rm -rf /tmp/top-3.5beta13
        cd /tmp; ${GTAR} -xvzof ${SROOT}/top-3.5beta13.tar.gz
        cd /tmp; cd top-3.5beta13;  ./Configure sunos5
        cd /tmp; cd top-3.5beta13; ${MAKE} clean
        cd /tmp; cd top-3.5beta13; ${MAKE}
        cd /tmp; cd top-3.5beta13; ${MAKE} install 
        cd /tmp; rm -rf top-3.5beta13
    
    echo unzip551.tar.gz
        echo unzip decompression utility
        cd ${SROOT}; if [ ! -f unzip551.tar.gz ]; then
            wget ${SRCURL}/unzip551.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/unzip551.tar.gz
        cd /tmp; cd unzip-5.51; cp unix/Makefile .
        cd /tmp; cd unzip-5.51; ${MAKE} clean
        cd /tmp; cd unzip-5.51; ${MAKE} CC=gcc generic
        cd /tmp; cd unzip-5.51; ${MAKE} install
    
    echo uudeview-0.5.20:
            echo encoder/decoder for files
        cd ${SROOT}; if [ ! -f uudeview-0.5.20.tar.gz ]; then
            wget ${SRCURL}/uudeview-0.5.20.tar.gz
        fi
        rm -rf /tmp/uudeview-0.5.20
        cd /tmp; ${GTAR} -xvzof ${SROOT}/uudeview-0.5.20.tar.gz
        cd /tmp; cd uudeview-0.5.20;  ./configure
        cd /tmp; cd uudeview-0.5.20; ${MAKE} clean
        cd /tmp; cd uudeview-0.5.20; ${MAKE}
        cd /tmp; cd uudeview-0.5.20; ${MAKE} install 
        cd /tmp; rm -rf uudeview-0.5.20
    
    #
    # Network
    #
    
    echo fping-2.4b2:
        cd ${SROOT}; if [ ! -f fping-2.4b2.tar.gz ]; then
            wget ${SRCURL}/fping-2.4b2.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/fping-2.4b2.tar.gz
        cd /tmp; cd fping-2.4b2;  ./configure
        cd /tmp; cd fping-2.4b2; ${MAKE} clean
        cd /tmp; cd fping-2.4b2; ${MAKE}
        cd /tmp; cd fping-2.4b2; ${MAKE} install
        cd /tmp; rm -rf fping-2.4b2
    
    echo rsync-2.6.3
        cd ${SROOT}; if [ ! -f rsync-2.6.3.tar.gz ]; then
            wget ${SRCURL}/rsync-2.6.3.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/rsync-2.6.3.tar.gz | tar -xvof -
        cd /tmp; cd rsync-2.6.3;  ./configure
        cd /tmp; cd rsync-2.6.3; ${MAKE} clean
        cd /tmp; cd rsync-2.6.3; ${MAKE}
        cd /tmp; cd rsync-2.6.3; ${MAKE} install
        cd /tmp; rm -rf rsync-2.6.3
    
    echo gnuplot
        cd ${SROOT}; if [ ! -f gnuplot-4.0.0.tar.gz ]; then
            wget ${SRCURL}/gnuplot-4.0.0.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/gnuplot-4.0.0.tar.gz | tar -xvof -
        cd /tmp; cd gnuplot-4.0.0;  ./configure
        cd /tmp; cd gnuplot-4.0.0; ${MAKE} clean
        cd /tmp; cd gnuplot-4.0.0; ${MAKE}
        cd /tmp; cd gnuplot-4.0.0; ${MAKE} install
        cd /tmp; rm -rf gnuplot-4.0.0
    
    #
    # X-Window Tools
    #
    
    echo fvwm-1.24r :
            echo window manager
        cd ${SROOT}; if [ ! -f fvwm-1.24r.tar.gz ]; then
            wget ${SRCURL}/fvwm-1.24r.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/fvwm-1.24r.tar.gz
        cd /tmp; cd fvwm-1.24r; ${XMKMF} -a
        cd /tmp; cd fvwm-1.24r; ${MAKE} clean
        if [ ! -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd fvwm-1.24r; ${MAKE} CC=gcc LD_RUN_PATH="${XLIBDIR}" XPMLIB="-L${XLIBDIR} -lXpm"
        fi
        cd /tmp; cd fvwm-1.24r; ${MAKE} LD_RUN_PATH="${XLIBDIR}" XPMLIB="-L${XLIBDIR} -lXpm"
        cd /tmp; cd fvwm-1.24r; ${MAKE} install 
        cd /tmp; rm -rf fvwm-1.24r
    
    echo fvwm95-2.0.43e :
            echo window manager
        cd ${SROOT}; if [ ! -f fvwm95-2.0.43e.tar.gz ]; then
            wget ${SRCURL}/fvwm95-2.0.43e.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/fvwm95-2.0.43e.tar.gz
        cd /tmp; cd fvwm95-2.0.43e;  ./configure
        cd /tmp; cd fvwm95-2.0.43e; ${MAKE} clean
        cd /tmp; cd fvwm95-2.0.43e; ${MAKE} LD_RUN_PATH="${XLIBDIR}" XPMLIB="-L${XLIBDIR} -lXpm"
        cd /tmp; cd fvwm95-2.0.43e; ${MAKE} install 
        cd /tmp; rm -rf fvwm95-2.0.43e
    
    echo fvwm-2.4.19 :
            echo window manager
        cd ${SROOT}; if [ ! -f fvwm-2.4.19.tar.bz2 ]; then
            wget ${SRCURL}/fvwm-2.4.19.tar.bz2
        fi
        cd /tmp; gtar -xvjof ${SROOT}/fvwm-2.4.19.tar.bz2
        cd /tmp; cd fvwm-2.4.19;  ./configure
        cd /tmp; cd fvwm-2.4.19; ${MAKE} clean
        cd /tmp; cd fvwm-2.4.19; ${MAKE} LD_RUN_PATH="${XLIBDIR}" XPMLIB="-L${XLIBDIR} -lXpm"
        cd /tmp; cd fvwm-2.4.19; ${MAKE} install 
        cd /tmp; rm -rf fvwm-2.4.19
    
    echo pstwm-2.0 :
        cd ${SROOT}; if [ ! -f pstwm-2.0.tar.gz ]; then
            wget ${SRCURL}/pstwm-2.0.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/pstwm-2.0.tar.gz
        cd /tmp; cd pstwm-2.0/src; ${XMKMF} -a
        cd /tmp; cd pstwm-2.0/src; ${MAKE} clean
        if [ ! -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd pstwm-2.0/src; ${MAKE} CC=gcc CCLINK=cc CFLAGS="-O" CCOPTIONS="-O" EXTRA_LIBRARIES="-L/usr/local/lib -lsocket -lnsl -L/usr/ucb -lucb -lelf"  all
        fi
        cd /tmp; cd pstwm-2.0/src; ${MAKE} CC=cc CCLINK=cc CFLAGS="-O" CCOPTIONS="-O" EXTRA_LIBRARIES="-L/usr/local/lib -lsocket -lnsl -L/usr/ucb -lucb -lelf"  all
        cd /tmp; cd pstwm-2.0/src; ${MAKE} all
        cd /tmp; cd pstwm-2.0/src; ${MAKE} install 
        cd /tmp; rm -rf pstwm-2.0
    
    echo tvtwm.pl11 :
        cd ${SROOT}; if [ ! -f tvtwm.pl11.tar.gz ]; then
            wget ${SRCURL}/tvtwm.pl11.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/tvtwm.pl11.tar.gz
        cd /tmp; cd tvtwm; ${XMKMF} -a
        cd /tmp; cd tvtwm; ${MAKE} clean
        if [ ! -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd tvtwm; ${MAKE} CC=gcc all
        fi
        cd /tmp; cd tvtwm; ${MAKE} all
        cd /tmp; cd tvtwm; ${MAKE} install 
        cd /tmp; rm -rf tvtwm
    
    echo emiclock-2.0.2:
        cd ${SROOT}; if [ ! -f emiclock-2.0.2.tar.gz ]; then
            wget ${SRCURL}/emiclock-2.0.2.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/emiclock-2.0.2.tar.gz
        cd /tmp; cd emiclock-2.0.2; ${XMKMF} -a
        cd /tmp; cd emiclock-2.0.2; ${MAKE} clean
        if [ ! -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd emiclock-2.0.2; ${MAKE} CC=gcc
        fi
        cd /tmp; cd emiclock-2.0.2; ${MAKE}
        cd /tmp; cd emiclock-2.0.2; ${MAKE} install 
        cd /tmp; rm -rf emiclock-2.0.2
    
    echo tgif-4.1.44:
            echo drawing tool
        cd ${SROOT}; if [ ! -f tgif-QPL-4.1.44.tar.gz ]; then
            wget ${SRCURL}/tgif-QPL-4.1.44.tar.gz
        fi
        cd /tmp; ${GZIP} -d < ${SROOT}/tgif-QPL-4.1.44.tar.gz | tar -xvof -
        cd /tmp; cd tgif-QPL-4.1.44; cp Tgif.tmpl-solaris Tgif.tmpl
        cd /tmp; cd tgif-QPL-4.1.44; ${XMKMF}
        cd /tmp; cd tgif-QPL-4.1.44; ${MAKE} clean
        if [ ! -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd tgif-QPL-4.1.44; ${MAKE} CC=gcc tgif
        fi
        cd /tmp; cd tgif-QPL-4.1.44; ${MAKE} tgif
        cd /tmp; cd tgif-QPL-4.1.44; ${MAKE} install
        cd /tmp; cd tgif-QPL-4.1.44; ${MAKE} install.man 
        cd /tmp; rm -rf tgif-QPL-4.1.44
    
    echo xcalendar:
        cd ${SROOT}; if [ ! -f xcalendar.tar.gz ]; then
            wget ${SRCURL}/xcalendar.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/xcalendar.tar.gz
        cd /tmp; cd xcalendar; ${XMKMF} -a
        cd /tmp; cd xcalendar; ${MAKE} clean
        if [ ! -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd xcalendar; ${MAKE} CC=gcc
        fi
        cd /tmp; cd xcalendar; ${MAKE}
        cd /tmp; cd xcalendar; ${MAKE} install 
        cd /tmp; rm -rf xcalendar
    
    echo xcolors:
        cd ${SROOT}; if [ ! -f xcolors.tar.gz ]; then
            wget ${SRCURL}/xcolors.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/xcolors.tar.gz
        cd /tmp; cd xcolors; ${XMKMF} -a
        cd /tmp; cd xcolors; ${MAKE} clean
        if [ ! -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd xcolors; ${MAKE} CC=gcc
        fi
        cd /tmp; cd xcolors; ${MAKE}
        cd /tmp; cd xcolors; ${MAKE} install 
        cd ${SROOT}; if [ ! -f rgb.txt ]; then
            wget ${SRCURL}/rgb.txt
        fi
        cd ${SROOT}; cp ${SROOT}/rgb.txt ${XDIR}/lib/X11/rgb.txt
        cd /tmp; rm -rf xcolors
    
    echo xcolorsel-1.1a:
        cd ${SROOT}; if [ ! -f xcolorsel-1.1a.tar.gz ]; then
            wget ${SRCURL}/xcolorsel-1.1a.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/xcolorsel-1.1a.tar.gz
        cd /tmp; cd xcolorsel; ${XMKMF} -a
        cd /tmp; cd xcolorsel; ${MAKE} clean
        if [ ! -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd xcolorsel; ${MAKE} CC=gcc
        fi
        cd /tmp; cd xcolorsel; ${MAKE}
        cd /tmp; cd xcolorsel; ${MAKE} install 
        cd /tmp; rm -rf xcolorsel
    
    echo xephem-3.6.1:
        cd ${SROOT}; if [ ! -f xephem-3.6.1.tar.gz ]; then
            wget ${SRCURL}/xephem-3.6.1.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/xephem-3.6.1.tar.gz
        cd /tmp; cd xephem-3.6.1; ${XMKMF} -a
        cd /tmp; cd xephem-3.6.1; ${MAKE} clean
        if [ ! -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd xephem-3.6.1; ${MAKE} CC=gcc
        fi
        cd /tmp; cd xephem-3.6.1; ${MAKE}
        cd /tmp; cd xephem-3.6.1; ${MAKE} install 
        cd /tmp; rm -rf xephem-3.6.1
    
    echo xgrabsc.2.41:
        cd ${SROOT}; if [ ! -f xgrabsc.2.41.tar.gz ]; then
            wget ${SRCURL}/xgrabsc.2.41.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/xgrabsc.2.41.tar.gz
        cd /tmp; cd xgrabsc.2_41; ${XMKMF} -a
        cd /tmp; cd xgrabsc.2_41; ${MAKE} clean
        if [ ! -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd xgrabsc.2_41; ${MAKE} CC=gcc
        fi
        cd /tmp; cd xgrabsc.2_41; ${MAKE}
        cd /tmp; cd xgrabsc.2_41; ${MAKE} install 
        cd /tmp; rm -rf xgrabsc.2_41
    
    
    echo xhime151:
        cd ${SROOT}; if [ ! -f xhime151.tar.gz ]; then
            wget ${SRCURL}/xhime151.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/xhime151.tar.gz
        cd /tmp; cd xhime1.51; ${MAKE} clean
        if [ ! -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd xhime1.51; ${MAKE} CC=gcc -f Makefile.std
        fi
        cd /tmp; cd xhime1.51; ${MAKE} -f Makefile.std
        cd /tmp; cd xhime1.51; cp rh110.xhm ${XDIR}/bin
        cd /tmp; cd xhime1.51; cp rh110.xhm /usr/openwin/bin
        cd /tmp; rm -rf xhime1.51
    
    echo xphoon:
        cd ${SROOT}; if [ ! -f xphoon.tar.gz ]; then
            wget ${SRCURL}/xphoon.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/xphoon.tar.gz
        cd /tmp; cd xphoon; /usr/openwin/bin/xmkmf
        cd /tmp; cd xphoon; ${MAKE} clean
        if [ ! -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd xphoon; ${MAKE} CC=gcc
        fi
        cd /tmp; cd xphoon; ${MAKE}
        cd /tmp; cd xphoon; ${MAKE} install 
        cd /tmp; rm -rf xphoon
    
    echo xrgb:
        cd ${SROOT}; if [ ! -f xrgb-1.1.tar.gz ]; then
            wget ${SRCURL}/xrgb-1.1.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/xrgb-1.1.tar.gz
        cd /tmp; cd xrgb; ${XMKMF} -a
        cd /tmp; cd xrgb; ${MAKE} clean
        if [ ! -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd xrgb; ${MAKE} CC=gcc
        fi
        cd /tmp; cd xrgb; ${MAKE}
        cd /tmp; cd xrgb; ${MAKE} install 
        cd /tmp; rm -rf xrgb
    
    echo xscreensaver-4.21 :
        cd ${SROOT}; if [ ! -f xscreensaver-4.21.tar.gz ]; then
            wget ${SRCURL}/xscreensaver-4.21.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/xscreensaver-4.21.tar.gz
        cd /tmp; cd xscreensaver-4.21; ${XMKMF} -a
        if [ ! -f /opt/SUNWspro/bin/cc  ]; then
            cd /tmp; cd xscreensaver-4.21; ${MAKE} CC=gcc all
        fi
        cd /tmp; cd xscreensaver-4.21; ${MAKE} all
        cd /tmp; cd xscreensaver-4.21; ${MAKE} install
        cd /tmp; rm -rf xscreensaver-4.21
    
    echo qt-x11-free-3.3.1:
            echo Qt
        cd ${SROOT}; if [ ! -f qt-x11-free-3.3.1.tar.gz ]; then
            wget ${SRCURL}/qt-x11-free-3.3.1.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/qt-x11-free-3.3.1.tar.gz
        cd /tmp; cd qt-x11-free-3.3.1; ./configure
        cd /tmp; cd qt-x11-free-3.3.1; ${MAKE} all
        cd /tmp; cd qt-x11-free-3.3.1; ${MAKE} install
        cd /tmp; rm -rf qt-x11-free-3.3.1
    
    echo kdebase-3.2.2 :
            echo KDE. It depends on qt3.3
        cd ${SROOT}; if [ ! -f kdebase-3.2.2.tar.gz ]; then
            wget ${SRCURL}/kdebase-3.2.2.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/kdebase-3.2.2.tar.gz
        cd /tmp; cd kdebase-3.2.2; ./configure
        cd /tmp; cd kdebase-3.2.2; ${MAKE} all
        cd /tmp; cd kdebase-3.2.2; ${MAKE} install
        cd /tmp; rm -rf kdebase-3.2.2
    
    echo kdelibs-3.2.2 :
            echo KDE. It depends on qt3.3
        cd ${SROOT}; if [ ! -f kdelibs-3.2.2.tar.gz ]; then
            wget ${SRCURL}/kdelibs-3.2.2.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/kdelibs-3.2.2.tar.gz
        cd /tmp; cd kdelibs-3.2.2; ./configure
        cd /tmp; cd kdelibs-3.2.2; ${MAKE} all
        cd /tmp; cd kdelibs-3.2.2; ${MAKE} install
        cd /tmp; rm -rf kdelibs-3.2.2
    
    #
    # shell/language
    #
    
    echo tcl-8.4.6:
        echo Tcl, the tool command language
        cd ${SROOT}; if [ ! -f tcl-8.4.6.tar.gz ]; then
            wget ${SRCURL}/tcl-8.4.6.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/tcl-8.4.6.tar.gz | tar -xvof -
        cd /tmp; cd tcl8.4.6; cd unix; ./configure
        cd /tmp; cd tcl8.4.6; cd unix; ${MAKE} clean
        cd /tmp; cd tcl8.4.6; cd unix; ${MAKE}
        cd /tmp; cd tcl8.4.6; cd unix; ${MAKE} install
        cd /tmp; rm -rf tcl8.4.6
    
    # It does not work ... ?
    echo tk-8.4.6:
        echo Tk, the X11 toolkit written in Tcl which you will need to install also. It requires tcl
        cd ${SROOT}; if [ ! -f tk-8.4.6.tar.gz ]; then
            wget ${SRCURL}/tk-8.4.6.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/tk-8.4.6.tar.gz | tar -xvof -
        cd /tmp; cd tk8.4.6; cd unix;  ./configure
        cd /tmp; cd tk8.4.6; cd unix; ${MAKE} clean
        cd /tmp; cd tk8.4.6; cd unix; ${MAKE}
        cd /tmp; cd tk8.4.6; cd unix; ${MAKE} install
        cd /tmp; rm -rf tk8.4.6
    
    # It does not work ... ?
    echo expect-5.4.0:
        echo Expect is a program that performs programmed dialogue with other interactive programs. It requires tcl, tk. 
        cd ${SROOT}; if [ ! -f expect-5.4.0.tar.gz ]; then
            wget ${SRCURL}/expect-5.4.0.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/expect-5.4.0.tar.gz
        cd /tmp; cd expect-5.40; ./configure
        cd /tmp; cd expect-5.40; ${MAKE} clean
        cd /tmp; cd expect-5.40; ${MAKE}
        cd /tmp; cd expect-5.40; ${MAKE} install
        cd /tmp; rm -rf expect-5.40
    
    echo ruby-1.8.1
        cd ${SROOT}; if [ ! -f ruby-1.8.1.tar.gz ]; then
            wget ${SRCURL}/ruby-1.8.1.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/ruby-1.8.1.tar.gz | tar -xvof -
        cd /tmp; cd ruby-1.8.1;  ./configure
        cd /tmp; cd ruby-1.8.1; ${MAKE} clean
        cd /tmp; cd ruby-1.8.1; ${MAKE}
        cd /tmp; cd ruby-1.8.1; ${MAKE} install
        cd /tmp; rm -rf ruby-1.8.1
    
    #
    # Imaging
    #
    
    # It does not work ... ?
    echo gimp-2.3.14:
        cd ${SROOT}; if [ ! -f gimp-2.3.14.tar.gz ]; then
            wget ${SRCURL}/gimp-2.3.14.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/gimp-2.3.14.tar.gz | tar -xvof -
        cd /tmp; cd gimp-2.3.14;  ./configure
        cd /tmp; cd gimp-2.3.14; ${MAKE} clean
        cd /tmp; cd gimp-2.3.14; ${MAKE}
        cd /tmp; cd gimp-2.3.14; ${MAKE} install
        cd /tmp; rm -rf gimp-2.3.14
    
    echo xv-3.10a
        cd ${SROOT}; if [ ! -f xv-3.10a.tar.gz ]; then
            wget ${SRCURL}/xv-3.10a.tar.gz
        fi
        cd ${SROOT}; if [ ! -f jpeg-v6b.tar.gz ]; then
            wget ${SRCURL}/jpeg-v6b.tar.gz
        fi
        cd ${SROOT}; if [ ! -f tiff-3.8.2.tar.gz ]; then
            wget ${SRCURL}/tiff-3.8.2.tar.gz
        fi
        cd ${SROOT}; if [ ! -f xv-3.10a-png-1.2d.tar.gz ]; then
            wget ${SRCURL}/xv-3.10a-png-1.2d.tar.gz
        fi
        cd ${SROOT}; if [ ! -f libpng-1.2.23.tar.gz ]; then
            wget ${SRCURL}/libpng-1.2.23.tar.gz
        fi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/xv-3.10a.tar.gz
        cd /tmp; cd xv-3.10a; rm -rf jpeg tiff
        cd /tmp; cd xv-3.10a; ${GTAR} -xvzof ${SROOT}/jpeg-v6b.tar.gz
        cd /tmp; cd xv-3.10a; ${GTAR} -xvzof ${SROOT}/tiff-3.8.2.tar.gz
        cd /tmp; cd xv-3.10a; ${GTAR} -xvzof ${SROOT}/xv-3.10a-png-1.2d.tar.gz
        cd /tmp; cd xv-3.10a; ${GTAR} -xvzof ${SROOT}/libpng-1.2.23.tar.gz
        cd /tmp; cd xv-3.10a; /usr/local/bin/patch < xvpng.diff
        cd /tmp; cd xv-3.10a; /usr/local/bin/patch < xcmap.diff
        cd /tmp; cd xv-3.10a; /usr/local/bin/patch < xvjpeg.diff
        cd /tmp; cd xv-3.10a; /usr/local/bin/patch < xvtiff.diff
        echo PNGDIR=/usr/local, ZLIBDIR=/usr/local
        cd /tmp; cd xv-3.10a; cd tiff-3.8.2;  ./configure
        cd /tmp; cd xv-3.10a; cd tiff-3.8.2; ${MAKE} clean
        cd /tmp; cd xv-3.10a; cd tiff-3.8.2; ${MAKE} -k CC=gcc -I. -I/usr/local/include"
    #
        cd /tmp; cd xv-3.10a; cd jpeg-6b;  ./configure
        cd /tmp; cd xv-3.10a; cd jpeg-6b; ${MAKE} CC=gcc
    #
        cd /tmp; cd xv-3.10a;cd libpng-1.2.23; cp scripts/makefile.solaris Makefile
        cd /tmp; cd xv-3.10a;cd libpng-1.2.23; ${MAKE}
    #
        cd /tmp; cd xv-3.10a; rm -f jpeg tiff png
        cd /tmp; cd xv-3.10a; ln -s ./jpeg-6b jpeg
        cd /tmp; cd xv-3.10a; ln -s ./tiff-3.8.2/libtiff tiff
        cd /tmp; cd xv-3.10a; ln -s ./libpng-1.2.23 png
        cd /tmp; cd xv-3.10a; ${MAKE} -k PNGDIR=/tmp/xv-3.10a/png CC=gcc
        cd /tmp; cd xv-3.10a; ${MAKE} -k install 
        cd /tmp; rm -rf xv-3.10a
    
    #
    # TeX, PS
    #
    
    echo psutils-1.17
            cd ${SROOT}; if [ ! -f psutils-1.17.tar.gz ]; then
            wget ${SRCURL}/psutils-1.17.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/psutils-1.17.tar.gz | tar -xvof -
        cd /tmp; cd psutils; ${MAKE} -f Makefile.unix
        cd /tmp; cd psutils; cp psbook psselect pstops epsffit psnup psresize etafm showchar fixfmps fixmacps fixpsditps fixpspps fixtpps fixwfwps fixwpps fixscribeps fixwwps fixdlsrps extractres includeres psmerge /usr/local/bin
        cd /usr/local/bin; chmod 755 psbook psselect pstops epsffit psnup psresize etafm showchar fixfmps fixmacps fixpsditps fixpspps fixtpps fixwfwps fixwpps fixscribeps fixwwps fixdlsrps extractres includeres psmerge
        cd /tmp; rm -rf psutils
    
    echo tetex-2.0.2
            cd ${SROOT}; if [ ! -f tetex-src-2.0.2.tar.gz ]; then
            wget ${SRCURL}/tetex-src-2.0.2.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/tetex-src-2.0.2.tar.gz | tar -xvof -
            cd ${SROOT}; if [ ! -f tetex-texmf-2.0.2.tar.gz ]; then
            wget ${SRCURL}/tetex-texmf-2.0.2.tar.gz
        fi
        cd /tmp; gzip -d <  ${SROOT}/tetex-texmf-2.0.2.tar.gz | tar -xvof -
        cd /tmp; cd tetex-src-2.0.2;  ./configure
        cd /tmp; cd tetex-src-2.0.2; ${MAKE} clean
        cd /tmp; cd tetex-src-2.0.2; ${MAKE}
        cd /tmp; cd tetex-src-2.0.2; ${MAKE} install
        cd /tmp; rm -rf tetex-src-2.0.2
    
    exit
    
    #
    #
    #
    
    Wnn4.2 :
        cd /tmp; rm -rf Xsi
        cd /tmp; ${GTAR} -xvzof ${SROOT}/wnn4.2.tar.gz
    #     for X11R6, Project.tmpl should be X11.tmpl
        cd /tmp/Xsi; cd config; cp Project.tmpl X11.tmpl
        cd /tmp/Xsi; imake -DUseInstalled -I/tmp/Xsi/config -I${XDIR}/lib/X11/config
        cd /tmp/Xsi; gmake \
            IMTOP=/tmp/Xsi TOP=${XDIR} \
            MFLAGS="IMTOP=/tmp/Xsi TOP=${XDIR} PUBDICSRC=/tmp/Xsi/Pubdic WNNWNNDIR=${XDIR}/lib/wnn WNNBINDIR=${XDIR}/bin WNNINCDIR=${XDIR}/include \
            MAKE='gmake IMTOP=/tmp/Xsi TOP=${XDIR}' " \
            World -f Makefile.inst
        cd /tmp/Xsi; make \
            IMTOP=/tmp/Xsi TOP=${XDIR} \
            MFLAGS="IMTOP=/tmp/Xsi TOP=${XDIR} PUBDICSRC=/tmp/Xsi/Pubdic WNNWNNDIR=${XDIR}/lib/wnn WNNBINDIR=${XDIR}/bin WNNINCDIR=${XDIR}/include \
            MAKE='gmake IMTOP=/tmp/Xsi TOP=${XDIR}' " \
            all
        cd /tmp/Xsi; make \
            IMTOP=/tmp/Xsi TOP=${XDIR} \
            MFLAGS="IMTOP=/tmp/Xsi TOP=${XDIR} PUBDICSRC=/tmp/Xsi/Pubdic WNNWNNDIR=${WNNWNNDIR} WNNBINDIR=${XDIR}/bin WNNINCDIR=${XDIR}/include \
            install
        cd ${WNNWNNDIR}; ln -s  ./ja_JP ja
        cd /tmp/Xsi; cd config; rm -f X11.tmpl
    #    cp ${XDIR}/lib/X11/config/Imake.* ${XDIR}/lib/X11/config/site.* ${XDIR}/lib/X11/config/sun*.* ${XDIR}/lib/X11/config/svr*.* ${XDIR}/lib/X11/config/xfree86.* ${XDIR}/lib/X11/config/sv4Lib.* ${XDIR}/lib/X11/config/xf86.* ${XDIR}/lib/X11/config/Library.* ${XDIR}/lib/X11/config/noop.* /tmp/Xsi/config
    
    

    本サイトのサイトマップは,サイトマップのページをご覧下さい. 本サイト内の検索は,サイト内検索のページをご利用下さい.

    問い合わせ先: 金子邦彦(かねこ くにひこ) [image]