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: Ben Aurel <email@hidden>
- Date: Tue, 08 Jul 2008 14:48:34 +0200
>What you can do is either
>
>- reinstall the X11SDK.pkg from your system DVD and then install
xquartz-2.2.3 on top of it. This will >leave the old xmkmf intact, and
this will work perfectly as it always has, or
>- run configure with some flags like
>
>./configure --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib
thanks for the tips, I've tried the second one and it seems to work
~ $ ./configure --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib
~ $ make
...
Making all in doc
make[1]: Nothing to be done for `all'.
Making all in contrib
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all-am'.
~ $ sudo make install
~ $ ratpoison -version
ratpoison 1.4.3 (built Jul 8 2008 14:46:45)
Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Shawn Betts
It seems to be (at least) installed.
thanks for your help
Ben
Martin Costabel wrote:
Ben Aurel wrote:
hi
I try to build ratpoison from source on mac os x 10.5.4 (Intel).
- the latest X11 package is installed X112.2.3
(http://xquartz.macosforge.org/trac/wiki/X112.2.3)
- installation of the latest ratpoison (1.4.3):
-- $ mkdir -p ~/installs/ratpoison
-- $ wget
http://download.savannah.gnu.org/releases/ratpoison/ratpoison-1.4.3.tar.gz
-- $ tar xfvz ratpoison-1.4.3.tar.gz && cd ratpoison-1.4.3
-- $ ./configure
....
configure: error: *** Can't find X11 headers and libs
(for the complete ./configure output see at the bottom of the email)
What can be done here?
- specify the path of headers and libs?
- installing a devel version of X11?
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
checking for X... no
configure: error: *** Can't find X11 headers and libs
The reason is that /usr/X11/bin/xmkmf is no longer present, and this
is used by configure to find the X11 installation. The (IMHO extremely
lame) arguments for the suppression of xmkmf have been presented
several times on this list.
What you can do is either
- reinstall the X11SDK.pkg from your system DVD and then install
xquartz-2.2.3 on top of it. This will leave the old xmkmf intact, and
this will work perfectly as it always has, or
- run configure with some flags like
./configure --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden