Menu

#78 Python on Mac OS X Leopard

failure
open
nobody
None
5
2008-02-24
2008-02-24
Anonymous
No

VPython needs the following LDFLAGS entry for compiling on Leopard:

LDFLAGS="-framework OpenGL -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"

This gets around a documented bug-feature in Leopard where the OpenGL libraries are installed in a different place from previous versions.

In the fink info file for visual-py24 this can be achieved by adding an appropriate export LDFLAGS line to the info file.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.