Results 1 to 3 of 3

Thread: Compiling My own Source, SDL question

  1. #1

    Default Compiling My own Source, SDL question

    Hello,
    I'm a linux Amateur, and am running into some fundamental issues that I can't seem to find answers too with my google-foo. I was hoping you all could help me out. Currently, I'm trying to get dosbox working on my OpenSuse11 box. I can't wait to play some retro crusader.

    However, There is no precompiled Suse file on the site. Being that I have never built or compiled my own packages before this means I'm stuck. But I also figure its about time I do this and learn me some knowledge! I'm attempting to follow their onsite tutorial, but ran into a problem. btw, I do have SDL and other required packages installed via yast2.

    They tell me to
    Run configure --with-sdl-prefix=/usr/lib64 --with-sdl-exec-prefix=/usr
    make
    make install (need to be root)
    Ok...so my problem is I don't understand what they mean when they say --with-sdl-prefix=/usr/lib64. could someone dumb this down for a newbie?

    Thanks for your time!

    -CptFishStick

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,864
    Blog Entries
    15

    Default Re: Compiling My own Source, SDL question

    Quote Originally Posted by cptfishstick
    Hello,
    I'm a linux Amateur, and am running into some fundamental issues that I
    can't seem to find answers too with my google-foo. I was hoping you all
    could help me out. Currently, I'm trying to get dosbox working on my
    OpenSuse11 box. I can't wait to play some retro crusader.

    However, There is no precompiled Suse file on the site. Being that I
    have never built or compiled my own packages before this means I'm
    stuck. But I also figure its about time I do this and learn me some
    knowledge! I'm attempting to follow their onsite tutorial, but ran
    into a problem. btw, I do have SDL and other required packages installed
    via yast2.

    They tell me to
    >
    > Run configure --with-sdl-prefix=/usr/lib64 --with-sdl-exec-prefix=/usr
    > make
    > make install (need to be root)
    >


    Ok...so my problem is I don't understand what they mean when they say
    --with-sdl-prefix=/usr/lib64. could someone dumb this down for a
    newbie?

    Thanks for your time!

    -CptFishStick
    Hi
    In the directory where you unpacked the source file, there will be a
    command called configure. That command with those switches points the
    final configuration to where the sdl libraries are, the next one points
    the the sdl executables. Now if your on a 32bit system you would
    use /usr/lib.

    Normally if you run the ./configure --help command it will show you all
    the other options available.

    These are the commands you would run in the directory;
    Code:
    ../configure --with-sdl-prefix=/usr/lib64 --with-sdl-exec-prefix=/usr
    make
    sudo make install
    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
    up 1 day 2:10, 2 users, load average: 0.00, 0.01, 0.02
    GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80


  3. #3

    Default Re: Compiling My own Source, SDL question

    But precompiled DOSBox 0.72 is available in the official repo and Packman.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •