Author Topic: which one i should choose verison with zenwalk linux?  (Read 6213 times)

Offline wangzisong1987

  • Single posting newcomer
  • *
  • Posts: 5
which one i should choose verison with zenwalk linux?
« on: September 24, 2012, 05:48:18 am »
i am new in linux, i using zenwalk linux now , i want to use codeblocks on zenwalk, but codeblocks  have only four version(debain,fc,suse,mdv),so ,i don't know which one i should choose, i mean which version can work on zenwalk. and how to install on zenwalk.please help me...thanks all

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: which one i should choose verison with zenwalk linux?
« Reply #1 on: September 24, 2012, 06:34:06 am »
I fear that none of this versions work directly.
In this case you have to build C::B yourself from scratch.

A starting point might be:
http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29

I will setup a vm with zenwalk to see how easy it is.

Offline wangzisong1987

  • Single posting newcomer
  • *
  • Posts: 5
Re: which one i should choose verison with zenwalk linux?
« Reply #2 on: September 24, 2012, 07:32:14 am »
thank you , i saw the link:  http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29
because my english is poor, so i think it's mean: 
1,download and install wxGTK;
2,build C::B and instll C::B;

am i right?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: which one i should choose verison with zenwalk linux?
« Reply #3 on: September 24, 2012, 08:27:38 am »
thank you , i saw the link:  http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29
because my english is poor, so i think it's mean: 
1,download and install wxGTK;
2,build C::B and instll C::B;

am i right?


1. if no prebuild wxGTK exists, yes

2. yes, this will need some more development libraries to be installed, depending on the contrib-plugins you want to use.

Offline wangzisong1987

  • Single posting newcomer
  • *
  • Posts: 5
Re: which one i should choose verison with zenwalk linux?
« Reply #4 on: September 24, 2012, 09:35:03 am »
i find one error when i building C::B . i use GCC4.7.1.
error log :
src/include/scripting/squirrel/squtils.h:38:4:'ssq_vm_free' was not declared in this scope....

can you teach me how to fix it?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: which one i should choose verison with zenwalk linux?
« Reply #5 on: September 24, 2012, 10:38:15 am »
Which version of C::B sources do you use ?

Offline wangzisong1987

  • Single posting newcomer
  • *
  • Posts: 5
Re: which one i should choose verison with zenwalk linux?
« Reply #6 on: September 24, 2012, 10:49:11 am »
C::B version is 10.05

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: which one i should choose verison with zenwalk linux?
« Reply #7 on: September 24, 2012, 10:56:12 am »
C::B version is 10.05
10.05 does not work with gcc 4.7 .
Either use gcc4.6 if possible or fetch the C::B sources from svn:
http://www.codeblocks.org/downloads/7