emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GTK build crashes under X


From: Jan Djärv
Subject: Re: GTK build crashes under X
Date: Wed, 06 Dec 2006 14:10:23 +0100
User-agent: Thunderbird 1.5.0.8 (X11/20061107)



Stephen Berman skrev:

CPPFLAGS='-I/usr/local/include/fontconfig' LDFLAGS='-L/usr/local/lib' 
LIBS='-llibfontconfig' ../emacs-22.0.90/configure --with-x-toolkit=gtk

make then built emacs without error, and as expected, it still
segfaults.  But when I run it under gdb, I still get the same
backtrace as before:

#0  0xb75748fa in strcmp () from /lib/libc.so.6
No symbol table info available.
#1  0xb7a7db45 in FcObjectToPtr () from /usr/lib/libfontconfig.so.1
No symbol table info available.
#2  0xb7a81741 in FcPatternAddWithBinding () from /usr/lib/libfontconfig.so.1
No symbol table info available.
#3  0xb7a81df8 in FcPatternAdd () from /usr/lib/libfontconfig.so.1
No symbol table info available.
#4  0xb7a81e84 in FcPatternBuild () from /usr/lib/libfontconfig.so.1
No symbol table info available.

It seems that the variable LIBS I passed to configure (following the
example in etc/INSTALL) wasn't used by make.  Did I do something
wrong?  How do I get emacs to use the libfontconfig I built?  (I also
tried LIBS='-l/usr/local/lib/libfontconfig.so.1' but that makes
configure fail.)


When building for Gtk, Emacs uses the libs given by pkg-config. You can not override it easily. I guess you have to do configure the normal way, and then edit src/Makefile and put in your fontconfig library there.

        Jan D.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]