User forums > Help
Installing the dependencies for codeblocks on CentOS 5 (Redhat based)
Krisando:
Hey guys, I've followed a few guides for installing codeblocks on CentOS.. none of which have worked.
-They usually either tell you to install something, you go do it and it requires another dependency. >_>
-Tell you to install something, you do it, and the files it requires are not in the location where needed.. if created at all. <_<
-Random complaints why it can't compile.
I've spent over 24 hours on this problem now, and have gotten nowhere.. And wasted a couple of gb of my download usage downloading various things and researching how to do this. (Including downloading the inferior Centos to Debian)
--
For instance this guide: http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux
In step one I cannot install wxWidgits because it relies on some dependencies. I have also downloaded the source to it, and I cannot seem to compile that either. No freaking idea how I'm meant to install this if not even the RPM's can work the magic.
I cannot compile and install wxGTK because it is dependent on wxWidgits.
All Linux ever wants to do is error and complain why it cannot do something.. I am extremely sick and tired of tediously wasting my time on this, spending entire nights, just getting nowhere. Any help would be appreciated.
If it's even possible to compile and send me a working codeblocks package, I would be extremely greatful. Or even help me get this working.
oBFusCATed:
Have you tried this command yum list -v | grep -i wx ?
What is its output? Mine is:
--- Code: ---wxBase.x86_64 2.8.9-1.fc8 installed
wxGTK.x86_64 2.8.9-1.fc8 installed
wxGTK-devel.x86_64 2.8.9-1.fc8 installed
wxGTK-gl.x86_64 2.8.9-1.fc8 installed
--- End code ---
I don't remember how I've installed it but it was something like: "yum install wxGTK wxGTK-devel".
As far as I can see centos don't have packages for wxWidgets. So you have two solutions:
1. Find another repo with centos support:
read this: http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
and this: http://wiki.centos.org/AdditionalResources/Repositories
here are your packages: http://packages.sw.be/wxGTK/
2. Build wxGTK from source...
Edit: here is another repo for centos packages: http://rpm.pbone.net/ -> goto search -> advanced and voila, there is codeblocks + wxGTK
You have to add this repo and remove others and you'll be able to install cb with one command: yum install codeblocks (probably)
Krisando:
Wow I had no idea such amazing repositories existed! :shock:
I can't seem to find any repositories for CentOS "Codeblocks", would you happen to know a compatible distribution?
oBFusCATed:
Look at the title of topic you've started :)
As far as I know centos is following redhat enterprise linux....
Krisando:
Oh didn't realize it was Redhat Enterprise and not just Redhat, didn't know they stopped.
yum install codeblocks - does not seem to want to install any packages.
I added the pbone for RH EL5, codeblocks does not ring it any bells. A google search on the website gave me:
codeblocks-contrib-10.05-1.el5.i386.rpm
codeblocks-10.05-1.el5.i386.rpm
But their riddled with dependencies. =\
--
Out of some freak accident (luck?) the repository seemed to have made "wxGTK-2.8.11-1.el5.i386.rpm" install. So hopefully now I just have to compile codeblocks? =\
Navigation
[0] Message Index
[#] Next page
Go to full version