News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Trouble building code::blocks

Started by PDEE, July 12, 2006, 03:32:13 PM

Previous topic - Next topic

PDEE

I'm having more troubles building code::blocks. I have followed all the instruction on the wiki but i have all these errors when i come to build it:

make[5]: *** [scriptbindings.lo] Error 1
make[5]: Leaving directory '/home/pdee/trunk/src/sdk/scripting/bindings'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/pdee/trunk/src/sdk/scripting'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/pdee/trunk/src/sdk'
make[2] *** [all] Error 2
make[2]: Leaving directory '/home/pdee/trunk/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pdee/trunk/src'
make: [all-recursive] Error 1

I followed all the instructions so i don't know what went wrong. Any advice?
And one more thing. Will there be package for SUSE 10.1 when RC3 is finished as this is annoying trying to figure it out everytime i want to update code::blocks. On windows i can do it no problem, but i am trying to move away from windows.
I'm using SUSE 10.1

Any help will be greatly appreciated.
Thank you

PDEE

mandrav

QuoteI'm having more troubles building code::blocks. I have followed all the instruction on the wiki but i have all these errors when i come to build it:

Might be an error in our build system. I 'll check later and fix it if needed.

QuoteWill there be package for SUSE 10.1 when RC3 is finished as this is annoying trying to figure it out everytime i want to update code::blocks.

Yes.
Be patient!
This bug will be fixed soon...

PDEE

Thanks mandrav, your a star :D

Great to know there will be a release for SUSE aswell.  :D

Thank you

PDEE

TheTuxKeeper

@mandrav: Suse 10.1 uses gcc 4.1. Could this be the problem or is the problem with gcc 4.1 fixed ?
Nightly builds for openSUSE

mandrav

Quote from: daniel2000 on July 12, 2006, 04:22:40 PM
@mandrav: Suse 10.1 uses gcc 4.1. Could this be the problem or is the problem with gcc 4.1 fixed ?

No, they haven't been fixed yet. But we 'll try ;)
Be patient!
This bug will be fixed soon...

mandrav

I looked and I see no problem.

You haven't posted the entire error message though so I can only guess: if you are using gcc4.1, then it's a known problem (the one Daniel mentioned). So you 're gonna have to be patient until this works...
Be patient!
This bug will be fixed soon...

PDEE

I will do it again, if it goes wrong i will post the full log, though it is on the end of a build and it is quite large. It is probable my fault even though the last time i built code::blocks from source on SUSE, everything went more or less without a hitch. Will give it another go and re-read all the instructions. Thanks for your help mandrav.

Thank You

PDEE

mandrav

Since you 're using SUSE, then your problem is described in this thread (with only partial solution/hack).

QuoteIt is probable my fault even though the last time i built code::blocks from source on SUSE, everything went more or less without a hitch.

Things have changed in our source tree since the last time you built C::B ;)
Be patient!
This bug will be fixed soon...

TheTuxKeeper

#8
Quote from: PDEE on July 12, 2006, 06:39:58 PM
I will do it again, if it goes wrong i will post the full log, though it is on the end of a build and it is quite large. It is probable my fault even though the last time i built code::blocks from source on SUSE, everything went more or less without a hitch. Will give it another go and re-read all the instructions. Thanks for your help mandrav.
You don't need to post the whole log! You only need to post from the last line beginning like one of the following lines (without the space between "/" and "bin") to the end ;)if / bin/sh ../../../libtool --tag=CXX [...]
if g++ [...]
g++ [...]
Nightly builds for openSUSE

mdelfede

Quote from: PDEE on July 12, 2006, 03:32:13 PM
I'm having more troubles building code::blocks. I have followed all the instruction on the wiki but i have all these errors when i come to build it:

make[5]: *** [scriptbindings.lo] Error 1
make[5]: Leaving directory '/home/pdee/trunk/src/sdk/scripting/bindings'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/pdee/trunk/src/sdk/scripting'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/pdee/trunk/src/sdk'
make[2] *** [all] Error 2
make[2]: Leaving directory '/home/pdee/trunk/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pdee/trunk/src'
make: [all-recursive] Error 1
......


That's indeed the gcc 4.1 problem in sqplus. The only solution I've found with SuSe is to install gcc 4.0.3, it's explained in the thread marked by mandrav. There's a link with howto there.

Ciao

Max