SoulSe Posted March 30, 2003 Report Share Posted March 30, 2003 Nothing wants to compile! Myself and a friend just installed MDK 9.1 (love it) and then started installing packages. I could never compile anything with 9.0 either... My friend installed idesk from tarball and it compiled with no problem, but mine gives errors: # make g++ -g -O2 -c Desk.cc -o Desk.o In file included from Desk.h:9, from Desk.cc:1: /usr/include/X11/Xft/Xft.h:35:31: freetype/freetype.h: No such file or directory In file included from Desk.h:9, from Desk.cc:1: /usr/include/X11/Xft/Xft.h:52: syntax error before `;' token /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:190: parse error before `*' token /usr/include/X11/Xft/Xft.h:295: parse error before `*' token /usr/include/X11/Xft/Xft.h:354: parse error before `*' token /usr/include/X11/Xft/Xft.h:393: parse error before `*' token /usr/include/X11/Xft/Xft.h:399: parse error before `*' token /usr/include/X11/Xft/Xft.h:408: type specifier omitted for parameter `FT_UInt' /usr/include/X11/Xft/Xft.h:408: parse error before `,' token /usr/include/X11/Xft/Xft.h:418: parse error before `*' token /usr/include/X11/Xft/Xft.h:461: parse error before `*' token make: *** [Desk.o] Error 1 idesk does not have a ./configure - besides, my friend installed everything using the same commands and libs as me! He had no problems what-so-ever. Check it: $ rpm -qa | grep gcc gcc-cpp-3.2.2-3mdk libgcc1-3.2.2-3mdk gcc-3.2.2-3mdk gcc-c++-3.2.2-3mdk This is getting really, really frustrating Quote Link to comment Share on other sites More sharing options...
fuzzylizard Posted March 30, 2003 Report Share Posted March 30, 2003 From the error message you are missing the freetype header files. Have you installed the freetype devel package? Might be a place to start. I don't think the problem is with gcc of g++. Quote Link to comment Share on other sites More sharing options...
SoulSe Posted March 30, 2003 Author Report Share Posted March 30, 2003 I installed the freetype headers (devel pakage) from texstar and tried again - errors are exactly the same. I really can´t figure this one out... Quote Link to comment Share on other sites More sharing options...
Guest GorGor Posted March 31, 2003 Report Share Posted March 31, 2003 SoulSe Have not tried 9.1 yet as I don't have a burner. Don't know enough to offer resolution but I found a glitch with 9.0 in missing a libncurses-development file from cd 3 which meant I could not compile a new kernel. Does this info help? Quote Link to comment Share on other sites More sharing options...
Guest ndeb Posted March 31, 2003 Report Share Posted March 31, 2003 You need to install the freetype1 headers. Make sure u have installed freetype-devel. Texstar has freetype2-devel. I just confirmed that freetype-devel rpm has /usr/include/freetype/freetype.h . Quote Link to comment Share on other sites More sharing options...
SoulSe Posted March 31, 2003 Author Report Share Posted March 31, 2003 Don't know enough to offer resolution but I found a glitch with 9.0 in missing a libncurses-development file from cd 3 which meant I could not compile a new kernel. Nope, no problems with libncurses. You need to install the freetype1 headers. Make sure u have installed freetype-devel. Texstar has freetype2-devel. I just confirmed that freetype-devel rpm has /usr/include/freetype/freetype.h . I have all those packages installed. I also checked for that freetype.h file, which is present. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.