SCons not working.

  • d4zk1tty
    8th Jun 2013 Member 0 Permalink

    I was recently trying to compile my mod for the first time and it did not work i got this:

     

    D4zk1tty@kali:~/Desktop/The-Powder-Toy$ scons --lin --release --sse2

    scons: Reading SConscript files ...
    /bin/sh: 1: sdl-config: not found
    Checking for C library SDL... no
    libSDL not found or not installed
    D4zk1tty@kali:~/Desktop/The-Powder-Toy$

     

    i tryed installing libSDL but that is not working ether, is there a different tool i can use for compiling or a different way to install libSDL, i tried this commend and go this:

     

    D4zk1tty@kali:~/Desktop/The-Powder-Toy$ sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package libsdl1.2-dev
    E: Couldn't find any package by regex 'libsdl1.2-dev'
    E: Unable to locate package libsdl-image1.2-dev
    E: Couldn't find any package by regex 'libsdl-image1.2-dev'
    E: Unable to locate package libsdl-mixer1.2-dev
    E: Couldn't find any package by regex 'libsdl-mixer1.2-dev'
    E: Unable to locate package libsdl-ttf2.0-dev
    E: Couldn't find any package by regex 'libsdl-ttf2.0-dev'
    D4zk1tty@kali:~/Desktop/The-Powder-Toy$

    any ideas?

     

     

  • mniip
    8th Jun 2013 Developer 0 Permalink
    EDIT: nope
    Well, seems your sources list if fscked up.
    paste /etc/apt/sources.list
  • boxmein
    8th Jun 2013 Former Staff 0 Permalink
    To answer your second question, there used to be a cmake branch but I am unsure how much it will help.
  • d4zk1tty
    8th Jun 2013 Member 0 Permalink

    if it helps, i am using kali linux, a penetration testing linux distribution.

  • BeepBoopSon
    8th Jun 2013 Banned 0 Permalink
    This post is hidden because the user is banned
  • boxmein
    8th Jun 2013 Former Staff 0 Permalink
    Just saying Kali is Debian-based.
  • d4zk1tty
    9th Jun 2013 Member 0 Permalink

    can somone give be a aptitude command to install SCons?

    thanks in advance :)

  • mniip
    9th Jun 2013 Developer 0 Permalink
    @d4zk1tty (View Post)

    mniip:

    paste /etc/apt/sources.list
  • jacob1
    9th Jun 2013 Developer 0 Permalink
    try try libsdl1.2debian and/or libsdl1.2debian-dev (probably both). I think these are what I used, although i'm not on linux right now so I can't remember.
  • mniip
    9th Jun 2013 Developer 0 Permalink
    @jacob1 (View Post)
    His sources list is broken, he can't install any pkgs