Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Bug Killer on February 02, 2023, 12:23:53 pm

Title: Successfull build and run on AlmaLinux 9
Post by: Bug Killer on February 02, 2023, 12:23:53 pm
I successfully build C::B nightly build 13186 on AlmaLinux 8.7/Gnome 3.32.2 with wxWidgets 3.2.1. It doesn't run fine with default Wayland graphics engine.

Fix : click on parameters icon on login screen and select X11 engine.

Not fixed : right click doesn't work.
Title: Re: Successfull build and run on AlmaLinux 9
Post by: Bug Killer on October 01, 2023, 03:51:15 pm
Successful build and run of svn 13368 on AlmaLinux 9.2/Gnome 40.4.0 with wxWidgets 3.2.2.1.

Using Wayland graphics engine may cause black wxSmith windows. Window must be closed and reopened.

X11 graphics engine is OK.

Until then everything works fine.

How to build :

Prerequisites :

- Remove current wxWidgets libraries to avoid conflicts during build.
- Download source RPM of gamin from https://repo.almalinux.org/vault/8/BaseOS/Source/Packages/gamin-0.1.10-32.el8.src.rpm
$ rpmbuild --rebuild  path_to/gamin-0.1.10-32.el8.src.rpm
$ sudo dnf localinstall gamin-0.1.10-32.el9.x86_64.rpm gamin-devel-0.1.10-32.el9.x86_64.rpm
$ sudo dnf install wxGTK3-devel libtool hunspell-devel boost-devel

- Download Code::Blocks source code from SVN
- Go to trunk folder
$ ./bootstrap
$ ./configure --with-contrib-plugins=all
$ make
$ sudo make install

- Install wxWidgets
Title: Re: Successfull build and run on AlmaLinux 9
Post by: Bug Killer on October 02, 2023, 11:12:22 am
Successful build and run of svn 13368 on AlmaLinux 8.8/Gnome 3.32.2 with wxWidgets 3.2.2.1.

Prerequisites :

- Remove current wxWidgets libraries to avoid conflicts during build.
$ sudo dnf install wxGTK3-devel libtool hunspell-devel boost-devel gamin-devel

- Download Code::Blocks source code from SVN
- Go to trunk folder
$ ./bootstrap
$ ./configure --with-contrib-plugins=all
$ make
$ sudo make install

- Install wxWidgets
Title: Re: Successfull build and run on AlmaLinux 9
Post by: Bug Killer on October 02, 2023, 06:48:05 pm
Fix to avoid some incompatibilities with wxWidgets-3.2.2.1 on AlmaLinux 9 :

Install wxGTK-devel (v. 3.2.2.1) instead of wxGTK3-devel (v. 3.0.5)