Fails for me in the same way on Solaris 10 with just:

./configure --with-gtk --with-xft

Problem seems to be that LIB_XFT on Solaris 10 does NOT include -lX11,
despite what it says in src/Makefile.in.

`pkg-config --libs xft' returns:

-R/usr/openwin/lib -R/usr/sfw/lib -R/usr/openwin/lib:/usr/openwin/sfw/lib 
-L/usr/openwin/lib -L/usr/sfw/lib -L/usr/openwin/sfw/lib -lXft -lfreetype 
-lXrender -lfontconfig

This patch (reverts Jan 26 change) fixes it for me on Solaris 10,
don't know if it breaks anything else. It can't hurt to include -lX11
twice, can it?


*** Makefile.in 17 Feb 2007 02:36:10 -0000 1.338
--- Makefile.in 2 Mar 2007 22:48:07 -0000
***************
*** 403,410 ****
  #endif /* not USE_X_TOOLKIT */
  
  #if HAVE_XFT
- #undef LIB_X11_LIB /* XFT_LIBS includes -lX11 */
- #define LIB_X11_LIB
  [EMAIL PROTECTED]@
  #endif /* HAVE_XFT */
  
--- 403,408 ----



_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to