OS X trouble

I don't know if this is because I upgraded to the current developement version of numpy or not, but I when I tried rebuilding matplotlib, I generated the following error:

gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/lib/python2.5/site-packages/numpy/core/include -I/sw/include/python2.5 -c src/_macosx.m -o build/temp.macosx-10.5-i386-2.5/src/_macosx.o
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSAffineTransform.h:5,
                  from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:13,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:122: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:7,
                  from /System/Library/Frameworks/Foundation.framework/Headers/NSAffineTransform.h:6,
                  from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:13,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:79: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:87: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:15,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:62: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:66: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:5,
                  from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:16,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:345: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:346: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:347: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:348: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:349: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:350: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:352: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:353: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:355: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:356: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:357: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:358: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:360: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:361: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:362: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:363: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:364: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:6,
                  from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:16,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:45: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:50: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h:5,
                  from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:43,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:59: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘NSUInteger’
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:60: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BOOL’
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:61: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘NSUInteger’
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:62: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘NSString’
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:65: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:66: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:66: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:69: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BOOL’
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:70: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BOOL’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:9,
                  from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:49,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h:45: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h:50: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:76,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h:44: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:6,
                  from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:88,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:52: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:53: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:54: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:55: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:56: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:67: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:68: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:70: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:71: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:73: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:74: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:76: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:77: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:79: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:80: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:83: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:86: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:89: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:90: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:93: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:94: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:95: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:97: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:98: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:99: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:100: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:102: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:103: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:104: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:88,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:75: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:76: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:77: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:78: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:83: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:84: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:85: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:88: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:89: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:91: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:19,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:68: error: expected specifier-qualifier-list before ‘__weak’
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:27,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:215: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:217: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:218: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:219: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:220: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:221: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:222: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:223: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:224: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:227: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:228: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:229: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:230: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:231: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:232: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:8,
                  from /System/Library/Frameworks/AppKit.framework/Headers/NSFontPanel.h:8,
                  from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:30,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:471: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:472: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:78,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSPrintPanel.h:57: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSPrintPanel.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:95,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSTrackingArea.h:44: error: expected specifier-qualifier-list before ‘__weak’
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:16,
                  from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:112,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSTextInputClient.h:17: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSTextInputClient.h:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
/System/Library/Frameworks/AppKit.framework/Headers/NSTextInputClient.h:62: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSTextInputClient.h:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:153,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSATSTypesetter.h:46: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSObjectController.h:10,
                  from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:158,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:24: error: expected specifier-qualifier-list before ‘__weak’
In file included from /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:10,
                  from /System/Library/Frameworks/AppKit.framework/Headers/NSPredicateEditorRowTemplate.h:13,
                  from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:175,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSPropertyDescription.h:25: error: expected specifier-qualifier-list before ‘__weak’
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:176,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSPathCell.h:148: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSPathCell.h:152: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:177,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSPathControl.h:73: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSPathControl.h:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
In file included from /System/Library/Frameworks/CoreData.framework/Headers/CoreData.h:14,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:14,
                  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSEntityDescription.h:28: error: expected specifier-qualifier-list before ‘__weak’
/System/Library/Frameworks/CoreData.framework/Headers/NSEntityDescription.h:32: error: expected specifier-qualifier-list before ‘__weak’
/System/Library/Frameworks/CoreData.framework/Headers/NSEntityDescription.h:33: error: expected specifier-qualifier-list before ‘__weak’
In file included from /System/Library/Frameworks/CoreData.framework/Headers/CoreData.h:17,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:14,
                  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSRelationshipDescription.h:28: error: expected specifier-qualifier-list before ‘__weak’
In file included from /System/Library/Frameworks/CoreData.framework/Headers/CoreData.h:22,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:14,
                  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObject.h:26: error: expected specifier-qualifier-list before ‘__weak’
In file included from /System/Library/Frameworks/CoreData.framework/Headers/CoreData.h:25,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:14,
                  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreCoordinator.h:172: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/CoreData.framework/Headers/CoreData.h:27,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:14,
                  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStore.h:16: error: expected specifier-qualifier-list before ‘__weak’
error: command 'gcc' failed with exit status 1

The settings detected by the script are:
BUILDING MATPLOTLIB
             matplotlib: 0.98.5.2
                 python: 2.5.4 (r254:67916, Mar 18 2009, 09:51:51) [GCC
                         4.0.1 (Apple Inc. build 5490)]
               platform: darwin

REQUIRED DEPENDENCIES
                  numpy: 1.4.0.dev6729
              freetype2: 9.19.3

OPTIONAL BACKEND DEPENDENCIES
                 libpng: 1.2.33
                Tkinter: Tkinter: 67737, Tk: 8.4, Tcl: 8.4
               wxPython: no
                         * wxPython not found
Xlib: extension "Generic Event Extension" missing on display "/tmp/launch-EgEkbJ/:0".
Xlib: extension "Generic Event Extension" missing on display "/tmp/launch-EgEkbJ/:0".
Xlib: extension "Generic Event Extension" missing on display "/tmp/launch-EgEkbJ/:0".
                   Gtk+: gtk+: 2.14.7, glib: 2.18.4, pygtk: 2.12.1,
                         pygobject: 2.15.4
        Mac OS X native: yes
                     Qt: Qt: 3.3.8, PyQt: 3.17.5
                    Qt4: Qt: 4.4.1, PyQt4: 4.4.4
                  Cairo: 1.8.2

OPTIONAL DATE/TIMEZONE DEPENDENCIES
               datetime: present, version unknown
               dateutil: matplotlib will provide
                   pytz: 2008c

OPTIONAL USETEX DEPENDENCIES
                 dvipng: 1.5
            ghostscript: 8.61
                  latex: 3.141592

-gideon