Thanks to visit codestin.com
Credit goes to github.com

Skip to content

1.0rc2 fails to build on MacOS X 10.4 #1304

Closed
@r-owen

Description

@r-owen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS: AppleRelease criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions