Summary: | Fluxbox 0.1.13 Released | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matthew Daubenspeck <matt> |
Component: | Current packages | Assignee: | Matt Keadle <mkeadle> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch for configure.in to include headers for freetype2 |
Description
Matthew Daubenspeck
2002-11-19 07:30:57 UTC
mmk. commited. it and me both Could you reopen this bug, please? I couldn't compile fluxbox-0.1.13. I am on Gentoo 1.2 converted to 1.4 with gcc3.2 on kernel 2.4.19-gentoo-sources with (xfs patched in manually) on a pentium 4. The make fails with: source='Font.cc' object='Font.o' libtool=no \ depfile='.deps/Font.Po' tmpdepfile='.deps/Font.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DLOCALEPATH=\"/usr/share/locale\" -DDEFAULTMENU=\"/usr/share/commonbox/menu\" -DDEFAULTSTYLE=\"/usr/share/commonbox/styles/Fury-NG\" -DDEFAULTKEYSFILE=\"/usr/share/commonbox/keys\" -DDEFAULT_INITFILE=\"/usr/share/commonbox/init\" -march=pentium4 -O3 -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I/usr/X11R6/include -DSHAPE -DXINERAMA -c -o Font.o `test -f 'Font.cc' || echo './'`Font.cc In file included from XftFontImp.hh:28, from Font.cc:34: /usr/X11R6/include/X11/Xft/Xft.h:52: syntax error before `;' token /usr/X11R6/include/X11/Xft/Xft.h:86: 'FT_UInt' is used as a type, but is not defined as a type. /usr/X11R6/include/X11/Xft/Xft.h:93: 'FT_UInt' is used as a type, but is not defined as a type. /usr/X11R6/include/X11/Xft/Xft.h:190: type specifier omitted for parameter `FT_UInt' /usr/X11R6/include/X11/Xft/Xft.h:190: parse error before `*' token /usr/X11R6/include/X11/Xft/Xft.h:295: type specifier omitted for parameter `FT_UInt' /usr/X11R6/include/X11/Xft/Xft.h:295: parse error before `*' token /usr/X11R6/include/X11/Xft/Xft.h:343: parse error before `*' token /usr/X11R6/include/X11/Xft/Xft.h:380: type specifier omitted for parameter `FT_UInt' /usr/X11R6/include/X11/Xft/Xft.h:380: parse error before `*' token /usr/X11R6/include/X11/Xft/Xft.h:386: type specifier omitted for parameter `FT_UInt' /usr/X11R6/include/X11/Xft/Xft.h:386: parse error before `*' token /usr/X11R6/include/X11/Xft/Xft.h:395: type specifier omitted for parameter `FT_UInt' /usr/X11R6/include/X11/Xft/Xft.h:395: parse error before `,' token /usr/X11R6/include/X11/Xft/Xft.h:405: parse error before `*' token /usr/X11R6/include/X11/Xft/Xft.h:448: type specifier omitted for parameter `FT_UInt' /usr/X11R6/include/X11/Xft/Xft.h:448: parse error before `*' token I have a feeling it is related to xft-2. To be able to compile qt-3.1.0 I had to emerge xft-2.0-r1 (currently masked). The xft-2.0-r1 ebuild points /usr/X11R6/lib/libXft.so to /usr/lib/libXft.so.2.0 and moves the headers from /usr/X11R6/include/X11/Xft to /root/.Xft. I will also try and send an email upstream on the fluxbox list. See <a href="bug 10834">http://bugs.gentoo.org/show_bug.cgi?id=10834</a> for some more background on xft-2 issues. Thanks, This probably needs attention from a configure guru. I fixed my previously reported problem by inserting -I/usr/include/freetype2 in the CXXFLAGS line in src/Makefile. Now, I have fluxbox-0.1.13 running properly. The following patch fixes my above described issue. --- fluxbox-0.1.13-orig/configure.in 2002-11-18 05:59:23.000000000 -0500 +++ fluxbox-0.1.13/configure.in 2002-11-21 09:55:35.000000000 -0500 @@ -257,6 +257,7 @@ fi, AC_CHECK_LIB(Xft, XftFontOpen, LIBS="$LIBS -lXft" + CXXFLAGS="$CXXFLAGS -I/usr/include/freetype2" XFT=true AC_DEFINE(USE_XFT, 1, "antialias support"), AC_MSG_RESULT([no]) @@ -264,6 +265,7 @@ ) AC_CHECK_LIB(Xft, XftDrawStringUtf8, LIBS="$LIBS -lXft" + CXXFLAGS="$CXXFLAGS -I/usr/include/freetype2" AC_DEFINE(HAVE_XFT_UTF8_STRING, 1, "Xft UTF8 support"), ) ) Created attachment 5869 [details, diff]
patch for configure.in to include headers for freetype2
This is just the same patch as above as a file. It is probably advisable to use
the output of `freetype-config --cflags` rather than hardcode
/usr/include/freetype2 but I'm not qualified to make that judgement.
|