| Summary: | dev-python/pygame compile breaks if USE does not include X for libsdl | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Scott Serr <serrs> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** This bug has been marked as a duplicate of bug 150329 *** |
If pygame's ebuild can't detect SDL lack of X support... then I hope there will be atleast a notice displayed. This is very frustrating, I've hit this about 3 times over the last year. It didn't seem to happen on 2 year old SDL, IIRC. Thanks. Reproducible: Always Steps to Reproduce: 1. Fresh Gentoo install 2. Make sure "-X" in USE in make.conf 3. emerge pygame Actual Results: In file included from /usr/include/python2.4/Python.h:13, from src/pygame.h:57, from src/display.c:27: /usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined <command line>:1:1: warning: this is the location of the previous definition src/display.c: In function 'get_wm_info': src/display.c:416: error: 'SDL_SysWMinfo' has no member named 'info' src/display.c:417: error: 'SDL_SysWMinfo' has no member named 'info' src/display.c:418: error: 'SDL_SysWMinfo' has no member named 'info' src/display.c:419: error: 'SDL_SysWMinfo' has no member named 'info' src/display.c:420: error: 'SDL_SysWMinfo' has no member named 'info' src/display.c:421: error: 'SDL_SysWMinfo' has no member named 'info' error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1