Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20248 - PyOpenGL cannot build for Tk8.4 (Togl component build fails)
Summary: PyOpenGL cannot build for Tk8.4 (Togl component build fails)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-30 19:38 UTC by Chad Netzer
Modified: 2003-12-01 11:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to PyOpenGl-2.0.0.44 directory to allow building with Tk8.4 (config-r1.diff,1.16 KB, patch)
2003-04-30 19:44 UTC, Chad Netzer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chad Netzer 2003-04-30 19:38:09 UTC
The togl.c file, included with PyOgenGL's Togl widget, only supports up to tk8.3.  
The preprocessor looks for specific versions of Tk, and only checks up to 8.3.

I have a simple patch available to fix this problem. (will attempt to attach)

Reproducible: Always
Steps to Reproduce:
1. emerge tk8.4
2. emerge PyOpenGL
3.
Comment 1 Chad Netzer 2003-04-30 19:44:44 UTC
Created attachment 11337 [details, diff]
patch to PyOpenGl-2.0.0.44 directory to allow building with Tk8.4

in the ebuild, change "config.diff" to "config-r1.diff" and emerge.  Shouldn't
have any effect on current Tk8.3 users.

Ideally, tk8.4 includes would be at "/usr/include/tk8.4", rather than
"/usr/lib/tk8.4/include"...
Comment 2 Stanislav Brabec 2003-05-16 15:32:02 UTC
I have updated patch, but not ebuild number - should create identical binary image.

Please test.
Comment 3 Stanislav Brabec 2003-05-18 05:54:10 UTC
I have updated ChangeLog to point to this bug and patch.
Comment 4 Detro 2003-12-01 10:14:17 UTC
Not fixed. The attached patch does not work good. I'm in the same way.
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-12-01 10:22:29 UTC
wrangler
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-12-01 11:27:08 UTC
this bug is fixed. there is another problem wit togl not supporting 8.4.4 explicitly. you should follow bug #32070