[openbox] compiling openbox-2.1.2 on redhat-8.0

John Eckerdal john at hl.lu.se
Tue Oct 8 16:01:28 EDT 2002


On Tue, 8 Oct 2002, Alexander Volovics wrote:

> 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

Strange:

My shows:

Compile time options:
  Debugging:                    no
  Shape:                        yes
  Xft:                          yes
  Xinerama:                     no
  8bpp Ordered Dithering:       no


Are you sure you added it to the correct lines? There are a few to
choose from.

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

xft-config --libs

actually provides -lXft2
 
> 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.

Didn't know that.

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

Yes.

-- 
John Eckerdal                        the Assembly Gems page
                               http://www.df.lth.se/~john_e




More information about the openbox mailing list