Author Topic: Linux C::B Nightly build installation  (Read 4380 times)

Offline Taras

  • Single posting newcomer
  • *
  • Posts: 3
Linux C::B Nightly build installation
« on: August 02, 2023, 06:26:19 pm »
I wanted to install the nightly build on Ubuntu 22.04 following the instructions by Xaviou (https://wxstuff.xaviou.fr/article/debian-repository.html).
I uninstalled/purged the official codeblocks app. But when I try to install the nightly build from the command line (sudo apt install codeblocks) I receive bunch of errors. I presume I had missed installing some dependencies. But I can't get no clue how to resolve them.

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 codeblocks : Depends: libcodeblocks0 (= 20.03svn13320) but it is not going to be installed
              Depends: libwxbase3.2-1 (>= 3.2.2+dfsg) but it is not installable
              Depends: libwxgtk3.2-1 (>= 3.2.1+dfsg-2) but it is not installable
E: Unable to correct problems, you have held broken packages.


Offline cacb

  • Lives here!
  • ****
  • Posts: 539
Re: Linux C::B Nightly build installation
« Reply #1 on: August 02, 2023, 06:43:57 pm »
Under Kubuntu 22.04, I use this script to build the latest version of Code::Blocks
https://github.com/arnholm/cpde_3rdparty/blob/master/gcc/codeblocks/build_cb.sh

With a couple of minor path edits it might work for you.

Offline sodev

  • Lives here!
  • ****
  • Posts: 500
Re: Linux C::B Nightly build installation
« Reply #2 on: August 02, 2023, 06:53:39 pm »
That codeblocks package depends on libwxgtk3.2-1, this is only available since Ubuntu 23.04.

Offline Taras

  • Single posting newcomer
  • *
  • Posts: 3
Re: Linux C::B Nightly build installation
« Reply #3 on: August 03, 2023, 11:41:15 am »
Under Kubuntu 22.04, I use this script to build the latest version of Code::Blocks
https://github.com/arnholm/cpde_3rdparty/blob/master/gcc/codeblocks/build_cb.sh

With a couple of minor path edits it might work for you.

Cacb, just specified the path to my local wxconfig 3.2.2 an  the script builded  the latest codeblocks with Version: svn-r13320,  SDK Version : 2.24.0.  Works like a charm
 

Offline cacb

  • Lives here!
  • ****
  • Posts: 539
Re: Linux C::B Nightly build installation
« Reply #4 on: August 03, 2023, 11:57:15 am »
Cacb, just specified the path to my local wxconfig 3.2.2 an  the script builded  the latest codeblocks with Version: svn-r13320,  SDK Version : 2.24.0.  Works like a charm
Great!

Offline Taras

  • Single posting newcomer
  • *
  • Posts: 3
Re: Linux C::B Nightly build installation
« Reply #5 on: August 04, 2023, 06:01:09 pm »
I installed nightly build version of Codeblocks 20.03svn13321 on Ubuntu 23.04.  I am not able to launch the package
The console outputs the error message

 codeblocks: symbol lookup error: /lib/libcodeblocks.so.0: undefined symbol: _ZTI10wxListBase, version WXU_3.2