GNU bug report logs -
#1358
error when compiling ftfont.c from CVS
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1358 in the body.
You can then email your comments to 1358 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1358
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Joe Corneli" <holtzermann17 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
I'm using Mac OS X 10.4.11 on a macbook pro.
I had no problems installing GNU Emacs 22.0.50.1
(i686-apple-darwin8.11.1, GTK+ Version 2.6.10)
via fink.
When I passed the same configuration options to the current CVS
version of Emacs, I got the following error
when I ran 'make bootstrap':
gcc -I/sw/include -L/sw/lib -c -Demacs -DHAVE_CONFIG_H -I.
-I/Users/planetmath/emacs/src -I/usr/X11R6/include
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -Dtemacs -g -O2
-Wno-pointer-sign md5.c
gcc -I/sw/include -L/sw/lib -c -Demacs -DHAVE_CONFIG_H -I.
-I/Users/planetmath/emacs/src -I/usr/X11R6/include
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -Dtemacs -g -O2
-Wno-pointer-sign xfont.c
gcc -I/sw/include -L/sw/lib -c -Demacs -DHAVE_CONFIG_H -I.
-I/Users/planetmath/emacs/src -I/usr/X11R6/include
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -Dtemacs -g -O2
-Wno-pointer-sign ftfont.c
ftfont.c: In function 'ftfont_pattern_entity':
ftfont.c:164: error: 'FC_WEIGHT_REGULAR' undeclared (first use in this function)
ftfont.c:164: error: (Each undeclared identifier is reported only once
ftfont.c:164: error: for each function it appears in.)
ftfont.c:173: error: 'FC_WIDTH' undeclared (first use in this function)
ftfont.c: In function 'ftfont_list':
ftfont.c:792: error: 'FC_WIDTH' undeclared (first use in this function)
make[2]: *** [ftfont.o] Error 1
make[1]: *** [src] Error 2
make: *** [bootstrap] Error
bug reassigned from package `emacs' to `emacs,ns'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Sun, 16 Nov 2008 23:45:03 GMT)
Full text and
rfc822 format available.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, don <at> donarmstrong.com
:
bug#1358
; Package
emacs,ns
.
Full text and
rfc822 format available.
Message #10 received at 1358 <at> emacsbugs.donarmstrong.com (full text, mbox):
"Joe Corneli" wrote:
> When I passed the same configuration options to the current CVS
> version of Emacs,
Can you share what these configuration options were?
> ftfont.c:164: error: 'FC_WEIGHT_REGULAR' undeclared (first use in this function)
What version of fontconfig do you have installed?
What does `pkg-config --modversion fontconfig' report?
What does the configure script output say about fontconfig?
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, don <at> donarmstrong.com
:
bug#1358
; Package
emacs,ns
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Joe Corneli" <holtzermann17 <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, don <at> donarmstrong.com
.
Full text and
rfc822 format available.
Message #15 received at 1358 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Mon, Nov 17, 2008 at 5:56 PM, Glenn Morris <rgm <at> gnu.org> wrote:
> "Joe Corneli" wrote:
>
>> When I passed the same configuration options to the current CVS
>> version of Emacs,
>
> Can you share what these configuration options were?
Sure, here:
./configure --infodir='${prefix}/share/info'
--mandir='${prefix}/share/man' --libexecdir='${prefix}/lib'
>> ftfont.c:164: error: 'FC_WEIGHT_REGULAR' undeclared (first use in this function)
>
> What version of fontconfig do you have installed?
It looks like several versions are installed via fink:
% fink list fontconfig
Information about 7570 packages read in 1 seconds.
i fontconfig-conf 2.4.1-5 configuration files for fontconfig
fontconfig-path 20050601-3 Add custom directories to fontconfig search
p fontconfig1 [virtual package]
p fontconfig1-dev [virtual package]
p fontconfig1-shl [virtual package]
i fontconfig2-dev 2.4.1-5 Font configuration library
i fontconfig2-shl 2.4.1-5 Fontconfig 2, shared libs
i system-pkgconfi 2.1.0-1 [virtual pkgconfig package representing fo...
> What does `pkg-config --modversion fontconfig' report?
2.1.0
(Which suggests perhaps I should remove the system-pkgconfi package and
use the fontconfig2-shl?)
> What does the configure script output say about fontconfig?
Two lines:
checking GTK_LIBS... -L/sw/lib -L/usr/X11R6/lib -lgtk-x11-2.0
-lgdk-x11-2.0 -lXrandr -lXinerama -lXext -lXcursor -latk-1.0
-lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lXrender -lpangox-1.0 -lX11
-lpangoft2-1.0 -lfontconfig -lfreetype -lpango-1.0 -lm -lgobject-2.0
-lgmodule-2.0 -lglib-2.0 -lintl -liconv
checking XFT_LIBS... -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, don <at> donarmstrong.com
:
bug#1358
; Package
emacs,ns
.
Full text and
rfc822 format available.
Message #18 received at 1358 <at> emacsbugs.donarmstrong.com (full text, mbox):
reassign 1358 emacs
stop
"Joe Corneli" wrote:
> 2.1.0
>
> (Which suggests perhaps I should remove the system-pkgconfi package and
> use the fontconfig2-shl?)
Yes, perhaps. fontconfig 2.2.0 or newer should work.
>> What does the configure script output say about fontconfig?
>
> Two lines:
>
> checking GTK_LIBS... -L/sw/lib -L/usr/X11R6/lib -lgtk-x11-2.0
> -lgdk-x11-2.0 -lXrandr -lXinerama -lXext -lXcursor -latk-1.0
> -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lXrender -lpangox-1.0 -lX11
> -lpangoft2-1.0 -lfontconfig -lfreetype -lpango-1.0 -lm -lgobject-2.0
> -lgmodule-2.0 -lglib-2.0 -lintl -liconv
> checking XFT_LIBS... -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig
You don't have a line of the form:
checking for fontconfig >= 2.2.0...
just above the XFT_LIBS part?
It should say "no" if pkg-config reports 2.1.0.
bug reassigned from package `emacs,ns' to `emacs'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Tue, 18 Nov 2008 01:30:03 GMT)
Full text and
rfc822 format available.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1358
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Joe Corneli" <holtzermann17 <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #25 received at 1358 <at> emacsbugs.donarmstrong.com (full text, mbox):
>> (Which suggests perhaps I should remove the system-pkgconfi package and
>> use the fontconfig2-shl?)
>
> Yes, perhaps. fontconfig 2.2.0 or newer should work.
I'll see what I can do with fink to change things around.
> checking for fontconfig >= 2.2.0...
>
> just above the XFT_LIBS part?
>
> It should say "no" if pkg-config reports 2.1.0.
>
No, there's no such line -- here's some context:
checking for xft >= 0.13.0... yes
checking XFT_CFLAGS... -I/usr/X11R6/include -I/usr/X11R6/include/freetype2
checking XFT_LIBS... -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig
checking X11/Xft/Xft.h usability... yes
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1358
; Package
emacs
.
Full text and
rfc822 format available.
Message #28 received at 1358 <at> emacsbugs.donarmstrong.com (full text, mbox):
"Joe Corneli" wrote:
> No, there's no such line -- here's some context:
>
> checking for xft >= 0.13.0... yes
> checking XFT_CFLAGS... -I/usr/X11R6/include -I/usr/X11R6/include/freetype2
> checking XFT_LIBS... -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig
> checking X11/Xft/Xft.h usability... yes
I think I see the problem. The configure script has not been
regenerated with some recent changes to the source configure.in.
If you have autoconf >= 2.6.1 installed, running `autoconf' in the
top-level Emacs directory ought to fix it (in the sense that you
should get a successful build without fontconfig). Or you can update
from the repository in a bit.
You still probably want to sort out your fontconfig installation to
get nicer looking fonts in your build.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1358
; Package
emacs
.
Full text and
rfc822 format available.
Message #31 received at 1358 <at> emacsbugs.donarmstrong.com (full text, mbox):
Glenn Morris wrote (on Mon, 17 Nov 2008 at 21:11 -0500):
> If you have autoconf >= 2.6.1 installed, running `autoconf' in the
^^^^^
Sorry, 2.61.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1358
; Package
emacs
.
Full text and
rfc822 format available.
Message #34 received at 1358 <at> emacsbugs.donarmstrong.com (full text, mbox):
Does it work now, with an up-to-date copy of configure from CVS?
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1358
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Joe Corneli" <holtzermann17 <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #39 received at 1358 <at> emacsbugs.donarmstrong.com (full text, mbox):
Note: I did get emacs to compile after running autoconf as you suggested.
Now I'm trying again in the same directory after 'cvs up' (I don't
know if having
previously run autoconf taints the experiment).
First piece of data:
I don't know how you guys are doing things these days, but this might
be a problem:
Merging differences between 1.303 and 1.304 into configure
rcsmerge: warning: conflicts during merge
cvs update: conflicts found in configure
...
./configure --infodir='${prefix}/share/info'
--mandir='${prefix}/share/man' --libexecdir='${prefix}/lib'
./configure: line 641: syntax error near unexpected token `<<<'
./configure: line 641: `<<<<<<< configure'
Second piece of data:
after removing ./configure, updating, and running ./configure again, I
do now get the line
checking for fontconfig >= 2.2.0... no
I assume that means it is going to work.... and yes, make bootstrap worked.
On Wed, Nov 19, 2008 at 9:04 PM, Glenn Morris <rgm <at> gnu.org> wrote:
>
> Does it work now, with an up-to-date copy of configure from CVS?
>
Reply sent to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
Full text and
rfc822 format available.
Notification sent to
"Joe Corneli" <holtzermann17 <at> gmail.com>
:
bug acknowledged by developer.
Full text and
rfc822 format available.
Message #44 received at 1358-done <at> emacsbugs.donarmstrong.com (full text, mbox):
"Joe Corneli" wrote:
> Merging differences between 1.303 and 1.304 into configure
> rcsmerge: warning: conflicts during merge
> cvs update: conflicts found in configure
Nothing to worry about, just do what you did:
> after removing ./configure, updating, and running ./configure again, I
> do now get the line
>
> checking for fontconfig >= 2.2.0... no
>
> I assume that means it is going to work.... and yes, make bootstrap worked.
Good. thanks for letting us know.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1358
; Package
emacs
.
(Fri, 19 Dec 2008 02:20:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Fri, 16 Jan 2009 15:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 246 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.