Hi,
FREETYPE_CFLAGS are not used in Makefiles. It's a bug of autoconf (hello gnu
auto* :-)) and/or Motif configure.ac/Makefile.in's. Please report this bug on
bugs.motifzone.net.
You can quickly resolve this issue by making symlink
/usr/include/freetype -> /usr/include/freetype2/freetype
This works for me.
OR run configure with CFLAGS option
$ configure --enable-xft CFLAGS="-I/usr/include/freetype2"
There is a configure option '--with-freetype-includes' that sets
FREETYPE_CFLAGS hardly but it's useless since as I said this variable is not
merged with CFLAGS.
Alex Che
________________________________
From: Antonis Tsolomitis <antonis.tsolomi...@gmail.com>
To: "cdesktopenv-devel@lists.sourceforge.net"
<cdesktopenv-devel@lists.sourceforge.net>
Sent: Thursday, February 14, 2013 1:02 PM
Subject: [cdesktopenv-devel] building on Linux Mageia2. Difficulty with motif.
Hello,
I am trying to build it o Linux Mageia2 but I can not compile the motif
library first.
Where can I ask for such a problem? Here? Elsewhere?
Motif is the source provided by sourceforge motif site.
The problem is with freetype. I get
============================================
In file included from /usr/include/X11/Xft/Xft.h:39:0,
from XmRenderTI.h:33,
from Label.c:82:
/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h:
No such file or directory
compilation terminated.
============================================
However, the file exists:
$ ls -lh /usr/include/freetype2/freetype/config/ftheader.h
-rw-r--r-- 1 root root 25K Mar 9 2012
/usr/include/freetype2/freetype/config/ftheader.h
$
Makefile contains:
===============================
$ cat Makefile | grep freetype
FREETYPE_CFLAGS = -I/usr/include/freetype2
ft_config = freetype-config
$
===============================
Xft.h is from libxft-devel:
===============================
$ rpm -qf /usr/include/X11/Xft/Xft.h
libxft-devel-2.3.0-1.mga2
$
===============================
What is wrong?
thank you,
Antonis.
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel