Hi folks,
I’m new to both Linux and SDL, so bear with me. I’m not yet a subscriber
either, so please reply directly to me.
Apologies if this is not the correct forum – the SDL webpage seemed to
direct me here.
The details are all below. Thanks for any help!
Russell
I am trying to install both avifile and transcode on a RedHat Linux
machine. Avifile requires SDL. Unfortunately, it can’t find it. Here’s
the error message when avifile tries to configure itself:
checking for SDL - version >= 1.0.0… no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
I tried everything listed under the appropriate FAQ at:
http://www.libsdl.org/faq.php?action=listentries&category=3#23
with no luck:
Added /usr/local/lib to /etc/ld.so.conf
Ran as root /sbin/ldconfig
/usr/local/bin/ already part of PATH
rpm only registers one version of SDL: 1.2.4
So here’s the output of the various commands as instructed by the FAQ:
[root at auger avifile0.7-0.7.14]# which sdl-config
/usr/bin/which: no sdl-config in
(/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/home/odellgm/binLinux:/opt/IBMJava2-13/bin)
[root at auger avifile0.7-0.7.14]# sdl-config --version
bash: sdl-config: command not found
[root at auger avifile0.7-0.7.14]# locate libSDL
/usr/lib/libSDL-1.2.so.0.0.2
/usr/lib/libSDL-1.2.so.0
/usr/lib/libSDL_image-1.2.so.0.0.0
/usr/lib/libSDL_image-1.2.so.0
/usr/lib/libSDL_net-1.2.so.0.0.2
/usr/lib/libSDL_net-1.2.so.0
/usr/lib/libSDL_mixer-1.2.so.0.0.0
/usr/lib/libSDL_mixer-1.2.so.0
[root at auger avifile0.7-0.7.14]# tail config.log
#define HAVE_FFMPEG_DIVX 1
#define HAVE_FFMPEG_A52 1
#define ARCH_X86 1
#define HAVE_MMX 1
#define CONFIG_ENCODERS 1
#define CONFIG_DECODERS 1
#define CONFIG_AC3 1
#define SIMPLE_IDCT 1
configure: exit 0
So I don’t think its installed correctly – I assume sdl-config should be
findable?
I made one attempt to unistall SDL, but several things are dependent on it:
./usr/share/doc/SDL_image-1.2.0
./usr/share/doc/SDL_net-1.2.2
./usr/share/doc/SDL_mixer-1.2.0
I didn’t go any further. If it helps, here are outputs from rpm. One
thing I noticed is that the locate command failed to find
the same things as the rpm file list for SDL.
[root at auger wyethr]# rpm -q SDL-1.2.4-1 -l
/usr/lib/libSDL-1.1.so.0
/usr/lib/libSDL-1.2.so.0
/usr/lib/libSDL-1.2.so.0.0.4
/usr/share/doc/SDL-1.2.4
/usr/share/doc/SDL-1.2.4/BUGS
/usr/share/doc/SDL-1.2.4/COPYING
/usr/share/doc/SDL-1.2.4/CREDITS
/usr/share/doc/SDL-1.2.4/README-SDL.txt
[root at auger wyethr]# rpm -q SDL-1.2.4-1 -i
Name : SDL Relocations: /usr
Version : 1.2.4 Vendor: (none)
Release : 1 Build Date: Sat 13 Apr 2002
07:17:03 PM PDT
Install date: Fri 23 Aug 2002 02:31:34 AM PDT Build Host:
coral.samandlauren-home.com
Group : System Environment/Libraries Source RPM: SDL-1.2.4-1.src.rpm
Size : 381597 License: LGPL
URL : http://www.libsdl.org/
Summary : Simple DirectMedia Layer
Description :
This is the Simple DirectMedia Layer, a generic API that provides low
level access to audio, keyboard, mouse, and display framebuffer across
multiple platforms.______________________
Russell Wyeth
Friday Harbor Laboratories
620 University Rd
Friday Harbor, WA
98250
USA
@Russell_Wyeth
Ph: 206 5431484
Fx: 206 5431273