Jump to content

Why won´t anything compile?!?!?!


SoulSe
 Share

Recommended Posts

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 :evil:

Link to comment
Share on other sites

Guest GorGor

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?

Link to comment
Share on other sites

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 .

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...