Re: configure error: "Can't find X11 headers and libs"
Re: configure error: "Can't find X11 headers and libs"
- Subject: Re: configure error: "Can't find X11 headers and libs"
- From: Martin Costabel <email@hidden>
- Date: Mon, 07 Jul 2008 21:42:44 +0200
Jeremy Huddleston wrote:
On Jul 7, 2008, at 04:55, Martin Costabel wrote:
With the current versions of xquartz, you cannot build any auto-tools
based software by simply running ./configure; make; make install.
You will always get
That's not true. You can most certainly build auto-tools based
software! The entire x.org repository USES auto-tools, and we use
auto-tools to build all the X11 applications that we ship. The problem
is when they try to use xmkmf and imake. xmkmf and imake are
horrifically broken and not supported. If you package uses xmkmf or
imake, I highly suggest you switch over to using pkg-config.
You are addressing the wrong public here. It is of course possible to
hand-craft auto-tools to do anything you want. The fact is, however,
that until now the standard way to detect an X11 installation uses
xmkmf, and fails if xmkmf is not present.
This means that mere users - not package creators - are left out in the
cold if they want to do the usual configure; make; make install
procedure for software that they can download *now*.
Using configure flags is fine. But your answer and Piotr's answer show
where the problem with this is: You have to spend time to find out how
to do it. Gratuitous, unnecessary waste of time. You wrote
Try passing --with-x-include=/usr/X11/include --with-x-lib=/usr/X11/lib to configure.
Piotr wrote
CFLAGS="-I/usr/X11/inlude" LDFLAGS="-L/usr/X11/lib" ./configure
Both of these *do not work*.
--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden