libreccm-legacy/tools-legacy/rpms/solaris-linux-compat
pb 8f0bfaf6b7 Das alte tools Verzeichnis umbenannt. Kann demnächst gelöscht werden.
git-svn-id: https://svn.libreccm.org/ccm/trunk@180 8810af33-2d31-482b-a856-94f89814c4df
2009-05-26 19:58:16 +00:00
..
packages Das alte tools Verzeichnis umbenannt. Kann demnächst gelöscht werden. 2009-05-26 19:58:16 +00:00
README Das alte tools Verzeichnis umbenannt. Kann demnächst gelöscht werden. 2009-05-26 19:58:16 +00:00
rollingbuild.sh Das alte tools Verzeichnis umbenannt. Kann demnächst gelöscht werden. 2009-05-26 19:58:16 +00:00
solaris-linux-compat.spec.in Das alte tools Verzeichnis umbenannt. Kann demnächst gelöscht werden. 2009-05-26 19:58:16 +00:00

README

Well what do i say ?
It's pain in the ?

So , here is it:

This document covers 64 bit Solaris 9 install of APLAWS+
Use the packages from "packages" directory here.

Roughly followed/based on
http://post-office.corp.redhat.com/archives/ccm-engineering-list/2003-May/msg00103.html

Installing packages :

1. gunzip libiconv-1.6.1-sol8-sparc-local.gz
   pkgadd -d libiconv-1.6.1-sol8-sparc-local

2. gunzip md5-6142000-sol8-sparc-local.gz
   pkgadd -d md5-6142000-sol8-sparc-local

2.1 [OPTIONAL] Install cvs if you wanna use CVS
    and setup developement environment for CCM.

3. Ensure the SUNWzlib & SUNWbzip packages are installed:
   pkginfo SUNWbzip
   pkginfo SUNWzlib
   These two commands should display the package description
   if sucessful.

4. gunzip rpm-4.0.4-dc2-sol8-sparc-local.gz
   pkgadd -d rpm-4.0.4-dc2-sol8-sparc-local

NOTES: 
   When it prompts you about attribute changes on a bunch
   of directories, say 'no' to installing the conflicting 
   files & then 'yes' to continuing with installation

   NB, the post install script generates a monster RPM
   stuffed full of 'Provides:' lines for all current
   software on your system. This may take some time...
   
   ie as much as 10-15 minutes.

4. Create & install the solaris / linux compatability RPM

    $ rpm -ba solaris-linux-compat.spec 
    $ rpm -ivh  /usr/local/src/redhat/RPMS/noarch/solaris-linux-compat-1.0.0-1.noarch.rpm

    The source spec file is in p4 //tools/rpms/SPECS/solaris-linux-compat.spec
    Read the %description section in this spec file.

    For solaris 9 u have to tweak the spec file to change line
    
    to
    echo "os_compat: solaris2.9: Linux" > /etc/rpmrc

5.1 
    [OPTIONAL]
    Install the CCM development RPMs if needed:

    $ rpm -ivh xml-commons-1.0-0.b2.1jpp.noarch.rpm \
               xml-commons-apis-1.0-0.b2.1jpp.noarch.rpm \
               update-alternatives-1.8.3-4jpp.noarch.rpm \
               xerces-j2-2.0.2-3jpp.noarch.rpm \
	       ant-1.5-5jpp.noarch.rpm \
	       ant-optional-1.5-5jpp.noarch.rpm \
	       jpackage-utils-1.5.13-1.noarch.rpm

    Then the CCM app you need

    $ rpm -ivh ccm-core-devel-5.2.0-1.noarch.rpm
  
    or
    
    $ rpm -ivh ccm-cms-devel-5.2.0-1.noarch.rpm

5.2 
   Install CCM binary RPMs:
   $ rpm -Uvh *.rpm in a directory you have all the needed rpms.

   It's a good idea to use --test flag before running actual
   install to check the required dependencies.
   
6. Setup /etc/profile to include additional /etc/profile.d scripts,
   by adding the following to /etc/profile:
   
   for i in /etc/profile.d/*.sh ; do
       if [ -r $i ]; then
         . $i
       fi
   done
   unset i

7. Set the JAVA_HOME environment variable in /etc/profile

    echo JAVA_HOME=/usr/j2se >> /etc/profile
    echo export JAVA_HOME >> /etc/profile

8. Install Resin:
   Just follow steps mentioned on caucho , or the normal steps
   you use for install on linux.