!! Solaris 10 をインストールしてみる !Solaris 10 のダウンロード http://jp.sun.com/products/software/solaris/10/ 同じところで Companion CD もダウンロードすること !Sun Studio 11 のダウンロード http://developers.sun.com/sunstudio/ !Solaris Express http://developers.sun.com/solaris/downloads/solexpdev/ !GNU などのインストール http://www.sunfreeware.com から bison-1.875d-sol10-intel-local libiconv-1.8-sol10-intel-local flex-2.5.4a-sol10-intel-local make-3.80-sol10-intel-local gcc-3.3.2-sol10-intel-local をダウンロードしてインストールしてPATHを通しておく 後は次の sh を実行 # echo wget # cd /export/home/FOO/foo/tmp; if [ ! -f wget-1.10.tar.gz ]; then # wget ${SRCURL}/gnu/wget-1.10.tar.gz # fi # cd /export/home/FOO/foo/tmp; gzip -d < wget-1.10.tar.gz | tar -xvf - # cd /export/home/FOO/foo/tmp; cd wget-1.10 # cd /export/home/FOO/foo/tmp; cd wget-1.10; ./configure # cd /export/home/FOO/foo/tmp; cd wget-1.10; ${MAKE} # cd /export/home/FOO/foo/tmp; cd wget-1.10; ${MAKE} install echo make cd /export/home/FOO/foo/tmp; if [ ! -f make-3.80.tar.gz ]; then wget ${SRCURL}/gnu/make-3.80.tar.gz fi cd /export/home/FOO/foo/tmp; rm -rf make-3.80 cd /export/home/FOO/foo/tmp; gzip -d < /export/home/FOO/foo/tmp/make-3.80.tar.gz | tar -xvof - cd /export/home/FOO/foo/tmp; cd make-3.80; ./configure --prefix=/usr/local cd /export/home/FOO/foo/tmp; cd make-3.80; ${MAKE} clean cd /export/home/FOO/foo/tmp; cd make-3.80; ${MAKE} cd /export/home/FOO/foo/tmp; cd make-3.80; ${MAKE} install mv /usr/local/bin/make /usr/local/bin/${GMAKE} echo m4-1.4.3: cd /export/home/FOO/foo/tmp; if [ ! -f m4-1.4.3.tar.gz ]; then wget ${SRCURL}/gnu/m4-1.4.3.tar.gz fi cd /export/home/FOO/foo/tmp; rm -rf m4-1.4.3 cd /export/home/FOO/foo/tmp; gzip -d < /export/home/FOO/foo/tmp/m4-1.4.3.tar.gz | tar -xvof - cd /export/home/FOO/foo/tmp; cd m4-1.4.3; ./configure --prefix=/usr/local cd /export/home/FOO/foo/tmp; cd m4-1.4.3; ${MAKE} clean cd /export/home/FOO/foo/tmp; cd m4-1.4.3; ${MAKE} cd /export/home/FOO/foo/tmp; cd m4-1.4.3; ${MAKE} install echo autoconf-2.59: cd /export/home/FOO/foo/tmp; if [ ! -f autoconf-2.59.tar.gz ]; then wget ${SRCURL}/gnu/autoconf-2.59.tar.gz fi cd /export/home/FOO/foo/tmp; rm -rf autoconf-2.59 cd /export/home/FOO/foo/tmp; gzip -d < /export/home/FOO/foo/tmp/autoconf-2.59.tar.gz | tar -xvof - cd /export/home/FOO/foo/tmp; cd autoconf-2.59; ./configure cd /export/home/FOO/foo/tmp; cd autoconf-2.59; make clean cd /export/home/FOO/foo/tmp; cd autoconf-2.59; make cd /export/home/FOO/foo/tmp; cd autoconf-2.59; make install echo automake-1.9.5: cd /export/home/FOO/foo/tmp; if [ ! -f automake-1.9.5.tar.gz ]; then wget ${SRCURL}/gnu/automake-1.9.5.tar.gz fi cd /export/home/FOO/foo/tmp; rm -rf automake-1.9.5 cd /export/home/FOO/foo/tmp; gzip -d < /export/home/FOO/foo/tmp/automake-1.9.5.tar.gz | tar -xvof - cd /export/home/FOO/foo/tmp; cd automake-1.9.5; ./configure cd /export/home/FOO/foo/tmp; cd automake-1.9.5; ${MAKE} clean cd /export/home/FOO/foo/tmp; cd automake-1.9.5; ${MAKE} cd /export/home/FOO/foo/tmp; cd automake-1.9.5; ${MAKE} install echo flex-2.5.33: cd /export/home/FOO/foo/tmp; if [ ! -f flex-2.5.33.tar.gz ]; then wget ${SRCURL}/gnu/flex-2.5.33.tar.gz fi cd /export/home/FOO/foo/tmp; rm -rf flex-2.5.33 cd /export/home/FOO/foo/tmp; gzip -d < /export/home/FOO/foo/tmp/flex-2.5.33.tar.gz | tar -xvof - cd /export/home/FOO/foo/tmp; cd flex-2.5.33; ./configure --prefix=/usr/local cd /export/home/FOO/foo/tmp; cd flex-2.5.33; ${MAKE} clean cd /export/home/FOO/foo/tmp; cd flex-2.5.33; ${MAKE} cd /export/home/FOO/foo/tmp; cd flex-2.5.33; ${MAKE} cd /export/home/FOO/foo/tmp; cd flex-2.5.33; ${MAKE} install echo bison-2.0 cd /export/home/FOO/foo/tmp; if [ ! -f bison-2.0.tar.gz ]; then wget ${SRCURL}/gnu/bison-2.0.tar.gz fi cd /export/home/FOO/foo/tmp; rm -rf bison-1.875 cd /export/home/FOO/foo/tmp; gzip -d < /export/home/FOO/foo/tmp/bison-2.0.tar.gz | tar -xvof - cd /export/home/FOO/foo/tmp; cd bison-2.0; ./configure --prefix=/usr/local cd /export/home/FOO/foo/tmp; cd bison-2.0; ${MAKE} clean cd /export/home/FOO/foo/tmp; cd bison-2.0; ${MAKE} cd /export/home/FOO/foo/tmp; cd bison-2.0; ${MAKE} install echo binutils-2.16: cd /export/home/FOO/foo/tmp; if [ ! -f binutils-2.16.tar.gz ]; then wget ${SRCURL}/gnu/binutils-2.16.tar.gz fi cd /export/home/FOO/foo/tmp; rm -rf binutils-2.16 cd /export/home/FOO/foo/tmp; gzip -d < /export/home/FOO/foo/tmp/binutils-2.16.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*-*-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*-*-solaris*-nm cd /export/home/FOO/foo/tmp; cd binutils-2.16; ./configure --prefix=/usr/local --enable-shared # cd /export/home/FOO/foo/tmp; cd binutils-2.16; ./configure --prefix=/usr/local --disable-shared --disable-nls cd /export/home/FOO/foo/tmp; cd binutils-2.16; ${GMAKE} clean cd /export/home/FOO/foo/tmp; cd binutils-2.16; ${GMAKE} cd /export/home/FOO/foo/tmp; cd binutils-2.16; ${GMAKE} install cd /export/home/FOO/foo/tmp; rm -rf binutils-2.16 # download source file echo gcc-4.1.2 cd /export/home/FOO/foo/tmp if [ ! -f gcc-core-4.1.2.tar.bz2 ]; then wget http://www.db.is.kyushu-u.ac.jp/computer/src/gnu/gcc-core-4.1.2.tar.bz2 fi # extract source file cd /export/home/FOO/foo/tmp rm -rf gcc-4.1.2 /usr/bin/bzip2 -d < gcc-core-4.1.2.tar.bz2 | /usr/bin/tar -xvof - # configure, make, and install cd /export/home/FOO/foo/tmp/gcc-4.1.2 mkdir build cd build ../configure --with-gnu-as --with-ld=/usr/ccs/bin/ld --enable-shared # ../configure --with-gnu-as --with-ld=/usr/ccs/bin/ld --enable-shared -disable-nls /usr/local/bin/gmake bootstrap /usr/local/bin/gmake install /usr/local/bin/gmake clean # download source file echo gcc-3.4.5 cd /export/home/FOO/foo/tmp if [ ! -f gcc-3.4.5.tar.gz ]; then wget http://www.db.is.kyushu-u.ac.jp/computer/src/gnu/gcc-3.4.5.tar.gz fi # extract source file cd /export/home/FOO/foo/tmp rm -rf gcc-3.4.5 /usr/bin/gzip -d < gcc-3.4.5.tar.gz | /usr/bin/tar -xvof - # configure, make, and install cd /export/home/FOO/foo/tmp/gcc-3.4.5 mkdir build cd build ../configure --with-gnu-as --with-ld=/usr/ccs/bin/ld --enable-shared # ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --enable-shared --disable-shared /usr/local/bin/gmake bootstrap /usr/local/bin/gmake install /usr/local/bin/gmake clean exit # ---- ! vi の8bit 対応変更 $HOME/.profile を修正 --- $HOME/.profile.old +++ $HOME/.profile @@ -3,7 +3,7 @@ # All rights reserved. # # ident "@(#)local.profile 1.10 01/06/23 SMI" -stty istrip +#stty istrip PATH=/usr/bin:/usr/ucb:/etc:. ! Patch 適用後の再起動 shutdown -y -i 6 -g 0 ! ifconfig TIPs ifconfig vfe0:1 plumb 192.168.1.221/24 up