Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
when compiling flux i get this error when i do the make cmd.
Code:
n file included from XftFontImp.hh:28,
from Font.cc:34:
/usr/include/X11/Xft/Xft.h:35:31: freetype/freetype.h: No such file or directory
/usr/include/X11/Xft/Xft.h:36:35: fontconfig/fontconfig.h: No such file or directory
In file included from /usr/include/X11/Xft/Xft.h:43,
from XftFontImp.hh:28,
from Font.cc:34:
/usr/include/X11/Xft/XftCompat.h:33: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:34: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:35: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:89: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:91: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:95: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:102: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:103: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:104: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:105: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:163: `XftPattern' was not declared in this
scope
/usr/include/X11/Xft/XftCompat.h:163: `pat' was not declared in this scope
/usr/include/X11/Xft/XftCompat.h:163: parse error before `*' token
In file included from XftFontImp.hh:28,
from Font.cc:34:
/usr/include/X11/Xft/Xft.h:52: syntax error before `;' token
/usr/include/X11/Xft/Xft.h:61: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:62: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:73: 'FcChar32' is used as a type, but is not defined
as a type.
/usr/include/X11/Xft/Xft.h:80: 'FcChar32' is used as a type, but is not defined
as a type.
/usr/include/X11/Xft/Xft.h:86: 'FT_UInt' is used as a type, but is not defined
as a type.
/usr/include/X11/Xft/Xft.h:93: 'FT_UInt' is used as a type, but is not defined
as a type.
/usr/include/X11/Xft/Xft.h:127: `FcFontSet' was not declared in this scope
/usr/include/X11/Xft/Xft.h:127: `set' was not declared in this scope
/usr/include/X11/Xft/Xft.h:127: parse error before `char'
/usr/include/X11/Xft/Xft.h:130: `FcFontSet' was not declared in this scope
/usr/include/X11/Xft/Xft.h:130: `set' was not declared in this scope
/usr/include/X11/Xft/Xft.h:130: parse error before `char'
/usr/include/X11/Xft/Xft.h:137: type specifier omitted for parameter `FcPattern
'
/usr/include/X11/Xft/Xft.h:137: parse error before `*' token
/usr/include/X11/Xft/Xft.h:140: type specifier omitted for parameter `FcPattern
'
/usr/include/X11/Xft/Xft.h:140: parse error before `*' token
/usr/include/X11/Xft/Xft.h:190: parse error before `*' token
/usr/include/X11/Xft/Xft.h:199: parse error before `*' token
/usr/include/X11/Xft/Xft.h:208: parse error before `*' token
/usr/include/X11/Xft/Xft.h:217: parse error before `*' token
/usr/include/X11/Xft/Xft.h:226: parse error before `*' token
/usr/include/X11/Xft/Xft.h:235: parse error before `*' token
/usr/include/X11/Xft/Xft.h:295: parse error before `*' token
/usr/include/X11/Xft/Xft.h:302: parse error before `*' token
/usr/include/X11/Xft/Xft.h:309: parse error before `*' token
/usr/include/X11/Xft/Xft.h:316: parse error before `*' token
/usr/include/X11/Xft/Xft.h:323: parse error before `*' token
/usr/include/X11/Xft/Xft.h:330: parse error before `*' token
/usr/include/X11/Xft/Xft.h:336: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:354: parse error before `*' token
/usr/include/X11/Xft/Xft.h:360: parse error before `*' token
/usr/include/X11/Xft/Xft.h:366: parse error before `*' token
/usr/include/X11/Xft/Xft.h:369: parse error before `*' token
/usr/include/X11/Xft/Xft.h:373: type specifier omitted for parameter `FcPattern
'
/usr/include/X11/Xft/Xft.h:373: parse error before `*' token
/usr/include/X11/Xft/Xft.h:377: type specifier omitted for parameter `FcPattern
'
/usr/include/X11/Xft/Xft.h:377: parse error before `*' token
/usr/include/X11/Xft/Xft.h:386: parse error before `)' token
/usr/include/X11/Xft/Xft.h:392: type specifier omitted for parameter `FcBool'
/usr/include/X11/Xft/Xft.h:392: parse error before `,' token
/usr/include/X11/Xft/Xft.h:399: parse error before `*' token
/usr/include/X11/Xft/Xft.h:405: parse error before `*' token
/usr/include/X11/Xft/Xft.h:413: parse error before `*' token
/usr/include/X11/Xft/Xft.h:418: parse error before `*' token
/usr/include/X11/Xft/Xft.h:426: parse error before `char'
/usr/include/X11/Xft/Xft.h:435: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:446: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:461: parse error before `*' token
/usr/include/X11/Xft/Xft.h:516: parse error before `*' token
/usr/include/X11/Xft/Xft.h:529: parse error before `*' token
/usr/include/X11/Xft/Xft.h:542: parse error before `*' token
/usr/include/X11/Xft/Xft.h:555: parse error before `*' token
/usr/include/X11/Xft/Xft.h:568: parse error before `*' token
/usr/include/X11/Xft/Xft.h:581: parse error before `*' token
/usr/include/X11/Xft/Xft.h:594: parse error before `*' token
/usr/include/X11/Xft/Xft.h:607: parse error before `*' token
/usr/include/X11/Xft/Xft.h:620: parse error before `*' token
/usr/include/X11/Xft/Xft.h:627: syntax error before `*' token
make[3]: *** [Font.o] Error 1
make[3]: Leaving directory `/home/centro/fluxbox-0.1.14/src/FbTk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/centro/fluxbox-0.1.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/centro/fluxbox-0.1.14'
make: *** [all] Error 2
[fluxbox-0.1.14]#
how can i fix this?
when i did the configure i added --enable-kde to the end of it. should i leave that out"?
n file included from XftFontImp.hh:28,
from Font.cc:34:
/usr/include/X11/Xft/Xft.h:35:31: freetype/freetype.h: No such file or directory
/usr/include/X11/Xft/Xft.h:36:35: fontconfig/fontconfig.h: No such file or directory
In file included from /usr/include/X11/Xft/Xft.h:43,
from XftFontImp.hh:28,
from Font.cc:34:
Apparently you didn't get the beginning of
the block of error messages ... but
Quote:
freetype/freetype.h: No such file or directory
gives a fair indication of the problem you
are facing :)
Try a "locate freetype.h" and see what it spits
out...
I've been trying to get this to work for a while, and found a solution this morning. I've tested it on gentoo and slackware, and all seems fine.
The problem is that fluxbox is looking for the freetype libs in /usr/include/freetype and freetype2 puts them in /usr/include/freetype2/freetype. Just make a symlink to to the libs:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.