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

Re: [SPAM: 10.000] [pygame] Re: SDL for Pygame Mac 64 - Almost there... Please help!



JeffreyDanowitz wrote:
When I remove the stuff from "Homebrew" I get:
Using Darwin configuration...

sh: sdl-config: command not found
sh: sdl-config: command not found
sh: sdl-config: command not found
WARNING: "sdl-config" failed!
/usr/local/bin/smpeg-config: line 45: /usr/local/opt/sdl/bin/sdl-config: No
such file or directory
/usr/local/bin/smpeg-config: line 53: /usr/local/opt/sdl/bin/sdl-config: No
such file or directory

Remove old build directory (force recompile) [Y/n]:n
Hunting dependencies...
SDL     : not found
Framework SDL found
FONT    : not found
Framework SDL_ttf found
IMAGE   : not found
Framework SDL_image found
MIXER   : not found
Framework SDL_mixer found
SMPEG   : found 0.4.5
Framework smpeg not found
Framework CoreMIDI found
Framework QuickTime found
PNG     : found
JPEG    : found
PORTMIDI: found
FREETYPE: found 2.5.3
AVFORMAT: not found
SWSCALE : not found


So this is not good

What do you think is wrong with that? It seems to be finding
the framework versions of the SDL libraries.

I don't think you need to worry about sdl-config, it seems
to be part of the non-framework stuff and isn't needed to
use the framework.

Perhaps I have to recompile pygame completely (i.e. using pip and stuff like
that)

I've never used pip, so I can't help you with it, but I
would recommend starting with a freshly unpacked copy
of the source to make sure there's nothing hanging around
from a previous build.

Perhaps I need to make the /Library/Framework versions identical to the
"Homebrew" installed versions and then things will just work?

No, I still think it's a bad idea to have two versions of
the libraries around.  You should only need one or the
other.

I'm wondering whether it's nothing to do with SDL, but that
it can't find libpng and libjpeg at run time. If you installed
them using homebrew, they're probably somewhere unusual like
/opt. What does your LD_LIBRARY_PATH contain? Does it include
the directory where libpng.dylib and libjpeg.dylib are installed?

--
Greg