Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0rc2 fails to build on MacOS X 10.4 #1304

Closed
r-owen opened this issue Sep 24, 2012 · 4 comments
Closed

1.0rc2 fails to build on MacOS X 10.4 #1304

r-owen opened this issue Sep 24, 2012 · 4 comments
Labels
OS: Apple Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.

Comments

@r-owen
Copy link
Contributor

r-owen commented Sep 24, 2012

Log of build failure on MacOS X 10.4 for python.org's 32-bit python 2.7

$ bdist_mpkg
basedirlist is: ['/usr/local/', '/usr', '/usr/X11']
============================================================================
BUILDING MATPLOTLIB
           matplotlib: 1.2.0rc2
               python: 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 14:13:39)
                       [GCC 4.0.1 (Apple Inc. build 5493)]
             platform: darwin

REQUIRED DEPENDENCIES
                numpy: 1.6.2
            freetype2: found, but unknown version (no pkg-config)

OPTIONAL BACKEND DEPENDENCIES
               libpng: found, but unknown version (no pkg-config)
              Tkinter: Tkinter: version not identified, Tk: 8.4, Tcl: 8.4
                 Gtk+: no
                       * Building for Gtk+ requires pygtk; you must be able
                       * to "import gtk" in your build/install environment
      Mac OS X native: yes
                   Qt: no
                  Qt4: no
               PySide: no
                Cairo: no

OPTIONAL DATE/TIMEZONE DEPENDENCIES
             dateutil: matplotlib will provide
                 pytz: matplotlib will provide
adding pytz

OPTIONAL USETEX DEPENDENCIES
               dvipng: no
          ghostscript: /bin/sh: line 1: gs: command not found
                latex: no

[Edit setup.cfg to suppress the above messages]
============================================================================
...
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -isysroot 
/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -g -O2 -DNDEBUG -g 
-O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 
-I/usr/local/include -I/usr/include -I/usr/X11/include 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -I/usr/local/include -I/usr/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pa
ckages/numpy/core/include -Isrc -Iagg24/include -I. 
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c 
src/_macosx.m -o build/temp.macosx-10.3-fat-2.7/src/_macosx.o
src/_macosx.m: In function 'FigureCanvas_write_bitmap':
src/_macosx.m:3557: error: request for member 'pixelsWide' in something 
not a structure or union
src/_macosx.m:3557: error: request for member 'pixelsHigh' in something 
not a structure or union
src/_macosx.m: In function 'FigureCanvas_write_bitmap':
src/_macosx.m:3557: error: request for member 'pixelsWide' in something 
not a structure or union
src/_macosx.m:3557: error: request for member 'pixelsHigh' in something 
not a structure or union
lipo: can't figure out the architecture type of: /var/tmp//ccpc0juI.out
error: command 'gcc-4.0' failed with exit status 1
@r-owen
Copy link
Contributor Author

r-owen commented Sep 24, 2012

The code does build on MacOS X 10.6 when building for python.org's 64-bit python (thus using a newer compiler).

@dmcdougall
Copy link
Member

@r-owen Oooops! My bad. @mdboom's suggestion should fix it.

@mdboom Would you mind putting in a pull request for this?

@dmcdougall
Copy link
Member

@mdboom Nevermind, I just did it.

Relevant PR is #1305.

@dmcdougall
Copy link
Member

Fixed by #1305.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS: Apple Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

No branches or pull requests

2 participants