[SDL] Weirdness building 1.3.0

Bob Pendleton bob at pendleton.com
Tue Dec 11 13:21:46 PST 2007


I've tried to build 1.3.0 from svn today. I did a complete update to
make sure I had the correct code. I built the library and installed it
with not problems. But, then I tried to build in the test directory and
ran into a problem that has me stumped.

here is what I typed and the results:

> bob at voyager:~/sdl/sdl1.3/test$ ./autogen.sh 
> bob at voyager:~/sdl/sdl1.3/test$ ./configure 
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... 
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for an ANSI C-conforming const... yes
> checking for sdl-config... /usr/local/bin/sdl-config
> checking for SDL - version >= 1.3.0... no
> *** Could not run SDL test program, checking why...
> *** The test program failed to compile or link. See the file config.log for the
> *** exact error that occured. This usually means SDL was incorrectly installed
> *** or that you have moved SDL since it was installed. In the latter case, you
> *** may want to edit the sdl-config script: /usr/local/bin/sdl-config
> configure: error: *** SDL version 1.3.0 not found!

Ok, it says that sdl-config is reporting the wrong version of sdl. So, I test to see what it returns:


> bob at voyager:~/sdl/sdl1.3/test$ sdl-config --version
> 1.3.0
> bob at voyager:~/sdl/sdl1.3/test$ /usr/local/bin/sdl-config --version
> 1.3.0
> bob at voyager:~/sdl/sdl1.3/test$ which sdl-config
> /usr/local/bin/sdl-config
> bob at voyager:~/sdl/sdl1.3/test$ 

Which pretty much proves that the correct sdl-config is installed 
and it is the one that you get by default and from the install directory.

Could I get a little help figuring this out?

	Bob Pendleton

-- 
+--------------------------------------+
+ Bob Pendleton: writer and programmer +
+ email: Bob at Pendleton.com             +
+ web: www.GameProgrammer.com          +
+ www.Wise2Food.com                    +
+ nutrient info on 7,000+ common foods +
+--------------------------------------+




More information about the SDL mailing list