Changes between Initial Version and Version 1 of Ticket #39724, comment 6


Ignore:
Timestamp:
Aug 13, 2013, 10:02:21 PM (11 years ago)
Author:
Raptor007 (Raptor007)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39724, comment 6

    initial v1  
    1 I'm using Snow Leopard with Xcode 4.0.2.  I was surprised to find MacTypes.h didn't appear anywhere under /opt or /Developer on my system, so I sought out a copy online.  Then I realized that nothing in that file was even referenced in pThreadUtilities.h.
     1I'm using Snow Leopard with Xcode 4.0.2, ran into the same problem when making all my ports universal:
     2{{{
     3sudo port -p upgrade --enforce-variants active +universal
     4}}}
    25
    3 So, I solved the build error on my system by commenting out #include <MacTypes.h> in config/os/macosx/pThreadUtilities.h.
     6At first, I solved the build error by just commenting out '''#include <MacTypes.h>''' in config/os/macosx/pThreadUtilities.h.  It doesn't seem to need it, and I thought I didn't even have that file.
     7
     8It later occurred to me that I forgot to check for MacTypes.h under /System.  I actually do have it here:
     9
     10/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacTypes.h
     11
     12So I think kgibson's method (removing mactypes.patch from Portfile) is a better answer, as it will leave '''#include <CoreServices/../Frameworks/CarbonCore.framework/Headers/MacTypes.h>''' which should find the file properly.