all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#5921: 23.1; OSX: Emacs 23.1.95 pretest does not compile
@ 2010-04-10  8:10 Markus Triska
  2010-04-10 13:06 ` Jan Djärv
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Markus Triska @ 2010-04-10  8:10 UTC (permalink / raw)
  To: 5921

On OSX 10.4 with macports installed, I used:

    $./configure CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib

and Emacs fails to compile with:

   xsettings.c: In function 'parse_xft_settings':
   xsettings.c:323: error: 'FC_HINT_NONE' undeclared (first use in this function)
   xsettings.c:323: error: (Each undeclared identifier is reported only once
   xsettings.c:323: error: for each function it appears in.)
   xsettings.c:325: error: 'FC_HINT_SLIGHT' undeclared (first use in this function)
   xsettings.c:327: error: 'FC_HINT_MEDIUM' undeclared (first use in this function)
   xsettings.c:329: error: 'FC_HINT_FULL' undeclared (first use in this function)
   xsettings.c: In function 'apply_xft_settings':
   xsettings.c:424: error: 'FC_HINT_STYLE' undeclared (first use in this function)

apparently because (old) /usr/X11R6/include include files are still
picked up with priority by the eventually used flags:

   gcc -I/sw/include -L/sw/lib -c -Demacs -DHAVE_CONFIG_H -I.
   -I/Users/mt/emacs-23.1.95/src -I/usr/X11R6/include
   -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
   -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
   -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0
   -I/opt/local/lib/glib-2.0/include -I/opt/local/include
   -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
   -I/opt/local/include/libpng12 -I/opt/local/include
   -I/opt/local/include/freetype2 -Dtemacs -I/opt/local/include/librsvg-2
   -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
   -I/opt/local/include -I/opt/local/include/gtk-2.0
   -I/opt/local/include/cairo -I/opt/local/include/pixman-1
   -I/opt/local/include/freetype2 -I/opt/local/include/libpng12
   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include
   -DORBIT2=1 -D_REENTRANT -I/opt/local/include/gconf/2
   -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0
   -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0
   -I/opt/local/lib/glib-2.0/include -I/opt/local/include
   -I/opt/local/include -MMD -MF deps/xsettings.d xsettings.c

When I reorder ALL_CFLAGS in src/Makefile to place
-I/usr/X11R6/include at the end, Emacs compiles.







^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-04-12 22:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-10  8:10 bug#5921: 23.1; OSX: Emacs 23.1.95 pretest does not compile Markus Triska
2010-04-10 13:06 ` Jan Djärv
2010-04-10 16:15 ` Chong Yidong
2010-04-10 21:28   ` Markus Triska
2010-04-12 22:06     ` Glenn Morris
2010-04-11  2:39 ` Dan Nicolaescu

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.