Xft problems with RH-8.0

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

 



When trying to compile an app (openbox) under RH-8.0 a number of
complications are encountered.

1) the library libXft.so.2.0 is no longer to be found in 
   /usr/X11R6/lib (as in RH-7.3) but in /usr/lib

   (However in /usr/X11R6/lib XFree86-libs-4.2.0-72 installs libXft.so.1.2,
    presumably for compatibility reasons for apps compiled under RH-7.3)

2) the header file Xft.h is no longer to be found in
   /usr/X11R6/include/X11/Xft but in /usr/include/Xft2/X11/Xft

3) to make matters worse when you do find your way to /usr/lib and
   /usr/include/Xft2/X11/Xft by using LDFLAGS, CPPFLAGS and softlinks
   during ./configure you encounter a long list of undefined references,
   for example to: FcPatternAddInteger, FcPatternAddBool, etc.

4) Snooping around you discover another header file in
   /usr/include/Xft2/X11/Xft, namely XftCompat.h.
   This file seems to contain the translations from the newer Xft.h
   where these things are called for example: XftPatternAddInteger,
   XftPatternAddBool, etc.
   (but not all the undefined references seem to have translations)

   It is completely unclear how you can make these translations work
   and there is no documentation at all. (how do you use XftCompat.h)

As a non programmer who has only a very vague idea of what is going on
here and what might be needed I find this very frustrating.

Can somebody from RH give some explantion of how this can be solved.
(Or some experienced programmer willing to take the time to instruct me).

Alexander





[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux