1. If you have a problem and need help, create a new thread with a title that briefly describes the problem.
    Do not use titles like 'Help!' or 'I have a problem!'
    Dismiss Notice
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

[fixed] problem with installation

Discussion in 'General Help' started by teprick, Mar 8, 2012.

Thread Status:
Not open for further replies.
  1. teprick

    teprick Catapult Fodder

    Messages:
    3
    First, sorry if i did mistakes in english because this is not my native language...
    So, my problem is simple... I cannot install KAG on Linux. I extracted the files, and i executed the setup files but nothing appear.
    Thanks a lot ;)
     
  2. prostosuper

    prostosuper Haxor

    Messages:
    99
    What is your distro?
     
  3. teprick

    teprick Catapult Fodder

    Messages:
    3
    ubuntu 11.10 ;)
     
  4. prostosuper

    prostosuper Haxor

    Messages:
    99
    1. Download the game distributive;
    2. Unpack it;
    3. Damn, this one will be a tight part:

    Open your terminal and type in (don't write percent sign):
    Code:
    % cd /path/to/your/game/
    
    Make sure, that rungame.sh is there:

    Code:
    % ls rungame.sh
    rungame.sh
    
    Nice, it's there! The next step will be

    Code:
    % sh ./rungame.sh
    
    Enjoy KAG.
     
    Kagesha, trelawney and Beef like this.
  5. teprick

    teprick Catapult Fodder

    Messages:
    3
    Ok, thanks a lot, it work ;D
     
  6. Enumia

    Enumia Catapult Fodder

    Messages:
    6
    Doesn't work for me, quite strange... also tried to set the permission for the files (chmod +x). I'm running 12.04 (beta1), maybe that's the problem?

    $ cd '/home/****/Downloads/kag_x'
    $ ls rungame.sh
    rungame.sh
    $ sh ./rungame.sh
    Running KAG
    mv: cannot stat `KAG.tmp': No such file or directory
    ./rungame.sh: 5: ./rungame.sh: ./KAG: not found
    $

    I also tried to run as sudo, didn't work either...
     
    Medivend likes this.
  7. prostosuper

    prostosuper Haxor

    Messages:
    99
    The problem is that your KAG distributive is missing KAG file. Are you sure, that your kag_x hasn't been corrupted somehow?

    What is the output of ls? Here's mine:
    Code:
    % ls
    App/  Cache/  KAG*  Logs/ nolauncher.sh*  rungame.sh*terms.txt*
    Base/  Downloads/  lib/  Manual/  readme.txt* Screenshots/
    
     
  8. Enumia

    Enumia Catapult Fodder

    Messages:
    6
    I've tried to download it again etc. But here is my output of ls:
    Code:
    App  Cache      KAG  Logs    nolauncher.sh  rungame.sh
    Base  Downloads  lib  Manual  readme.txt    terms.txt
    
     
  9. prostosuper

    prostosuper Haxor

    Messages:
    99
    As we can see, the KAG file is present. So, you want to say, that the error message ./rungame.sh: 5: ./rungame.sh: ./KAG: not found isn't true. Sorry, but I don't believe you ;)
     
  10. Enumia

    Enumia Catapult Fodder

    Messages:
    6
    Why would I lie. Let me try again, this time I'll put it in my home folder.

    [​IMG]
     
  11. prostosuper

    prostosuper Haxor

    Messages:
    99
    Try to launch KAG with:

    Code:
    % ./KAG
     
  12. Enumia

    Enumia Catapult Fodder

    Messages:
    6
    Code:
    toine@toine-ubuntu:~$ cd kag_x
    toine@toine-ubuntu:~/kag_x$ ./KAG
    bash: ./KAG: No such file or directory
    I really can't understand it... And no, I'm not joking.
     
  13. prostosuper

    prostosuper Haxor

    Messages:
    99
    Ok, show me your ldd:

    Code:
    % ldd ./KAG
     
  14. Enumia

    Enumia Catapult Fodder

    Messages:
    6
    Code:
    toine@toine-ubuntu:~$ cd kag_x
    toine@toine-ubuntu:~/kag_x$ ldd ./KAG
        not a dynamic executable
     
  15. prostosuper

    prostosuper Haxor

    Messages:
    99
    The problem is that you have Ubuntu 64-bit. KAG was compiled to run on 32-bit systems. You have to manually find and install these libraries (32-bit versions):

    Code:
    % ldd ./KAG
        linux-gate.so.1 =>  (0xb770d000)
        librt.so.1 => /lib/librt.so.1 (0xb76e6000)
        libdl.so.2 => /lib/libdl.so.2 (0xb76e1000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb768a000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb7685000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7672000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb753c000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb74a0000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb73b7000)
        libm.so.6 => /lib/libm.so.6 (0xb738b000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb736e000)
        libc.so.6 => /lib/libc.so.6 (0xb71cc000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb71b1000)
        /lib/ld-linux.so.2 (0xb770e000)
        libglapi.so.0 => /usr/lib/libglapi.so.0 (0xb719b000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7198000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7193000)
        libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xb7190000)
        libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xb717b000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb715d000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb7150000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7139000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7128000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7125000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7120000)
    
    Have fun.
     
    Kagesha and Enumia like this.
  16. Enumia

    Enumia Catapult Fodder

    Messages:
    6
    Thanks for your time and help!
    </br>--- merged: Mar 11, 2012 11:39 AM ---</br>
    To solve the problem, I opened Terminal and entered:
    Code:
    sudo apt-get install ia32-libs
    Again, thanks for your help prostosuper!
     
    Medivend likes this.
  17. prostosuper

    prostosuper Haxor

    Messages:
    99
    It's my pleasure, Enumia. I just don't use *buntu myself.
     
Thread Status:
Not open for further replies.