New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14089 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

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

comment:1 Changed 5 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 5 years ago by afb@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed, r33716.

comment:3 Changed 4 years ago by blb@…

  • Milestone changed from MacPorts base bugs to MacPorts 1.7.0
Note: See TracTickets for help on using tickets.