[MacPorts] #13540: building Python 3.0a2 fails

MacPorts trac at macosforge.org
Mon Dec 10 08:19:24 PST 2007


#13540: building Python 3.0a2 fails
--------------------------------+-------------------------------------------
 Reporter:  jhmsmits at xs4all.nl  |       Owner:  macports-dev at lists.macosforge.org
     Type:  defect              |      Status:  new                              
 Priority:  Normal              |   Milestone:                                   
Component:  ports               |     Version:  1.5.2                            
 Keywords:                      |  
--------------------------------+-------------------------------------------
 Hi,

 I'm trying to install lang/python30. It fails to build (see below). Can
 anybody help me getting this port to build?

 --------------
 sudo port install python30

 --->  Fetching python30
 --->  Attempting to fetch Python-3.0a2.tgz from
 http://www.python.org/ftp/python/3.0/
 --->  Verifying checksum(s) for python30
 --->  Extracting python30
 --->  Applying patches to python30
 --->  Configuring python30
 --->  Building python30 with target all
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python30/work/Python-3.0a2"
 && make all " returned error 2
 Command output:                  from
 /System/Library/Frameworks/QuickTime.framework/Headers/MediaHandlers.h:24,
                  from
 /System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h:30,
                  from Include/pymactoolbox.h:11,
                  from Python/mactoolboxglue.c:27:
 /System/Library/Frameworks/QuartzCore.framework/Headers/CVOpenGLBuffer.h:84:
 error: parse error before 'CGLContextObj'
 In file included from
 /System/Library/Frameworks/QuartzCore.framework/Headers/CoreVideo.h:29,
                  from
 /System/Library/Frameworks/QuickTime.framework/Headers/ImageCompression.h:25,
                  from
 /System/Library/Frameworks/QuickTime.framework/Headers/Movies.h:51,
                  from
 /System/Library/Frameworks/QuickTime.framework/Headers/MediaHandlers.h:24,
                  from
 /System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h:30,
                  from Include/pymactoolbox.h:11,
                  from Python/mactoolboxglue.c:27:
 /System/Library/Frameworks/QuartzCore.framework/Headers/CVOpenGLTexture.h:66:
 error: parse error before 'CVOpenGLTextureGetTarget'
 /System/Library/Frameworks/QuartzCore.framework/Headers/CVOpenGLTexture.h:74:
 error: parse error before 'CVOpenGLTextureGetName'
 /System/Library/Frameworks/QuartzCore.framework/Headers/CVOpenGLTexture.h:95:
 error: parse error before 'GLfloat'
 In file included from
 /System/Library/Frameworks/QuartzCore.framework/Headers/CoreVideo.h:30,
                  from
 /System/Library/Frameworks/QuickTime.framework/Headers/ImageCompression.h:25,
                  from
 /System/Library/Frameworks/QuickTime.framework/Headers/Movies.h:51,
                  from
 /System/Library/Frameworks/QuickTime.framework/Headers/MediaHandlers.h:24,
                  from
 /System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h:30,
                  from Include/pymactoolbox.h:11,
                  from Python/mactoolboxglue.c:27:
 /System/Library/Frameworks/QuartzCore.framework/Headers/CVOpenGLTextureCache.h:62:
 error: parse error before 'CGLContextObj'
 In file included from
 /System/Library/Frameworks/QuickTime.framework/Headers/Movies.h:51,
                  from
 /System/Library/Frameworks/QuickTime.framework/Headers/MediaHandlers.h:24,
                  from
 /System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h:30,
                  from Include/pymactoolbox.h:11,
                  from Python/mactoolboxglue.c:27:
 /System/Library/Frameworks/QuickTime.framework/Headers/ImageCompression.h:12560:
 error: parse error before 'CGLContextObj'
 make: *** [Python/mactoolboxglue.o] Error 1

 Error: Status 1 encountered during processing.

 ------------

 Regards,
 Sander Smits.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13540>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list