[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Installing Pygame on linux



Hi Folks,

sorry if this is off topic, but I thought you pygamers would be the best folk to ask.

Im running mandrake 10 and trying to install pygame.

When I run setup.py I get the following error:
Hunting dependencies...
SDL : found 1.2.7
FONT : not found
IMAGE : not found
MIXER : not found
SMPEG : found 0.4.4
NUMERIC : found 23.1

I have installed SDL_mixer and SDL_image from the links on the pygame website, in /usr/local/SDL_image-1.2.3 and /usr/local/SDL_mixer-1.2.5 .
I also installed SDL into /usr/local/SDL-1.2.7 and linked sdl-config to /usr/local/bin/ . I can't even find SDL_font anywhere :(

I edited my /etc/ld.so.conf to include the lib files for all SDL libraries, here it is
/usr/X11R6/lib
/usr/lib/qt3/lib
/usr/lib
/usr/local/SDL-1.2.7/lib
/usr/local/SDL_image-1.2.3/lib
/usr/local/SDL_mixer-1.2.5/lib

and ran ldconfig.

I suspect the problem may be related to mandrake already having mixer, image, SDL and ttf2 installed as RPM's, but uninstalling them looks like it will cause havoc with KDE (among other things).

I'd really appreciate it if someone can help me out here, Im not a linux newbie so I should understand 'technical' info too.

Kind regards
Nick.