User forums > Using Code::Blocks
CB and ubuntu
thomas:
Try updating to the newest revision, it is ugly, but it should work now.
bluekid:
where can i get corrected revision or how can i correct my deb packages ?
thomas:
If you want to stick with the .deb package, you have to wait until Michael made a new one (usually happens nearly every day).
Otherwise, you can of course simply checkout from svn and build your own, it is not hard.
Something like this should do just nicely:
sudo apt-get install libwxgtk2.6-0 libwxgtk2.6-dev wx2.6-headers wx-common
mkdir cb && cd cb
svn checkout svn://svn.berlios.de/codeblocks/trunk
cd src
./bootstrap && ./configure && make && sudo make install
It might be that you need to install gcc or automake, too, if those are not on your system (but normally they should be).
Michael:
--- Quote from: thomas on April 24, 2006, 03:54:42 pm ---If you want to stick with the .deb package, you have to wait until Michael made a new one (usually happens nearly every day).
--- End quote ---
I will build a new one today around 20:00, depending on the commits :). So it should be ready around 22:00-22:30.
--- Quote from: thomas on April 24, 2006, 03:54:42 pm ---Otherwise, you can of course simply checkout from svn and build your own, it is not hard.
--- End quote ---
I fully agree :).
--- Quote from: thomas on April 24, 2006, 03:54:42 pm ---Something like this should do just nicely:
sudo apt-get install libwxgtk2.6-0 libwxgtk2.6-dev wx2.6-headers wx-common
mkdir cb && cd cb
svn checkout svn://svn.berlios.de/codeblocks/trunk
cd src
./bootstrap && ./configure && make && sudo make install
--- End quote ---
An alternative would be to check out the SVN sources and then build them with C::B directly (do not forget to run ./update). This is how I do for my C::B builds.
--- Quote from: thomas on April 24, 2006, 03:54:42 pm ---It might be that you need to install gcc or automake, too, if those are not on your system (but normally they should be).
--- End quote ---
It seems (for what I have read in some Linux forums) that Ubuntu does not come with gcc installed by default :?. Therefore you should install the package build-essential with e.g., Synaptic (or sudo apt-get install build-essential).
Best wishes,
Michael
bluekid:
there is no internet connection in my ubuntu installed computer :( so i must be wait for deb packages
thanks
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version