Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#14089 closed defect (fixed)

configure --without-x doesn't work

Reported by: afb@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.7.0
Component: base Version: 1.6.0
Keywords: Cc:
Port:

Description

checking for X... disabled
checking for XOpenDisplay in -lX11... yes
Please install the X11 SDK packages from the
Xcode Developer Tools CD
configure: error: Broken X11 install. No X11 headers

The installation logic is flawed. It requires you to install the SDK if you have the runtime installed (instead of just disabling X) and it requires you to uninstall the runtime if you want to disable X for some other reason (while still having it and/or the SDK still installed).

Caused http://lists.macosforge.org/pipermail/macports-dev/2008-January/004234.html

Change History (3)

comment:1 Changed 16 years ago by afb@…

The problem is the hardcoded lib path: -L/usr/X11R6/lib

It makes has_x_runtime=yes, which confuses the rest of it.

comment:2 Changed 16 years ago by afb@…

Resolution: fixed
Status: newclosed

Fixed, r33716.

comment:3 Changed 15 years ago by blb@…

Milestone: MacPorts base bugsMacPorts 1.7.0
Note: See TracTickets for help on using tickets.