The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
January 25, 2025, 11:01:26 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  specific SDL directory
« previous next »
Pages: [1] Print
Author Topic: specific SDL directory  (Read 2215 times)
Mored
Zebranky food
*
Offline Offline

Posts: 1



View Profile
specific SDL directory
« on: November 06, 2012, 05:43:02 pm »

Hello, I am trying to install UQM on Linux. So far I installed required packages into custom derictories. Is it possible to specify where SDL is installed when running
build.sh uqm config
?

I am getting following text
Quote
'echo -n' capable echo found.
Sed stream editor found.
tr found.
Make found.
build/unix/config_proginfo_host: line 253: libmikmod-config: command not found
build/unix/config_proginfo_host: line 254: libmikmod-config: command not found
build/unix/config_proginfo_host: line 255: libmikmod-config: command not found
GNU C compiler found.
We have a C preprocessor.
We have a C dependency generator.
We have a C compiler.
We have a linker.
Little-endian machine detected.
Found version 1.2.7 of Simple DirectMedia Layer, but version 1.2.8 is required!

Is it possible to do something like --with-sdl-prefix=/my_sdl_dir ? I have 1.2.15 installed but it is not in standard directory and it is not possible here to install SDL in any other way.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: specific SDL directory
« Reply #1 on: November 08, 2012, 10:12:24 am »

You could try working around this by using the environment variables for GCC and ld to change where the libraries are sought.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: specific SDL directory
« Reply #2 on: November 08, 2012, 07:03:55 pm »

The location of the SDL library is determined by the output of the 'sdl-config' command. If you make sure that the directory which contains the correct version is listed in your path before the other version, then it should be found and used by UQM.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!