Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Codeblocks from svn fails to compile, if it uses --disable-pch configure option.

(1/1)

keenblade:
I know there is no --disable-pch option. Only --enable-pch exist. But for gentoo we use something called "useflags" that enables or disables configure options. In this case the useflag is pch.

If pch useflag is set it provides --enable-pch which works. Btw, if use flag is not set or is set unset, then it provides --disableable-pch which leads to compile failure.
In fact I am trying to get the Code::Blocks live svn ebuild in sunrise overlay. Actually with some hacks the ebuild works, but for for inclusion in sunrise a cleaner approach would be nice. After maintaining it for 2 years at gentoo forums Code::Blocks live svn ebuild - Part 2, Sunrise will be great for gentoo C::B users.
Build log attached.
Some info: codeblocks-svn rev:5953.
gcc-4.4.2, glibc-2.11-r1, 2.6.32-zen0 x86_64
NOT: For an unknow reason most of the time I can't reach the home site and forum pages of C::B directly. I am using ktunnel. Hope it does not break the post. Unfortunately my isp could not solve this issue for me.

[attachment deleted by admin]

stahta01:
Try applying my patch

http://forums.codeblocks.org/index.php/topic,11504.msg79035.html#msg79035

Tim S.

Jenna:
Should be fixed in trunk (svn r5954).

Thanks Tim

keenblade:
Also this option fails, too, if used being negative "--with-contrib-plugins=all"
It becomes "--without-contrib-plugins=all" and configure phase fails.
Thanks.

Navigation

[0] Message Index

Go to full version