Can not compile a SDL application

Hi

I am new to the list and maybe this issue has already been dealt with.
I try to compile libmovtar 0.1.3
The configure stops with an error message on SDL (installed via the RPM of
MDK 8.2)

I paste below, as recommended on the web site the various pieces of
information.
SDL seems well to be here…
and path as well…

Any help will be greatly appreciate.
Regards
Edouard************************
which sdl-config
/usr/bin/sdl-config


sdl-config --version
1.2.3


locate libSDL

/usr/lib/libSDL-1.2.so.0
/usr/lib/libSDL-1.2.so.0.0.3
/usr/lib/libSDL_image-1.2.so.0
/usr/lib/libSDL_image-1.2.so.0.1.0
/usr/lib/libSDL_mixer-1.2.so.0
/usr/lib/libSDL_mixer-1.2.so.0.0.1
/usr/lib/libSDL_net-1.2.so.0
/usr/lib/libSDL_net-1.2.so.0.0.3
/usr/lib/libSDL_ttf-2.0.so.0
/usr/lib/libSDL_ttf-2.0.so.0.0.4
/usr/lib/libSDLmain.a
/usr/lib/libSDL.a
/usr/lib/libSDL.la
/usr/lib/libSDL.so
/usr/lib/libSDL_image.a
/usr/lib/libSDL_image.la
/usr/lib/libSDL_image.so
/usr/lib/libSDL_mixer.a
/usr/lib/libSDL_mixer.la
/usr/lib/libSDL_mixer.so
/usr/lib/libSDL_ttf.a
/usr/lib/libSDL_ttf.la
/usr/lib/libSDL_ttf.so
/usr/lib/frozen-bubble/libSDL_mixer-1.2.so.0
/usr/lib/libSDL_net.a
/usr/lib/libSDL_net.la
/usr/lib/libSDL_net.so
/usr/lib/xmps/Renderers/libSDL.so
/usr/lib/xmps/Renderers/libSDL.a
/usr/lib/xmps/Renderers/libSDL.la
/usr/lib/libSDLmm-0.1.so.8
/usr/lib/libSDLmm-0.1.so.8.0.0
/usr/lib/libSDLmm.la
/usr/lib/libSDLmm.so


./configure (libmovtar)

checking for sdl-config… /usr/bin/sdl-config
checking for sdl-config… (cached) /usr/bin/sdl-config
checking for SDL - version >= 1.1.3… 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/bin/sdl-config


tail config.log
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define RETSIGTYPE void
#define RESULTS “libmovtar.a movtar_split movtar_unify movtar_yuv422
movtar_index movtar_setinfo”

configure: exit 0

I paste below, as recommended on the web site the various pieces of
information.
SDL seems well to be here…
and path as well…

Any help will be greatly appreciate.
Hi,
all seems ok to me, but i am not master :). Haven’t you install reinstall
something after first run of ./configure? What about to rm config.cache?
It probably wouldn’t help but it is worth of trying, isn’t it? :slight_smile:
K.

Hi,
all seems ok to me, but i am not master :). Haven’t you install
reinstall
something after first run of ./configure? What about to rm
config.cache?
It probably wouldn’t help but it is worth of trying, isn’t it? :slight_smile:
K.

Hi thanks for the help,
The complete story is that I want to compile Mjpegtools, for that I need
libmovtar to be compiled and installed. That’s were the trouble is. Anyhow, got
rid of everything make clean, distclean, rm -Rf and re tarxvfz the source to
make sure nothing will interfer… no way…
Amazingly the RPM of Mjpegtools works fine, just a minor dep trouble on avifile
7…
I am lost.
Cheers
Edouard

Hi

I am new to the list and maybe this issue has already been dealt with.
I try to compile libmovtar 0.1.3
The configure stops with an error message on SDL (installed via the RPM of
MDK 8.2)

I paste below, as recommended on the web site the various pieces of
information.

What you want to look for is the place in config.log where it tries to
run a test SDL application and it fails. It most often fails because
some library or another is not in the default load path on your system.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment