Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] Re: (PR#6201) 1.14: SDL mixer compilation problem
Home

[Freeciv-Dev] Re: (PR#6201) 1.14: SDL mixer compilation problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rt-guest@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6201) 1.14: SDL mixer compilation problem
From: "Jason Short" <jshort@xxxxxxxxxxxxxx>
Date: Mon, 20 Oct 2003 16:50:16 -0700
Reply-to: rt@xxxxxxxxxxxxxx

--On Monday, October 20, 2003 1:48 PM -0700 Guest <rt-guest@xxxxxxxxxxxxxx> 
wrote:

>
> [jdorje - Mon Oct 20 16:56:06 2003]:
>
>> What does "sdl-config --cflags" give you?
>>
>> Looks like this'll have -I/site/include/SDL in it somewhere,
>> meaning that /site/include/SDL is where sdl.h and other files are
>> supposed to reside.  If they're in /usr/include/SDL instead, then
>> you'd have a problem.  The question would be why sdl-config thought
>> they were in the wrong place.
>>
>> This looks like a bug in your SDL installation to me.
>>
>> jason
>
> And you are correct! There is an old installation of SDL (version 1.1.4)
> in /site/include/SDL (for one thing, this directory does not have a
> SDL_mixer.h file). "sdl-config --cflags" runs the sdl-config in this
> directory, which then gives the wrong flags. The new SDL (version 1.2.5)
> is in /usr/include/SDL. By the may, it is not my installation. I'm at my
> university, and I don't know why they would keep the old installation.
> I'm don't think they will make it a priority to fix it. Ah, well, it is
> not that important to me anyway. I thought it was a bug in the CVS, but
> I was wrong. Which is a good thing. Thanks for the help!

I believe there is a flag you can give configure to tell it the SDL prefix 
(if not, there should be).  Try "./configure --help".

jason




[Prev in Thread] Current Thread [Next in Thread]