Installing opencyc-1.0.1-linux.tgz in FC4

Help
2006-10-09
2013-05-28
  • Nabonita Guha
    Nabonita Guha
    2006-10-09

    Hi,

    I'm trying to install opencyc1.0.1-linux.tgz in fedora core 4, but ./run-cyc.sh file is not getting executed. Please guide me how to install this particular version in FC4.

    Thanks

    Nabonita

     
    • Evan L. Carew
      Evan L. Carew
      2007-01-16

      Did you try forcing the isue with the platform-override.txt file? for instance, my platform override file looks like this:

      RH-ES3-x86_32

      Which seems to get things off and running... that is until it crashes and burns 1 hour later. <sigh>. I too have FC4 btw.

       
    • cgrrr
      cgrrr
      2007-01-23

      You have to modify you scripts ic use the SuSE linux binaries. I have no experience with FC4 but these scripts works with FC5 and FC6.

      Remember you have to modify the scrips for your own platform.

      #!/bin/sh
      #
      # $Id: supported-platform.sh,v 1.1.2.1 2006/07/10 20:58:27 karen Exp $
      #
      # Is this a supported platform?  If not, return failure;  otherwise,
      # return success.
      #
      # supported-platform.sh

      if [ -r /etc/redhat-release ] ; then
        # It's a Redhat plaform;  is it a supported version?
        REDHAT_RELEASE=`cat /etc/redhat-release`
        if [[ $REDHAT_RELEASE != Red\ Hat\ Linux\ release\ 7.1\ * ]] &&
           [[ $REDHAT_RELEASE != Red\ Hat\ Linux\ release\ 7.2\ * ]] &&
           [[ $REDHAT_RELEASE != Red\ Hat\ Linux\ release\ 9\ * ]] &&
           [[ $REDHAT_RELEASE != Red\ Hat\ Enterprise\ Linux\ ES\ release\ 3\ * ]] &&
           [[ $REDHAT_RELEASE != Fedora\ Core\ release\ 3\ * ]] &&
           [[ $REDHAT_RELEASE != Fedora\ Core\ release\ 5\ * ]] &&
           [[ $REDHAT_RELEASE != Fedora\ Core\ release\ 6\ * ]] ; then
          exit 1
        fi
      elif [ -r /etc/SuSE-release ] ; then
        # It's a SuSE plaform;  is it a supported version?
        SUSE_RELEASE=`cat /etc/SuSE-release`
        if [[ $SUSE_RELEASE != SuSE\ Linux\ 9.1\ * ]] &&
           [[ $SUSE_RELEASE != SuSE\ Linux\ 9.2\ * ]] ; then
          exit 1
        fi
      else
        # This is neither a Redat nor a SuSE platform
        exit 1
      fi

      exit 0

      #!/bin/sh
      #
      # $Id: detect-platform.sh,v 1.1.2.1 2006/07/10 20:12:31 karen Exp $
      #
      # Detect the hardware/OS configuration of the machine.

      if [[ -e platform-override.txt ]]; then
        cat platform-override.txt
        exit
      fi

      UNAME_M=`uname -m`
      if [[ $UNAME_M == *86_64* ]]; then
        CYC_ARCH=x86_64
      elif [[ $UNAME_M == *86* ]]; then
        CYC_ARCH=x86_32
      else
        echo "***ERROR: Architecture unrecognized"
        echo $UNAME_M
      fi

      if [ -r /etc/redhat-release ] ; then
        REDHAT_RELEASE=`cat /etc/redhat-release`
        if [[ $REDHAT_RELEASE == Red\ Hat\ Linux\ release\ 7.1\ * ]] ; then
          CYC_OS=RH-7.1
        elif [[ $REDHAT_RELEASE == Red\ Hat\ Linux\ release\ 7.2\ * ]] ; then
          CYC_OS=RH-7.2
        elif [[ $REDHAT_RELEASE == Red\ Hat\ Linux\ release\ 9\ * ]] ; then
          CYC_OS=RH-9
        elif [[ $REDHAT_RELEASE == Red\ Hat\ Enterprise\ Linux\ ES\ release\ 3\ * ]] ; then
          CYC_OS=RH-ES3
        elif [[ $REDHAT_RELEASE == Fedora\ Core\ release\ 3\ * ]] ; then
          CYC_OS=RH-ES3
        elif [[ $REDHAT_RELEASE == Fedora\ Core\ release\ 5\ * ]] ; then
          CYC_OS=SuSE-9.2
        elif [[ $REDHAT_RELEASE == Fedora\ Core\ release\ 6\ * ]] ; then
          CYC_OS=SuSE-9.2
        else
          echo "***ERROR: RedHat version not recognized"
          echo $REDHAT_RELEASE
        fi
      elif [ -r /etc/SuSE-release ] ; then
        SUSE_RELEASE=`cat /etc/SuSE-release`
        if [[ $SUSE_RELEASE == SuSE\ Linux\ 9.1\ * ]] ; then
          CYC_OS=SuSE-9.1
        elif [[ $SUSE_RELEASE == SuSE\ Linux\ 9.2\ * ]] ; then
          CYC_OS=SuSE-9.2
        else
          echo "***ERROR: SuSE version not recognized"
          echo $SUSE_RELEASE
        fi
      elif [[ `uname -s` == *CYGWIN_NT* ]] ; then
        CYC_OS=`uname -s`
      fi

      SYS_STRING=$CYC_OS-$CYC_ARCH
      export SYS_STRING
      echo $SYS_STRING