|
Using
GNUgcc.2.95.2.SPARC.32bit.Solaris8.pkg.tgz (Binary code type)
to install GNU C/C++ compiler with the following steps: |
| (1) |
Download GNUgcc.2.95.2.SPARC.32bit.Solaris8.pkg.tgz
From
Solaris Package Archive homepage. |
| (2) |
Using the following commands to execute: # umask 0 # gunzip -c GNUgcc.2.95.2.SPARC.32bit.Solaris8.pkg.tgz | /bin/tar -xvf - Therein, the option gunczip -c means write on stnadard output,keep original files unchanged. |
| (3) |
Moreover, we need to change and login as superuser(ie.root) for highest priority to
install software. # su --- user keyin. passwd:XXXX --- screen show. |
| (4) |
Then we can install software package into the system #pkgadd -d. GNUgcc Therein, the GNUgcc is the directory of the extract of software packages. |
| (5) |
After adding packages we need to do housekeeping tasks (as root) such as
updating the manual page index. #catman -w & |
|
Documentation is also backuped at FTPstation. |

|
Trouble-shooting about
GNUgcc |
|
(1) how to update system information manually? |
|
At first, this version of software GNUgcc is installed at /usr/local/bin directory.
we need to update PATH information as the following steps. |
| (I) |
For the user who want to make the changes work after each login: |
|
Under tcsh shell --- change a file (.tcshrc) under
$HOMEDIR/ directory. |
|
|
Under Bourne shell --- change a file (.profile) under
$HOMEDIR/ directory. |
|
|
Therein, $HOMEDIR means the user's home directory.
If the parameters have been changed, we need to re-login or using
command (#. .profile or #. .tcshrc) to update system informations. |
|
| (II) |
For the user who want to make the changes work until re-login: |
|
Under tcsh shell --- using command as following format: |
|
|
For setting the value of the parameters: #setenv [variable] [value] example: #setenv PATH=/usr/sbin;/usr/bin;/usr/local/bin |
|
|
For checking the orginal settings #setenv |
|
|   |
Under Bourne shell --- using command as following format: |
|
For setting the value of the parameters: #VARIABLE=value;export VARIABLE example: #PATH=/usr/sbin;/usr/bin;/usr/local/bin;export PATH |
|
|
For checking the orginal settings #set |

|
Using
Using emacs-21.3.tar.gz to install Emacs (Text editor)(Source codes type)
with the following steps: |
| (1) |
Download emacs-21.3.tar.gz From Sunfreeware.com homepage. --choose option Solaris8 |
| (2) |
Using the following methods to extract this packages: #gunzip id emacs-21.3.tar.gz Then, the original emacs-21.3.tar.gz will be extracted to emacs-21.3.tar #tar -xvf emacs-21.3.tar Theb, the emacs-21.3.tar will be extracted to directory emacs-21.3/ |
| (3) |
More detail information can be found on INSTALL and README at directory emacs-21.3/ |
| (4) |
We need to detect the system information using command: #./configure Then it will check system information and report some messages about hardware and software supports. |
| (5) |
Compile the source code to make executable file: #make This will take a time to compile the source codes. |
| (6) |
Copy and set the executable file: #make install |
| (7) |
This version of Emacs is installed at directory /usr/local/bin/. |

|
Trouble-shooting about
Emacs |
|
(1) The error message "ar : command not found" for the command "make"? |
|
The ar command is bash shell command and can be searched from directory /usr/ccs/bin.
So we need to add this option to system enviromental variable PATH. And
more details is listed as follows: Error_ar_message.log Solaris2_FAQ.log (Full text) adopted from Electronic Business Solutions homepage. |

|
Using
GNUmake.3.78.1.SPARC.32bit.Solaris.8.pkg.tgz to install make
(command)(binary code) with the following steps: |
| (1) |
Download GNUmake.3.78.1.SPARC.32bit.Solaris.8.pkg.tgz From Solaris Package Archive homepage. |
| (2) |
Using the following commands to execute: # umask 0 # gunzip -c GNUmake.3.78.1.SPARC.32bit.Solaris.8.pkg.tgz | /bin/tar -xvf - Therein, the option gunczip -c means write on stnadard output,keep original files unchanged. |
| (3) |
Moreover, we need to change and login as superuser(ie.root) for highest priority to
install software. #su --- user keyin. passwd:XXXX --- screen show. |
| (4) |
Then we can install software package into the system #pkgadd -d. GNUmake Therein, the GNUgcc is the directory of the extract of software packages. |
| (5) |
After adding packages we need to do housekeeping tasks (as root) such as
updating the manual page index. #catman -w & |
|
Documentation is also backuped at FTPstation. |

|
Trouble-shooting about
GNUmake |
|
(1) how to update system information manually? |
|
At first, this version of software GNUmake is installed at /usr/local/bin directory.
And the file "gmake" can be copied and renamed to file "make",
then user can use command "make" as usual.
We also need to update PATH and MAKE information as the following steps. |
| (I) |
For the user who want to make the changes work after each login: |
|
Under tcsh shell --- change a file (.tcshrc) under
$HOMEDIR/ directory. |
|
|
Under Bourne shell --- change a file (.profile) under
$HOMEDIR/ directory. |
|
|
Therein, $HOMEDIR means the user's home directory.
If the parameters have been changed, we need to re-login or using
command (#. .profile or #. .tcshrc) to update system informations. |
|
| (II) |
For the user who want to make the changes work until re-login: |
|
Under tcsh shell --- using command as following format: |
|
|
For setting the value of the parameters: #setenv [variable] [value] example: #setenv MAKE=/usr/local/bin/gmake |
|
|
For checking the orginal settings #setenv |
|
|   |
Under Bourne shell --- using command as following format: |
|
For setting the value of the parameters: #VARIABLE=value;export VARIABLE example: #MAKE=/usr/local/bin/gmake;export MAKE |
|
|
For checking the orginal settings #set |
