Building XQuartz
This page contains links to instructions for building XQuartz components from sources.
This is not an exhaustive set of all combinations of XQuartz components, source versions, Mac OS versions, XCode versions, and so on. Rather, these are known, verified good builds which you can duplicate, and can serve as a starting point for further work.
Development Tools
To build XQuartz, you will need Apple's XCode development tools, which include the Gnu compiler toolchain.
You can download free installers for current or old versions of XCode:
- Go to http://connect.apple.com and log in with your Apple Developer Connection (ADC) account.
- If you don't have an ADC account, you can get one by pressing the Join Now button on that page and following the directions.
- Once you've logged in, you'll be in the Developer Connection Member Site at the entry page. Click on the Downloads link.
- In the next page, click on the Developer Tools link in the Downloads list on the right.
- In the next page, titled Developer Tools, scroll down until you find the XCode version you want, and click on the link to download it.
The builds this page links to generally require specific versions of XCode. But if you're doing development with current XQuartz sources, you will probably want to use the most recent version of XCode.
Xserver Quick Builds
These instructions build Xserver and mesa. They simplify the process by obtaining many header files and prebuilt components by installing XQuartz binary packages. Other needed components are built from source tarballs obtained via curl.
Builds on Mac OS 10.5.5
These don't build universal binaries - the X server is built for your computer's native architecture only..
- xorg-server-1.4.2-apple19 from the source tarball.
- xorg-server-1.4-apple from the freedesktop.org git repository. (This was verified on 11 Oct 2008, but since the git sources are not static, these instructions may break in the future.)
