The Codeblocks-25.03 and r13749 failed to configure with system boost-1.89.0 due to it have no boost_system
library and can't be linked it anymore [1].
When trying to configure to build codeblocks with contrib-plugins=all
(i.e. with NassiShneiderman
plugin enabled) then the checking of boost_system library is done within m4/ax_boost_system.m4
and as boost_system
is absent in boost-1.89.0 the configuration error appears:
...
checking for boostlib >= (102000)... yes
checking whether the Boost::System library is available... yes
configure: error: Could not find a version of the library!
(see e.g. Gentoo issue [2] attached file "dev-util:codeblocks-25.03-r1:20251014-135640.log")
The configuration string that was used (e.g. for Gentoo dev-util/codeblocks-9999.ebuild
, i.e. for codeblocks r13749
at the moment of issue report):
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/codeblocks-9999 --htmldir=/usr/share/doc/codeblocks-9999/html --with-sysroot=/ --libdir=/usr/lib64 --disable-pch --disable-static --disable-debug --with-boost-libdir=/usr/lib64 --with-contrib-plugins=all
[1] https://github.com/boostorg/system/commit/7a495bb46d7ccd808e4be2a6589260839b0fd3a3
[2] https://bugs.gentoo.org/964320
Apart from everything else is NassiShneiderman plugin required to be linked against boost and especially against boost_system library? Does it require headers only?
The
boost_system
was added in https://sourceforge.net/p/codeblocks/code/11186/ and https://sourceforge.net/p/codeblocks/code/11227/ to fix Gentoo build against boost-1.65 and some later.Last edit: band-a-prend 6 days ago
Looks like boost_syetem is now integrated in C++11, it should not be difficult getting rid of it in the plugin.
Last edit: Miguel Gimenez 5 days ago
I see in NassiShneiderman plugin sources the boost mention only in
CParcer.cpp
and in
parserules.h
And it seems that boost::spirit is header only library.
Boost_system library removed from the Linux projects in [r13751].
Autotools part will come later (help with autotools is welcome).
Related
Commit: [r13751]
Autotools should be fixed in [r13752], can you check it?
Thank you.
Related
Commit: [r13752]
Thanks! At
r13752
Codeblocks with NassiShneiderman plugin is successsfully compiled with boost-1.89. 0.Maybe an additional NassiShneiderman autotools cleanup will be useful (see attached patch). Please note that
m4/ax_boost_system.m4
is removed here too!Last edit: band-a-prend 23 hours ago
This line may be required by boost:spirit
I will delete the other stuff if nobody complaints in a reasonable time frame.