Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #13954 (new defect)

Opened 10 months ago

Last modified 8 months ago

python25 not building, OpenGL problem

Reported by: macosforge@… Owned by: mww@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

When I try to build the python25 package, the build fails with the error "OpenGL/OpenGL.h: No such file or directory". Which seems likely to be either an autoconf error or a package dependency error.

I just installed ports this evening, and yes I ran selfupdate first, so this isn't a cached file problem.

I'm running on an Intel iMac running 10.4.11.

Attachments

python25-build-err.txt (4.9 KB) - added by macosforge@… 10 months ago.

Change History

Changed 10 months ago by macosforge@…

Changed 10 months ago by afb@…

It should be in /System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h, so you are probably missing the OpenGL SDK ? (that should have been installed with the default Xcode Tools installation...)

Changed 10 months ago by jmpp@…

  • milestone set to Port Bugs

Changed 10 months ago by afb@…

  • status changed from new to closed
  • resolution set to worksforme

Changed 8 months ago by jeb@…

  • status changed from closed to reopened
  • resolution worksforme deleted

Looks like I'm getting the same problem, again on 10.4.11. I've got OpenGL SDK installed. The machine has a 'default' Xcode installation on. The error occurs during an upgrade, there is already a copy of python25 installed with macports back in october last year.

---> Fetching python25 ---> Verifying checksum(s) for python25 ---> Extracting python25 ---> Applying patches to python25 ---> Configuring python25 ---> Building python25 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_python25/work/Python-2.5.2" && 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

Changed 8 months ago by jmr@…

  • owner changed from macports-tickets@… to mww@…
  • status changed from reopened to new
Note: See TracTickets for help on using tickets.