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: Tom Lane <email@hidden>
- Date: Tue, 08 Jul 2008 13:24:34 -0400
- Comments: In-reply-to "Tom Scogland" <email@hidden> message dated "Tue, 08 Jul 2008 09:05:26 -0500"
"Tom Scogland" <email@hidden> writes:
> On Tue, Jul 8, 2008 at 8:59 AM, Tom Lane <email@hidden> wrote:
>> I think a *minimum* expectation is that Leopard X11 should work with
>> autoconf scripts generated by the autoconf version shipped in Leopard.
> Mr lane, I am not an apple employee or in any way affiliated with
> them, but 2.61 which is the version shipped with leopard, works just
> fine with AC_PATH_X and the extra version thereof which is more
> specific.
Uh, no, it does not. I've got the 2.61 code right here, and it only
looks for .a, .so, .sl:
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
do
# Don't even attempt the hair of trying to link an X program!
for ac_extension in a so sl; do
if test -r "$ac_dir/libX11.$ac_extension"; then
ac_x_libraries=$ac_dir
break 2
fi
done
done])
(This is in /usr/share/autoconf/autoconf/libs.m4 if you need to look
for yourself.)
2.62 is indeed better:
for ac_extension in a so sl dylib la dll; do
but 2.61 won't work.
Now 2.61 *does* work if you have xmkmf installed, which you would if
you'd originally installed the stock Leopard X11 and then installed
the Xquartz distro over that. Without xmkmf, the only way to make it
work is to explicitly specify the paths.
regards, tom lane
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden