Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#13540 closed defect (fixed)

building Python 3.0a2 fails

Reported by: jhmsmits@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc:
Port:

Description (last modified by jmpp@…)

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.

Change History (5)

comment:1 Changed 13 years ago by jhmsmits@…

BTW I'm using Tiger 10.4.11. Regards, Sander.

comment:2 Changed 13 years ago by jmpp@…

Description: modified (diff)
Milestone: Port Bugs

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to mww@…

Assigning to maintainer.

comment:4 Changed 13 years ago by reiffert@…

Resolution: fixed
Status: newclosed

3.0a2 is not available any longer. Updated to 3.0a3 in r34724. Python30 is a framework install now, be sure to update python_select as well.

comment:5 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.