Re: to build xdiv
Re: to build xdiv
- Subject: Re: to build xdiv
- From: "James K. Lowden" <email@hidden>
- Date: Sun, 19 Feb 2012 19:29:09 -0500
On Sun, 19 Feb 2012 10:49:34 -0800
Jeremy Huddleston <email@hidden> wrote:
> Did you try my suggestion? Please just use their configure script
> with the following:
>
> ./configure --x-include=/usr/X11/include --x-lib=/usr/X11/lib
I did, Jeremy, thanks. That got past the original problem and onto
another one about unsigned integers and bitmaps. I compiled the little
10-line program that config.log said failed, and it worked. Rather
than try to debug that further, I set about updating the sources with
the intention of sending a patch upstream.
The xdiv distribution includes a patch that was applied to the
configure generated by autoconf prior to distribution. In my
experience, hand-tweaking any generated output is at best error-prone.
While it's tricky to get autoconf set up correctly, once done it should
be more reliable than hacking on the configure script directly.
The distributed configure seemed confused about the executable
extension. That problem went away with my newly generated (but still
nonworking) one.
> You're in for a world of hurt if you want to try updating older
> configure scripts.
I don't love the autotools, but I've helped other small projects update
their scripts. I maintain FreeTDS (www.freetds.org) and have been a
NetBSD & pkgsrc user for many years. I'm not an OS X developer, though,
and x.org has been moving pretty fast (not least thanks to you!), so
I'm sure I'm behind the curve in what's expected out here in MacLand.
That leaves me temporarily stuck. The distributed configure script
won't run on my system; it might as will be written on punched paper
tape in Aramaic. Adjusting the autoconf/automake inputs ever so
slightly to make them work with the versions of those tools Apple
included with Xcode left me with non-working scripts. Quite likely
that's because of a problem in one of the m4 macros, surely the hardest
part of autoconf to get right. I'm hoping someone over on the autoconf
mailing list will help me sort that out (but I'm also open to help
here, too!) ;-)
Regards,
--jkl
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden