Author Topic: Codeblocks from svn fails to compile, if it uses --disable-pch configure option.  (Read 6096 times)

Offline keenblade

  • Multiple posting newcomer
  • *
  • Posts: 36
  • tao
    • 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]
« Last Edit: December 05, 2009, 11:59:14 pm by keenblade »
Anyway it\'s all the same at the end...

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Should be fixed in trunk (svn r5954).

Thanks Tim

Offline keenblade

  • Multiple posting newcomer
  • *
  • Posts: 36
  • tao
    • 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.
Anyway it\'s all the same at the end...