We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 546

Summary: after ./configure
Product: SDL Reporter: Luis Alberto D'Ardis <genovagenova>
Component: buildAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: blocker    
Priority: P2    
Version: 1.2.13   
Hardware: x86   
OS: Linux   

Description Luis Alberto D'Ardis 2008-02-01 19:33:22 UTC
hi after ./configure command when i type make 2> errors.make in my errors.make file i can see this:

In file included from ./src/video/x11/SDL_x11video.h:53,
                 from ./src/video/x11/SDL_x11dga_c.h:24,
                 from ./src/video/x11/SDL_x11dga.c:30:
./src/video/x11/SDL_x11dyn.h:39:33: error: X11/extensions/XShm.h: No such file or directory
In file included from ./src/video/x11/SDL_x11dga_c.h:24,
                 from ./src/video/x11/SDL_x11dga.c:30:
./src/video/x11/SDL_x11video.h:80: error: expected specifier-qualifier-list before 'XShmSegmentInfo'
make: *** [build/SDL_x11dga.lo] Error 1

kind regards, if this is not a bug so sorry i'm not a developer but version 1.2.12 don't gives me this error.
Comment 1 Luis Alberto D'Ardis 2008-02-01 23:12:46 UTC
sudo apt-get install xorg-dev

x11 headers needed before trying to compile SDL-1.2.13.tar.gz