Author Topic: Trouble building code::blocks  (Read 6062 times)

PDEE

  • Guest
Trouble building code::blocks
« 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

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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Trouble building code::blocks
« Reply #1 on: July 12, 2006, 03:36:55 pm »
Quote
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:

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

Quote
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.

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

PDEE

  • Guest
Re: Trouble building code::blocks
« Reply #2 on: July 12, 2006, 03:47:10 pm »
Thanks mandrav, your a star :D

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

Thank you

PDEE

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: Trouble building code::blocks
« Reply #3 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 ?
Nightly builds for openSUSE

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Trouble building code::blocks
« Reply #4 on: July 12, 2006, 04:46:13 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...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Trouble building code::blocks
« Reply #5 on: July 12, 2006, 05:56:54 pm »
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

  • Guest
Re: Trouble building code::blocks
« Reply #6 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.

Thank You

PDEE

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Trouble building code::blocks
« Reply #7 on: July 12, 2006, 07:06:01 pm »
Since you 're using SUSE, then your problem is described in this thread (with only partial solution/hack).

Quote
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.

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

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: Trouble building code::blocks
« Reply #8 on: July 12, 2006, 07:11:23 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 ;)
Code
if / bin/sh ../../../libtool --tag=CXX [...]
if g++ [...]
g++ [...]
« Last Edit: July 12, 2006, 07:14:10 pm by daniel2000 »
Nightly builds for openSUSE

mdelfede

  • Guest
Re: Trouble building code::blocks
« Reply #9 on: July 12, 2006, 08:48:58 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