Code: Select all
econf --with-wx-config=wx-config-2.6 --enable-dependency-tracking \
--enable-contrib \
$(use_enable debug) || die "Died in action: econf ..."It's a known problem, new project wizard is broken on some linux systems (i suspect glibc-2.4 and/or gcc-4.1).immudium wrote:Holy crap, thank you! I just barely tried to update my codeblocks build just last night for the first in in a few weeks since I some sort of recent update, maybe the wx library, seemed to have made codeblocks weak in the knees. So I was quite disappointed to get a mocking compile error back which made my fingers tremble and sweat in fear at having to tackle this one, so you've doubtless saved me quite a bit a grief. Codeblocks now tells me that "Something has gone wronge inside Code::Blocks" and will shut itself down to prevent global thermonuclear implosion, but it builds just fine and building is half the battle! *chanted with an 80's G.I. Joe air punch*
Code: Select all
mv /usr/share/codeblocks/plugins/libprojectwizard.la libprojectwizard.la.backup
mv /usr/share/codeblocks/plugins/libprojectwizard.so libprojectwizard.so.backup
No problem. That got me back up and running. Thanks again!Tiger683 wrote: It's a known problem, new project wizard is broken on some linux systems (i suspect glibc-2.4 and/or gcc-4.1).
My fix is:Until it is fixed upstream. This way we are still "stuck" with the good old "new project" dialogCode: Select all
mv /usr/share/codeblocks/plugins/libprojectwizard.la libprojectwizard.la.backup mv /usr/share/codeblocks/plugins/libprojectwizard.so libprojectwizard.so.backup
Thanks for pointing it out, i totally forgot to mention it
T
Hello,immudium wrote:Another thing I found while messing around with codeblocks. If you add "--enable-contrib" to econf, i.e.Then you also get a nice little gui designer called wxSmith.Code: Select all
econf --with-wx-config=wx-config-2.6 --enable-dependency-tracking \ --enable-contrib \ $(use_enable debug) || die "Died in action: econf ..."
There's probably a more correct way to add that option in the ebuild via a use variable like "plugins" or something, but like I mentioned, I sucketh big time at the ebuild thing so I though I would bring it up here and leave the actual implementation to the experts.
Nice! I'll never say no to an easier to use and more bug free wxSmith. Since you piqued my interest, I guess this is the thread of interest:MichaelZ wrote: Hello,
By using "--enable-contrib", you can also build optional plugins, i.e.,
-Code Statistics
-copystring (Unix)
-DragScroll
-Help Plugin (Unix)
-C::B KeyBinder
-C::B Profiler (Unix)
-Exporter (Unix)
-wxSmith (Unix)
The wxSmith plugin is under re-designing and a new version should be available soon.
Bet wishes,
Michael
Yes, that's the threadimmudium wrote:Nice! I'll never say no to an easier to use and more bug free wxSmith. Since you piqued my interest, I guess this is the thread of interest:MichaelZ wrote: Hello,
By using "--enable-contrib", you can also build optional plugins, i.e.,
-Code Statistics
-copystring (Unix)
-DragScroll
-Help Plugin (Unix)
-C::B KeyBinder
-C::B Profiler (Unix)
-Exporter (Unix)
-wxSmith (Unix)
The wxSmith plugin is under re-designing and a new version should be available soon.
Bet wishes,
Michael
http://forums.codeblocks.org/index.php?topic=2694.0.
The rest of the plugins, especially the profiler sounds pretty cool too as I get more comfortable with the codeblocks environment.
The Makefile.am has been added to the autools build system. Let's give it a tryMichaelZ wrote:Yes. Still miss someone to do it. I would like, but I am a newbie with autotools...Tiger683 wrote:yet...)MichaelZ wrote:Anyway, AFAIK you can build it in Linux only by using CodeBlocks-unix.cbp and not with the autotools (there is no Makefile.am
Works great thanksMichaelZ wrote:The Makefile.am has been added to the autools build system. Let's give it a tryMichaelZ wrote:Yes. Still miss someone to do it. I would like, but I am a newbie with autotools...Tiger683 wrote:yet...)MichaelZ wrote:Anyway, AFAIK you can build it in Linux only by using CodeBlocks-unix.cbp and not with the autotools (there is no Makefile.am
.
Best wishes,
Michael
Hello,Tiger683 wrote:Works great thanksMichaelZ wrote:The Makefile.am has been added to the autools build system. Let's give it a tryMichaelZ wrote:Yes. Still miss someone to do it. I would like, but I am a newbie with autotools...Tiger683 wrote:yet...)MichaelZ wrote:Anyway, AFAIK you can build it in Linux only by using CodeBlocks-unix.cbp and not with the autotools (there is no Makefile.am
.
Best wishes,
Michael
The ebuild is still valid, now it is being built using the contrib useflag too.
T
make clean-zipfiles
Hmm, interesting. although portage build is not affected by the Settings->Environment->Crash bug,MichaelZ wrote:make clean-zipfiles
This to make the update of the resources (zip files).
Hello,Tiger683 wrote:Hmm, interesting. although portage build is not affected by the Settings->Environment->Crash bug,MichaelZ wrote:make clean-zipfiles
This to make the update of the resources (zip files).
It would be worth giving it a try to see if it fixes the StartCode::BlockswithProjectWizardenabled->Crash bug
Though i think it simply happens on glibc-2.4 and/or gcc-4.1 systems.
Thanks,
T
Thanks for heads up, now i know i REALLY should try this "make clean-zipfiles" thingie,gray_ wrote:Thanks for the ebuild it works great.
I had that startup crash bug too, thanks for the tip on disabling the New Project Wizard.
This isn't the case. I run gcc 3.4.5 and glibc 2.3.5 and still have the bug.Though i think it simply happens on glibc-2.4 and/or gcc-4.1 systems.
Regards,
Gray
The culprit of the project-wizard related crash is now known.immudium wrote:Working pretty well here. I get a few odd crashes here and there, but nothing too bad