Jump to content

Savage install problem in rh9


shoegoo
 Share

Recommended Posts

Ok I am having a terrible time getting savage installed on my rh9 box. Here is the install script

[root@localhost cdrom]# cat instal~3.lin

#! /bin/sh

#

# Product setup script - Loki Entertainment Software



# Go to the proper setup directory (if not already there)

cd `dirname $0`



# Return the appropriate architecture string

DetectARCH()

{

       status=1

       case `uname -m` in

               i?86)  echo "x86"

                       status=0;;

               *)     echo "`uname -m`"

                       status=0;;

       esac

       return $status

}



# Return the appropriate version string

DetectLIBC()

{

     status=1

         if [ `uname -s` != Linux ]; then

                 echo "glibc-2.1"

                 return $status

         fi

     if [ -f `echo /lib/libc.so.6* | tail -1` ]; then

             if fgrep GLIBC_2.1 /lib/libc.so.6* 2>&1 >/dev/null; then

                     echo "glibc-2.1"

                     status=0

             else

                     echo "glibc-2.0"

                     status=0

             fi

     elif [ -f /lib/libc.so.5 ]; then

             echo "libc5"

             status=0

     else

             echo "unknown"

     fi

     return $status

}



# Detect the Linux environment

arch=`DetectARCH`

libc=`DetectLIBC`

os=`uname -s`



# Find the installation program

try_run()

{

   setup=$1

   shift

   fatal=$1

   if [ "$1" != "" ]; then

       shift

   fi



   # First find the binary we want to run

   failed=0

   setup_bin="setup.data/bin/$os/$arch/$libc/$setup"

   if [ ! -f "$setup_bin" ]; then

       setup_bin="setup.data/bin/$os/$arch/$setup"

       if [ ! -f "$setup_bin" ]; then

           failed=1

       fi

   fi

   if [ "$failed" -eq 1 ]; then

       if [ "$fatal" != "" ]; then

           cat <<__EOF__

This installation doesn't support $libc on $os / $arch



Please contact Loki Technical Support at support@lokigames.com

__EOF__

           exit 1

       fi

       return $failed

   fi



   # Try to run the binary

   # The executable is here but we can't execute it from CD

   setup="$HOME/.setup$$"

   cp "$setup_bin" "$setup"

   chmod 700 "$setup"

   if [ "$fatal" != "" ]; then

       "$setup" $*

       failed=$?

   else

       "$setup" $* 2>/dev/null

       failed=$?

   fi

   rm -f "$setup"

   return $failed

}





# Try to run the setup program

status=0

rm -f "$setup"

try_run setup.gtk $* || try_run setup $* -fatal || {

   echo "The setup program seems to have failed on $arch/$libc"

   echo

   echo "Please contact Loki Technical Support at support@lokigames.com"

   status=1

}

exit $status

that returnes the error

[root@localhost cdrom]# ./instal~3.lin

This installation doesn't support glibc-2.1 on Linux / x86

 

Please contact Loki Technical Support at support@lokigames.com

 

Glibc and glibc-devel are both much more current than that script detects

[root@localhost cdrom]# rpm -q glibc

glibc-2.3.2-27.9

[root@localhost cdrom]# rpm -q glibc-devel

glibc-devel-2.3.2-27.9

 

Thanks in advance...

Link to comment
Share on other sites

ravage: it's a Mandrake forum, but we really accept any and all distros... Especially in the Games and Other Distros sections. ;)

 

I thought you used Slackware or something like that?

Link to comment
Share on other sites

It appears I have to recompile my kernel to enable M$ Joilet extensions, is that the only way?

 

I'm somewhat amazed that this is not in the standard rh 9 kernel. I know rh is a little paranoid about patent/licensing issues but this is ridiculous. To answer your question, recompiling is the only way I know. You'll have to have your kernel source installed to do that.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...