Changes between Version 1 and Version 2 of ShmInstallFedora


Ignore:
Timestamp:
06.04.2011 14:25:24 (8 years ago)
Author:
MarcusWalther
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ShmInstallFedora

    v1 v2  
    1 = Installation on Fedora systems = 
    2  
    3 This is a short description for the Seismic Handler installation on Fedora 10. You'll need administrative rights to perform the installation (because you have to deal with some changes inside system directories)! 
    4  
    5 == Prerequisities == 
     1= Prerequisities for installation on Fedora systems = 
    62 
    73Please be sure that you have the following packages installed: 
     
    1814 - libpng-devel 
    1915 
    20 Fedora offers no packages for !OpenMotif development. I found some suitable rpms at the [http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/10/ Stanford university]. Depending on your architecture please download two packages: 
     16Fedora offers no packages for !OpenMotif development ([http://fedoraproject.org/wiki/RexDieter/openmotif official announcement]). Suitable rpms can be found at the [http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/ Stanford university]. Depending on your architecture and Fedora version please download two packages: 
    2117 
    22  - openmotif [http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/10/i386/openmotif-2.3.0-0.3.fc10.ccrma.i386.rpm 32-bit] [http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/10/x86_64/openmotif-2.3.0-0.3.fc10.ccrma.x86_64.rpm 64-bit] 
    23  - openmotif-devel [http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/10/i386/openmotif-devel-2.3.0-0.3.fc10.ccrma.i386.rpm 32-bit] [http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/10/x86_64/openmotif-devel-2.3.0-0.3.fc10.ccrma.x86_64.rpm 64-bit] 
     18 - openmotif 
     19 - openmotif-devel 
    2420 
    25 Install both rpms using `rpm -i filename.rpm`. Now download the source packages for Seismic Handler and save them somewhere you'll find them later (in this how-to `/tmp` is used): 
    26  
    27  - [ftp://ftp.szgrf.bgr.de/pub/software/SHM-install.csh installation script] 
    28  - [ftp://ftp.szgrf.bgr.de/pub/software/SH-SHM.tar.gz source package] 
    29  - [ftp://ftp.szgrf.bgr.de/pub/software/fk-linux.tar.gz fk package] (optional) 
    30  - [ftp://ftp.szgrf.bgr.de/pub/software/locsat-linux.tar.gz locsat package] (optional) 
    31  
    32 == Installation steps == 
    33  
    34  1. Open a shell window and change directory to the place you downloaded the source packages. 
    35  2. Make installation script executable by running "`chmod a+x SHM-install.csh`" 
    36  3. Become root user ("`su`"). 
    37  4. Create installation directory "`mkdir /usr/share/sh`" 
    38  5. Set links for standard header files (first path may depend on your architecture): 
    39 {{{ 
    40 ln -s /usr/lib/gcc/i386-redhat-linux/4.3.2/include/stdarg.h /usr/include/stdarg.h 
    41 ln -s /usr/include/linux/stddef.h /usr/include/stddef.h 
    42 }}} 
    43  6. Start script by "`sudo ./SHM-install.csh /usr/share/sh /tmp`" (replace `/tmp` by the absolute path you saved the source files) 
    44  7. Now you can alter the default values of the installation to your personal preferences. If finished, enter "i" to start installation. ''It is not necessary to compile the fk and locsat package even if you downloaded them! '' 
    45  
    46 == Configuration == 
    47  
    48 Open or create a file ".cshrc" in your home directory and insert the following line: 
    49 {{{ 
    50 source /usr/share/sh/sh/setup/shsetup 
    51 }}} 
    52  
    53 If you use bash as your standard shell, you should define the following aliases (for more convenience place them in .bash_rc or .bash_aliases): 
    54  
    55 {{{ 
    56 alias SH='tcsh -c SH' 
    57 alias SHM='tcsh -c SHM' 
    58 }}} 
    59  
    60 '''Possible pitfall''': The locsat directory is linked from the home directory of the installing user (in this case "root"). All users ''must'' have reading access to this "`lcs`" link. This may conflict with your security settings, but it's necessary due to lacks in the locsat package. 
    61  
    62 ''Hint'': Create your own configuration file to keep your personal configuration when installing new updates of SHM. Make a copy of $SH_INPUTS/shm-config.txt and create an environment variable SH_USER_PARAM pointing to it. E.g.: "`cp $SH_INPUTS/shm-config.txt $HOME`" and "`setenv SH_USER_PARAM $HOME/shm-config.txt`". Put the setenv-command to your $HOME/.cshrc file to make it permanent. Then edit your configuration file $SH_USER_PARAM to match your needs. Please read the [ShmDocFileConfig documentation page of the configuration file] for details. 
     21Install both rpms using `rpm -i filename.rpm`.