Code::Blocks Forums

User forums => Help => Topic started by: Morphius Faydal on October 20, 2007, 11:37:37 am

Title: Lots of missing files on my system.. what'd I configure wrong?
Post by: Morphius Faydal on October 20, 2007, 11:37:37 am
I'm trying to build Code::Blocks on my Gentoo install, and I get a LOT of errors when I try and compile.  I've attached a .txt of the complete 'make' output.

Gentoo Linux, wxGTK 2.8.4, Code::Blocks SVN 4546, amd64

[attachment deleted by admin]
Title: Re: Lots of missing files on my system.. what'd I configure wrong?
Post by: alchemist on October 20, 2007, 11:59:33 am
Hello,

Why don't you use the ebuild in the gentoo forum : link (http://forums.gentoo.org/viewtopic-t-588089-highlight-.html) ?
It works without any problem  8)
Title: Re: Lots of missing files on my system.. what'd I configure wrong?
Post by: Morphius Faydal on October 20, 2007, 12:06:29 pm
Hello,

Why don't you use the ebuild in the gentoo forum : link (http://forums.gentoo.org/viewtopic-t-588089-highlight-.html) ?
It works without any problem  8)

I probably should.  Dunno why I don't...  It's just after 5am, my computer science lab is p***ing me off, and I'm hungry and poor.  And my mouth tastes horrible. :(
Title: Re: Lots of missing files on my system.. what'd I configure wrong?
Post by: Jenna on October 20, 2007, 12:53:55 pm
It looks like you don't have the wxWidgets header files.
You have to install the wxWidgets development packages.
I don't know where to find them for gentoo.
Did you run "./bootstrap", "./configure --with-contrib-plugins=all".
I think the configure-script might show an error if some files are missing.
Look also if "wx-config -cppflags" points to the correct include-directory .
Title: Re: Lots of missing files on my system.. what'd I configure wrong?
Post by: alchemist on October 20, 2007, 02:05:22 pm
yes, but for gentoo, there are "ebuilds" to compile wxGTK and code::blocks ;)

Faydal has maybe not correctly configured wxTGTK, and in gentoo, the good way is to work with ebuilds
Title: Re: Lots of missing files on my system.. what'd I configure wrong?
Post by: Morphius Faydal on October 20, 2007, 08:30:29 pm
I used the ebuild from the Code::Blocks .tar.gz on the forums.

I did './bootstrap', then './configure --enable-contrib' before 'make'

'wx-config --cppflags' showed the right include dirs, but it seemed that several of the libs were missing.  So right now I'm recompiling with USE="X"... Let's see what happens. -_-
Title: Re: Lots of missing files on my system.. what'd I configure wrong?
Post by: Morphius Faydal on October 20, 2007, 09:41:18 pm
Okay, recompiling wxGTK with USE="X" fixed it. :)
Title: Re: Lots of missing files on my system.. what'd I configure wrong?
Post by: alchemist on October 21, 2007, 03:51:36 pm
yeah, not a good idea to compile wxGTK without X support ;)
Title: Re: Lots of missing files on my system.. what'd I configure wrong?
Post by: Morphius Faydal on October 21, 2007, 11:12:54 pm
Of course... It makes me wonder... What's the point?  If wxGTK is an x-lib, shouldn't X support be required?
Title: Re: Lots of missing files on my system.. what'd I configure wrong?
Post by: Ceniza on October 22, 2007, 12:38:01 am
Not necessarily. wxWidgets has some "core functionalities" (classes, functions, ...) that don't require a GUI to work.
Title: Re: Lots of missing files on my system.. what'd I configure wrong?
Post by: alchemist on October 22, 2007, 10:35:29 am
yes, but without X11 support, you wouldn't compile and run C::B ;)