GNU bug report logs - #2280
/sw and /opt/local on OSX

Previous Next

Packages: emacs, ns;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Wed, 11 Feb 2009 10:50:03 UTC

Severity: normal

Merged with 5252, 5921, 6819

Found in version 24.0.50

Fixed in version 24.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Markus Triska <markus.triska <at> gmx.at>
Subject: bug#5921: closed (Re: bug#2280: 23.0.90; incorrect configuration)
Date: Fri, 18 May 2012 07:17:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#2280: /sw and /opt/local on OSX

which was filed against the emacs,ns package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 5921 <at> debbugs.gnu.org.

-- 
2280: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2280
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 2280-done <at> debbugs.gnu.org
Subject: Re: bug#2280: 23.0.90; incorrect configuration
Date: Fri, 18 May 2012 03:16:19 -0400
Version: 24.2

Stefan Monnier wrote:

> I think the main issue is that to make it work right, someone needs to
> improve the configure code for it.  Until then, you're probably right that
> we should comment it out.

I have commented out this code, opened a new bug about finding a
way to bring in back in some improved form, and am closing this report.

[Message part 3 (message/rfc822, inline)]
From: Markus Triska <markus.triska <at> gmx.at>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; OSX: Emacs 23.1.95 pretest does not compile
Date: Sat, 10 Apr 2010 10:10:06 +0200
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.




This bug report was last modified 13 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.