User forums > Help
Installing Code::Blocks on openSUSE Leap 42.1
ujbej:
Hello,
I downloaded codeblocks-16.01.suse_Leap_42.1.x86_64.tar.xz and extracted it. It has lots of rpm files. Then I typed rpm -ivh *.rpm. It gave me error. I can't post it here because of 20000 characters limit. It is attached.
Any help is appreciated.
oBFusCATed:
You need to install wxgtk 2.8 packages. Probably they are provided by the SUSE project. If they are not these rpms are useless.
ujbej:
Thank you. I downloaded the source code. And I follow the instructions (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux#Code::Blocks_installation) to install it. First it says I must have wxWidgets. So I downloaded and installed it. But here I'm confused:
--- Quote ---Library wxGTK installation
Checking the presence of libwxGTK library
In your package manager, look for 'libwxgtk' keyword and verify that all libwxgtk2.8 stuffs are installed. If you find the libraries uninstalled, just install them and go directly to Code::Blocks installation.
Alternatively you can do the same in the command line (the following is an example, there may be more than two packages):
--- Code: ---$ ls /usr/lib/libwx_gtk* //to verify the presence
$ sudo apt-get install libwxgtk2.8-dev
$ sudo apt-get install libwxgtk2.8-0
--- End code ---
--- End quote ---
I can't find libwxgtk. I tried the first line above. Then it gave me this:
--- Code: ---ls: cannot access /usr/lib/libwx_gtk*: No such file or directory
--- End code ---
But I'm sure I installed wxWidgets. Because I followed the instructions of https://wiki.wxwidgets.org/Compiling_and_getting_started. And I checked it via typing wx-config --version. It gave me 3.0.2.
Best regards.
stahta01:
--- Quote from: ujbej on March 06, 2017, 11:59:11 am ---Thank you. I downloaded the source code. And I follow the instructions (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux#Code::Blocks_installation) to install it. First it says I must have wxWidgets. So I downloaded and installed it. But here I'm confused:
--- Quote ---Library wxGTK installation
Checking the presence of libwxGTK library
In your package manager, look for 'libwxgtk' keyword and verify that all libwxgtk2.8 stuffs are installed. If you find the libraries uninstalled, just install them and go directly to Code::Blocks installation.
Alternatively you can do the same in the command line (the following is an example, there may be more than two packages):
--- Code: ---$ ls /usr/lib/libwx_gtk* //to verify the presence
$ sudo apt-get install libwxgtk2.8-dev
$ sudo apt-get install libwxgtk2.8-0
--- End code ---
--- End quote ---
I can't find libwxgtk. I tried the first line above. Then it gave me this:
--- Code: ---ls: cannot access /usr/lib/libwx_gtk*: No such file or directory
--- End code ---
But I'm sure I installed wxWidgets. Because I followed the instructions of https://wiki.wxwidgets.org/Compiling_and_getting_started. And I checked it via typing wx-config --version. It gave me 3.0.2.
Best regards.
--- End quote ---
Decide what you are trying to do!!!
Build Code::Blocks yourself?
Or install precompiled Code::Blocks from where-ever you found the RPMs?
Tim S.
ujbej:
openSUSE RPM's are not working properly. So I decided to build by source code.
Navigation
[0] Message Index
[#] Next page
Go to full version