Re: libX11-6.2.1 can't find keysymdef.h, and gmake needed
Jamey Sharp <[email protected]> Wed, 26 Nov 2003 16:40:46 -0800
| Newsgroups | gmane.comp.freedesktop.xlibs.general |
|---|---|
| Message-ID | <[email protected]> |
On 11/26 03:05PM, Jeremy C. Reed wrote: > My fix for libX11 was to patch configure: > # > -KEYSYMDEF="" > for flag in $X11_CFLAGS; do Um... I changed X11_CFLAGS to XPROTO_CFLAGS on 2003/11/13, because I ran into a problem much like this. Have you updated from CVS since then, and re-run autoconf? I guess you have an additional problem though. It looks like pkg-config omits /usr/include from output for --cflags. (I suppose nobody previously had trouble because everbody wanted to install in /usr/local/include.) The right patch to configure.ac probably makes the loop read: for flag in /usr/include $XPROTO_CFLAGS; do Of course, the C pre-processor can search for this file quite easily. If somebody has a way to just query cpp for this path, that seems even better. > "/scratch/pkgsrc/new/libX11/work.puget/libX11-6.2.1/src/util/Makefile" > line 472: Need an operator > bmake: Fatal errors encountered -- cannot continue It looks like the line in question is "override CC = gcc". (In the future, please include lines referenced by errors; the Makefiles are auto-generated, after all, and might be different for you than me) I can believe that "override" is a GNU make extension, though `info make` doesn't say that it is. It's been suggested that makekeys should be translated into some scripting language (e.g. Python or Perl) so that we don't have to think about cross-compiling most of Xlib and then natively compiling makekeys. If somebody did that we could discard the entire util directory, including this apparently lone and gratuitous incompatibility with other make implementations. (I think it's pretty cool that all those other makefiles just worked with bmake, even though you're probably the first person to try it on freedesktop.org sources.) -- Jamey Sharp <[email protected]> - http://minilop.net/
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/xUgONgAXSpyH6VcRArYmAJsFGlwyid81MsCc8bHEAv6fW8VxuACfRS8d onvyhYXSg+MKfHtTfGtaOSQ= =6m5C -----END PGP SIGNATURE-----