Hi Dear Code::Blocks Team,
Will be there a Code::Blocks 20.03 binary release for CentOS 8?
I was thinking about building it by following the build instructions but I didn't find build instructions specifically for this build as it seems to be quite different and using wxGTK3.
It seems El8 (Enterprise Linux 8 / CentOS 8 ) had already built. wxGTK3.
I don't know though if the build procedure and dependencies for 20.03 are too much different from the previous instructions as it seems to be a big update.
Best regards,
Camilo
If you mean official CentOS ask the CentOS folks.
Tim S.
Hi Tim,
I ask that, because there seems to be there a "tradition" to offer the CentOS builds in the readily available binary packages at Code::Blocks site.
I modified a bit the original post, because I think I could post some more possibly relevant information.
Best regards,
Camilo
Is the wxGTK3 built using gtk2 or gtk3?
If gtk2, that is normal wxGTK3 for Code::Blocks, and it should work without any problems.
if gtk3, that is not normal, and it will at least look different.
If you want a CB user built version look for links in the Nightly builds for people who do that.
Tim S.
I am gonna try to start build it...
Quote from: stahta01 on April 12, 2020, 10:04:55 PM
Is the wxGTK3 built using gtk2 or gtk3?
There are multiple versions... both gtk2 and gtk3 are available. Default is gtk3.
Quote from: stahta01 on April 12, 2020, 10:04:55 PM
If gtk2, that is normal wxGTK3 for Code::Blocks, and it should work without any problems.
This is what I thought, too... but this isn't the case..
@camilocc: I don't want to provide wxgtk3 + gtk3 builds, because I know they are pretty broken. I've tried to prepare wxgtk3 + gtk2 builds but they didn't work in my vm, no idea why. If you want to prepare packages you can get the source code archive and do rpmbuild -ta <path-to-source-code-archive>. Install all the deps adjust the spec file and after some iterations you'll have a set of rpm. Then you can come back and leave some feedback how have it worked. :)
Hi oBFusCATed,
You wrote:
Quoteyou can get the source code archive and do rpmbuild
I run this rpmbuild -ta on the .tar.xz file?
Sorry, for my ignorance.
This seems to be quite a shortcut for the build process.
Or is it another special archive?
If so, would post a link or tell which "source code archive" I should use as argument for rpmbuild -ta ?
Best regards,
Camilo
One of these two should work http://codeblocks.org/downloads/25 (I'll use the .tar.bz)
Hi obfuscated,
I get these dependencies I cannot solve...
wxGTK >= 2.8.0 is needed by codeblocks-20.03-1.el8.x86_64
wxGTK-devel >= 2.8.0 is needed by codeblocks-20.03-1.el8.x86_64
Do you have any hint?
Best regards,
Camilo
rpmbuild -ta command has created a codeblocks.spec file in your SPEC folder.
Inspect and edit it to match the packages you have available and you can use.
If you use a non-default wxgtk you'll have to pass a --with-wxconfig option to our configure script.
pkgs.org is a great resource for finding packages.
Hi obfuscated,
I am not familiar with rpmbuild.
If I edit codeblocks.spec at SPECS folder, what step/command I should run next.
I try to edit it but it seems to become overridden by the command rpmbuild -ta *.src.rpm.
Can you help me with this, please? Which command or commands I should run next after editing codeblocks.spec?
And if I were to edit --with-wxconfig what I should put next to it? Do you have any resource or hint about it?
Best regards,
Camilo
I realize that the command...
rpmbuild -bs codeblocks.spec
... seems to update the *.src.rpm file.
... it is building....
(I hope I don't find errors I don't know how to fix... or maybe I post the error message for the specialists on board!!) :) ;D 8)
It created the package!!
And I could install it at the CentOS 8.1 box I used to build it!!
Gonna test drive at other machine (with existing source I usually compiled with CodeBlock 17.12.)
Thank you very much for the help.
The only changes I made to the codeblocks.spec file were:
wxGTK -> wxGTK3
wxGTK-devel -> wxGTK3-devel
Best regards,
Camilo