| Summary: | X11 detection is broken on Mac OS X | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Anders F Bj <afb> |
| Component: | build | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 1.2 | ||
| Hardware: | PowerPC | ||
| OS: | Mac OS X (All) | ||
|
Description
Anders F Bj
2006-05-09 07:08:53 UTC
This is fixed in subversion, thanks! # /opt/local/bin/svn update ?\195?\132r p?\195?\165 revision 2373. # ./autogen.sh Generating build information using autoconf This may take a while ... Now you are ready to run ./configure # cd cocoa-build # ../configure --enable-video-cocoa --disable-video-carbon [...] checking for X... libraries /usr/X11R6/lib, headers checking for OpenGL (GLX) support... no [...] i.e. No difference, as far as I can tell ? (reopening bug) "No difference" wasn't fair, this worked: ../configure --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib So now it's more a matter of getting autoconf to understand that /usr/include/X11 is a symlink, and that it needs to dig deeper in order to get the *real* location of the other X11 headers... Adding a hardcoded default for Darwin isn't unreasonable, I have *no* idea why they include a symlink for "X11" - but do not include a symlink for "GL" ? (to the OpenGL fw) Added hardcoded /usr/X11R6 path so GLX detection works. |