User forums > Help
I can't run Codeblocks
Jenna:
First question:
Did you try pasgui's packages ?
http://forums.codeblocks.org/index.php/topic,11504.msg78403.html#msg78403
--- Quote from: froff on December 22, 2009, 08:55:11 am ---I think It's good idea to deeply investigate this problem. Ubuntu is one of the major distros and I can see a lot of people have the same problem.
--- End quote ---
It's up to ubuntu to fix this in my opinion.
They supply a version of wxWidgets-libs, that is not compatible to the one supplied by the wxWidgets-guys themselves.
Debian has an own version of wxWidgets 2.8.10 in their (unstable) repos and that works with C::B compiled and linked with/against wxWidgets from apt.wxwidgets.org, so there must be a difference between both versions.
If I remember right I read something about this issue on the Ubuntu bug-tracker or in a mailing list (the first version they supplied had the same error as far as I know).
If you compile from svn, make sure you have only one version of wxWidgets 2.8.10 on your system, either remove everything coming from apt.wxwidgets.org or all the ubuntu-packages (in this case you have to force the use of the apt.wxwidgets.org packages), make sure, wx-config points to the correct install (wx-config --list), run make clean before running ./configure ..., make sure (of course) there aren't any parts of C::B left in system, except the conf-files in ~/.codeblocks, they should not harm (at least not in this way).
If you install C::B to another prefix than /usr, you might need to run ldconfig after installation, see here fore details: http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29#Resolving_issues .
And of coures: my C::B packages are compiled on and for debian, they used to work on ubuntu too, unless the ubuntu maintainers break the compatibility of wxWidgets.
If I get a faster internet-connection at home (just ISDN at the moment, it should come at the beginning of september, but they did not say which year :( ), I probably will supply special packages for all debian flavours, and probably also for ubuntu, or at least for the broken distros (but this depends of the spare time I have).
kurtis99:
I think I found solution for my problem (maybe it will help to somebody).
There was 3 versions of libwxbase2.8-0 package installed on my system, and "active" was version from ubuntu (2.8.10.1-0ubuntu1 (karmic)), so then i found this package in synaptic, pressed Ctrl+E and choose version from jens repository (2.8.10.1-0 (lenny-wx)).
froff:
BINGO kurtis99 :)
Now 5911 works perfectly;
Next I'm going to try latest from svn.
Thank's a lot!
fabi545:
I have the same Problem :(
But all thees tips doesn't help me :(
Have you got any other ideas?
//Sorry for my bad English
froff:
What version are you trying to run?
You should downgrade libwxbase _after_ c::b installation. Probably when installing c::b it turns it back to most recent version from ubuntu repository (I'm not sure).
Try to _complete_ uninstall existing c::b and install 5911 from jens repo (recommended - old official 8.02 has some annoying bugs).
Next downgrade libwxbase to version from wxwidgets repository.
good luck!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version