compiling XF4 on potato?
Hi,
I got some way through compiling XF4, but I now I have hit a wall. I get
...
gcc -c -O2 -g -fsigned-char -I/usr/include/freetype2
-I../.. -I../../exports/include -Dlinux -D__powerpc__
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE
-D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS
-D_REENTRANT -DXUSE_MTSAFE_API
-DXFT_DEFAULT_PATH=\"/etc/X11/XftConfig\" -DFREETYPE2 xftcfg.c
In file included from xftint.h:30,
from xftcfg.c:28:
XftFreetype.h:34: parse error before `_XftFTlibrary'
XftFreetype.h:34: warning: data definition has no type or storage class
XftFreetype.h:37: parse error before `FT_Face'
XftFreetype.h:37: warning: no semicolon at end of struct or union
XftFreetype.h:53: parse error before `}'
...
I installed freetype2-dev to get the freetype headers in the first
place. I also noticed that in the command above we have
"-I/usr/include/freetype2" while the include files for freetype are in
"/usr/include/freetype" (notice the missing "2"). Making a symlink from
freetype to freetype2 didn't help though.
I live on a 500MHz G4 with a clean Debian potato install and working XF3.
Any ideas?
---Stefan Kluth---------------Wissenschaftlicher Mitarbeiter-----------
- MPI fuer Physik - phone: +49 89 32354 468 - OPAL& -
- Foehringer Ring 6 - fax: +49 89 32354 305 - ATLAS -
---D-80805 Munich, Germany----e-mail: skluth@mppmu.mpg.de--------------
Reply to: