[openbox] compiling openbox-2.1.2 on redhat-8.0

Alexander Volovics awol at home.nl
Tue Oct 8 14:59:25 EDT 2002


On Tue, Oct 08, 2002 at 12:26:53AM +0200, John Eckerdal wrote:

> No. Just
> `xft-config --libs` to LDFLAGS
> and
> `xft-config --cflags` to CXXFLAGS
 
> Note that this is not ''-pair but a ``-pair. These are back-quotes
> and using them will cause the Makefile to run the application.

OK, I started again from scratch today using openbox-2.1.1.

1) did ./configure
2) appended `xft-config --libs` and `xft-config --cflags` to the
   Makefiles in /src and /util at LDFLAGS and CXXFLAGS (making
   sure I used the correct ``-pair this time).
3) ran 'make' and 'make install'

Indeed openbox compiles and runs BUT it is still not xft enabled!

Running 'openbox -h' shows:
 Compile time options:
   Debugging                     No
   Shape:                        Yes
   Xft:                          No
   Xinerama:                     No
   8bpp Ordered Dithering:       No

And running 'xftlsfonts' shows:
 Openbox was built without support for Xft fonts. This utility must
 be built with Xft support in order to function.

Are you really sure that you can ignore the linking with -lXft
that ./configure is supposed to supply 

By the way:
RH-8.0 does contain 2 header files, both supplied by Xft-devel-2.0.1,
namely '/usr/include/Xft2/X11/Xft/Xft.h' and 
'/usr/include/Xft2/X11/Xft/XftCompat.h'.
Xft.h somewhat resembles the Xft.h supplied by XFree86-devel-4.2.0-8 in
RH-7.3. XFtCompat.h is a smaller file and has a different structure.
I can't find any info describing its function.

Also:
Under RH-8.0 XFree86-devel-4.2.0-72 installs a completely empty
directory: /usr/X11R6/include/X11/Xft ?

Alexander







More information about the openbox mailing list