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

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

Re: 22.0.95 fails to link (missing -lX11) on Solaris with Sun cc


From: Glenn Morris
Subject: Re: 22.0.95 fails to link (missing -lX11) on Solaris with Sun cc
Date: Fri, 02 Mar 2007 17:58:07 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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
  address@hidden@
  #endif /* HAVE_XFT */
  
--- 403,408 ----





reply via email to

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