Re: FVWM: configure can find xft2

From: Wilbert van Bakel <wilbertml_at_earthlink.net>
Date: Sat, 17 Aug 2002 20:18:12 -0500

I found font-config-config in /usr/bin and used --with-freetype-prefix=/usr.

I hope I did paste the right part of the config.log:

configure:3192: checking for Xft - version >= 2.0.0
configure:3264: gcc -o conftest -g -O2 -Wall -Wno-implicit-int
-I/usr/include -I/usr/include/freetype2 -I/usr/include
-I/usr/X11R6/include conftest.c -lXft -lfreetype -lfontconfig
-L/usr/X11R6/lib -lXrender 1>&5
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
configure: In function `main':
configure:3248: `FcBool' undeclared (first use in this function)
configure:3248: (Each undeclared identifier is reported only once
configure:3248: for each function it appears in.)
configure:3248: parse error before "result"
configure:3250: `result' undeclared (first use in this function)
configure: failed program was:
#line 3239 "configure"
#include "confdefs.h"

#include <X11/Xft/Xft.h>
#include <stdio.h>
#include <stdlib.h>

int
main()
{
   FcBool result = 1;

   result = XftInit(NULL);

   if (result)
   {
     return 0;
   }
   else
   {
     return 1;
   }
}

configure:3332: checking for XftFontOpen in -lXft

Thank you, Mikhael,
Wilbert van Bakel

Mikhael Goikhman wrote:
> config.log contains a reason why xft2 was not detected.
>
> Try to specify:
>
> ./configure --with-freetype-prefix=/usr/X11R6
>
> (or --with-freetype-exec-prefix=/usr/X11R6), this sets a prefix of your
> fontconfig-config script, i.e. /usr/X11R6/bin/fontconfig-config .
>
> Regards,
> Mikhael.

--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat Aug 17 2002 - 20:19:53 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST