Changes between Version 1 and Version 2 of LeopardProblems


Ignore:
Timestamp:
May 7, 2008, 1:06:50 PM (16 years ago)
Author:
jmroot (Joshua Root)
Comment:

add a couple of common issues

Legend:

Unmodified
Added
Removed
Modified
  • LeopardProblems

    v1 v2  
    33== poll() doesn't work ==
    44see #13259.
     5
     6== environment variables become blank between configure and build phases ==
     7This manifests as error messages like: `unable to execute -DNDEBUG: No such file or directory`. ($CC is an empty string, so what was meant to be the the first argument to the compiler is now the first thing on the command line, and is treated as a command name by the shell.) Seems to frequently occur when building Python modules; see #13930.
     8
     9Usually, this problem can be worked around by simply running the install command again.
     10
     11== `ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib` ==
     12This is the result of a misfeature in Leopard's linker. See Apple's Technical Q&A on the subject [http://developer.apple.com/qa/qa2007/qa1567.html here]. It can generally be fixed by adding the following to the portfile inside a `platform darwin 9` block:
     13{{{
     14configure.ldflags-append        -dylib_file \
     15                        /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\
     16                        /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
     17}}}