http://bugs.winehq.org/show_bug.cgi?id=15863
Summary: Unable to find X development files on Leopard Product: Wine Version: 1.1.7 Platform: Macintosh OS/Version: Mac OS X 10.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: teloiv@gmail.com
When compiling Wine on Mac OS X under some installs, it fails to find X11's libraries and include files.
The only thing that I can think of that's different is the lack of imake and xmkmf. The default Leopard X11 install includes imake and xmkmf, however, if someone chooses to not install base X11 and instead install Xquartz at a later date, they do not get imake and xmkmf because they are not shipped with Xquartz as of 2.2.0 - see http://xquartz.macosforge.org/trac/wiki/X112.2.0 .
If the locations of X11's libraries and include files are specified with --x-includes=/usr/X11/include and --x-libraries=/usr/X11/libs, Wine finds X11 and builds properly.