On Thu, Jan 7, 2010 at 11:11 AM, David Arnold <dwarnol...@suddenlink.net>wrote:

> If I can build up the nerve to:
>
> sudo rm /usr/local/lib/libpng.dylib
> sudo rm /usr/local/lib/libjpeg.dylib
>
>
> It's not what you think at all - Did you read the instructions just above
those lines?

Those 2 files are not system files - snow leopard installs don't normally
have libpng and libjpeg dylibs in that path. The package that the
instructions refer to which the previous line tells you to install is what
creates those files. It's basically suggesting you remove those files
immediately after asking you to add them.

The reason for deleting them has to do with the idea of building a pygame
installer on the mac, or with using py2app. If those dylib files exist, the
build process may choose to link the built pygame to the dylibs (instead of
using the static libs). If you then try and take that built pygame to
another system (through a pygame installer or py2app) that built pygame will
be dependent on those 2 dylibs being in that location, which means it will
error on that other machine unless it runs the libjpeg and libpng installer
as well.

Now in your case, if you don't care if your built pygame has those
dependencies, by all means skip the rm step. However, if you were thinking
of making a pygame installer for other enthought users to save them the
trouble you went through, then you should definitely go ahead and remove
those files - knowing that they are just kruft you installed yourself.

Reply via email to