User forums > Help
I can't run Codeblocks
fabi545:
where can i downgrade libwxbase?
in the Software management I can't find it :?
Sowaco:
I also have had problems to install Codeblocks on Ubuntu (Karmic).
I have tried to use Jens packets without success. So I switched to "http://lgp203.free.fr/ubuntu/".
Here are my the steps to fix all the problems:
Remove all 'old' packages:
--- Code: ---sudo apt-get remove build-essential gdb
sudo apt-get remove libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx2.8-doc
sudo apt-get remove libwxgtk2.6-0 libwxgtk2.6-dev wx2.6-headers wx2.6-doc
sudo apt-get remove wx-common
sudo apt-get autoremove
--- End code ---
Use synaptic, search for wx* lib's and remove them.
--- Code: ---sudo synaptic
--- End code ---
Insert the "lgp203.free.fr" - Repository into sources.list.
Start an editor:
--- Code: ---sudo nano /etc/apt/sources.list
--- End code ---
Insert following lines, save and exit.
--- Code: ---##CodeBlocks
deb http://lgp203.free.fr/ubuntu karmic universe
deb-src http://lgp203.free.fr/ubuntu karmic universe
deb http://lgp203.free.fr/ubuntu karmic unstable
deb-src http://lgp203.free.fr/ubuntu karmic unstable
--- End code ---
Update list.
--- Code: ---sudo apt-get update
--- End code ---
Import key for the repository.
--- Code: ---wget -q http://lgp203.free.fr/public.key -O- | sudo apt-key add -
--- End code ---
Again some cleanups.
--- Code: ---sudo apt-get autoremove
--- End code ---
Install everything.
--- Code: ---sudo apt-get install build-essential
sudo apt-get install gdb
sudo apt-get install libcodeblocks0 codeblocks libwxsmithlib0 codeblocks-contrib
sudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx-common
--- End code ---
Now, Codeblocks should start.
--- Code: ---codeblocks
--- End code ---
After these steps, everything works fine....
Regards
Andreas
fabi545:
But I have OpenSUSE so I can't use apt-get :(
froff:
fabi545
start synaptic, select package and press Ctrl+E or select "Force version" from main menu.
You have to be connected to wxwidgets repository first to see their version in synaptic.
Select it and apply changes. Synaptic will show information, that packae will be downgraded.
Uh... suse.
Probably you don't have synaptic :)
See documentation how to force package version in suse.
Jenna:
Does synaptic exist for OpenSUSE ?
I don't think so.
--- Quote from: jens on November 18, 2009, 11:13:10 am ---openSuse 11.2 always runs without errors with C::B from this repo: http://download.opensuse.org/repositories/devel:/tools:/ide/openSUSE_11.2/ .
All system software updated (C::B version is 5919).
--- End quote ---
Does this not work ?
Search for wxGTK and and probably wxGTK-devel, I don't know the exact names at the moment.
Maybe I find the time later (this evening ?) to start my virtual OpenSUSE machine, to look how the packages are called exactly, and which versions I have installed.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version