Env variables

I’m new to this list so please excuse a question which may have been
asked before.

I’d like to set up SDL so that my Adv. Programming class can use work
with it to create some games. We have a unique environment. We use
K12LTSP (linux terminal services). Fedora 5, Gnome. I’ve downloaded SDL
and SDL-dev rpms and installed them. We use Kate for our coding and g++
commandline for compiling. I really want the kids to see how it works in
as raw a state as possible. I’ve tried compiling some simple test code:

g++ sdlTEST.cpp -o sdlTEST ‘sdl-config --cflags --libs’

and get

g++: sdl-config --cflags --libs: No such file or directory

Here is the output of some things which I think may be of some value.

[root at xserve4 advpgrm07]# which libSDL
/usr/bin/which: no libSDL in
(/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:
/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:
/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
[root at xserve4 advpgrm07]# sdl-config --version
1.2.11
[root at xserve4 advpgrm07]# locate libSDL
/usr/lib/libSDL-1.1.so.0
/usr/lib/libSDL-1.2.so.0
/usr/lib/libSDL-1.2.so.0.11.0
/usr/lib/libSDL.a
/usr/lib/libSDL.la
/usr/lib/libSDL.so
/usr/lib/libSDLmain.a
/usr/lib64/libSDL-1.2.so.0
/usr/lib64/libSDL-1.2.so.0.7.2
/usr/lib64/libSDL_image-1.2.so.0
/usr/lib64/libSDL_image-1.2.so.0.1.3
/usr/lib64/libSDL_mixer-1.2.so.0
/usr/lib64/libSDL_mixer-1.2.so.0.2.4
/usr/lib64/libSDL_ttf-2.0.so.0
/usr/lib64/libSDL_ttf-2.0.so.0.6.1
[root at xserve4 advpgrm07]# tail config.log
tail: cannot open `config.log’ for reading: No such file or directory
[root at xserve4 advpgrm07]# printenv

PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

I’m sure I have to set environment variables but dont know where to
point them or how to set them properly. Thanks for any help.

Chris Bacigalupo

Hi!

baci schrieb:

as raw a state as possible. I’ve tried compiling some simple test code:

g++ sdlTEST.cpp -o sdlTEST ‘sdl-config --cflags --libs’

and get

g++: sdl-config --cflags --libs: No such file or directory

Did you use Backticks? There is a difference between a ’ and a ` and a ?

Bye,

Tim