I am inexperienced at programming. I specialize in scripting and webdev mostly, but once my system is configured to compile bitcoin svn, I will tinker a bit with the code and learn how to modify it to not require wxwidgets, etc. It will be great opportunity for me to learn a bit about programming.
<necrodearia> I am trying to install bitcoin svn on a gentoo linux system. It requires wxGTK-2.9. I have it installed. When trying to compile the ebuild I wrote
http://forums.gentoo.org/viewtopic-p-6348826.html#6348826 I receive errors from /usr/include/wx-2.9/wx/chkconf.h. I read the comments at the top of the file, but I do not understand them.
<necrodearia>
http://pastebin.com/LTL4MNKU<necrodearia> /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT *
<Auria> how did you install wx 2.9?
<Auria> looks like a bad install or various mixed up installations
<necrodearia> /usr/lib64/wx/include/gtk2-unicode-2.9/wx/setup.h exists
<necrodearia> Auria, I used
http://bugs.gentoo.org/show_bug.cgi?id=298387 to install wxGTK-2.9
<Auria> do you have many wx installs? maybe it pickes the wrong one
<Auria> Ok, don't know gentoo ebuilds much
<Auria> also, can you post the exact errors you get
<necrodearia> Ah, that could be true. I do have multiple wx installs
<Auria> do you use wx-config? (or does the project use wx-config) wx-config is generally smart at separating separate installaitons properly but you're not helping it by having them in the first place
<Auria> Often people here will recommend to build wx from source but not install it to /usr/* but just keep it local, avoiding all possible conflicts
<necrodearia> I haven't used wx-config. I'll check it out.
<Auria> I suppose the project you're building uses it in its build system
<Auria> If not, then it should
<necrodearia> Auria:
http://pastebin.com/eyRjiK24<Auria> you're on OS X?
<Auria> these are from the OS X makefile
<Auria> no gentoo ^^
<Auria> if it's using autotools/CMake maybe it's just importing the wx definition files, and these files mention wx-config
<Auria> anyway, it *probably* uses wx-confog
<necrodearia> I'm using gentoo linux
<Auria> Can you build a mnimal wx sample yourself?
<Auria> If we can move away from that big project it may get easier
<necrodearia> hmm
<necrodearia> The source code contains makefile.mingw, makefile.osx, makefile.unix and makefile.vc. But it appears only the osx makefile uses wx-config
<necrodearia> s/source code/package/
<Auria> humm, wonder what makefile.unix does then
<Auria> hope it doesn't hardcode build flags
<necrodearia> makefile.unix:
http://pastebin.com/HFpFAZmY<Auria> arg, they hardcode build flags xD
<Auria> very bad idea they had here.
<necrodearia> mm, well, good to know. I can report it to devteam and maybe they can fix it.
<Auria> yes, they really should use wx-config
<Auria> otherwise only people with exactly the same wxWidgets configuration as them will be able to build the app