Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: problemen met installeren van soldier of fortune.  (gelezen 1091 keer)

dutchcow

  • Gast
problemen met installeren van soldier of fortune.
« Gepost op: 2007/04/04, 11:29:08 »
heeya.
Gisteren vond ik op internet soldier of fortune voor linux.
Ik dacht moooooi downloaden die handel.netjes gedaan en de iso gefikt op cd.
maar nu komt het.ik kan het spel niet installeren.
in de readme staat het volgende:
Mount the Soldier of Fortune CD and change the current directory to
where it is mounted. Type 'sh setup.sh' to run the install script.

e.g.  Log in as root:
  $ mount /mnt/cdrom
  $ cd /mnt/cdrom
  $ sh setup.sh
Nu heb ik de cd gebrand omdat ik geen mount programma kan vinden.
Maar ik krijg het niet voorelkaar om in de terminal bij de cd-rom speler tekomen.
en als ik op " setup.sh" klik krijg ik het volgende
#!/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
function 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
function DetectLIBC {
      status=1
      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`

# Find the installation program
function 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/$arch/$libc/$setup"
    if [ ! -f "$setup_bin" ]; then
        setup_bin="setup.data/bin/$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 $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"
if ! try_run setup.gtk && ! try_run setup -fatal; then
    echo "The setup program seems to have failed on $arch/$libc"
    echo
    echo "Please contact Loki Technical Support at support@lokigames.com"
    status=1
fi
exit $status
Maar ik krijg het niet voor elkaar om het geinstalleert tekrijgen.
Dit is de link naar het spel.
http://www.demonoid.com/files/details/553004/1320200/ (ik hoop dat dit mag :$)
ik gebruik Ubuntu 7.04 beta btw.
Ik ben straks even weg dus het kan zijn dat ik laat reageer.
Alvast bedankt
Stefan

edit
ff een foto van de inhoud van de map gemaakt


groot
http://i102.photobucket.com/albums/m101/blaten/Schermafdruk.png