Author Topic: compiling c::b on suse 10.1  (Read 6994 times)

Offline vongodric

  • Multiple posting newcomer
  • *
  • Posts: 15
compiling c::b on suse 10.1
« on: September 05, 2006, 02:35:02 pm »
I tryed to compile it (svn source as of spetember 5), but having errors

Code: [Select]
vongodric@linux-52vn:~/trunk> ./bootstrap
aclocal:configure.in:65: warning: macro `AM_OPTIONS_WXCONFIG' not found in library
aclocal:configure.in:66: warning: macro `AM_PATH_WXCONFIG' not found in library
configure.in:65: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:66: error: possibly undefined macro: AM_PATH_WXCONFIG

and

Code: [Select]
./configure
...
./configure: line 22853: AM_OPTIONS_WXCONFIG: command not found
./configure: line 22854: syntax error near unexpected token `2.6.0,'
./configure: line 22854: `AM_PATH_WXCONFIG(2.6.0, wxWin=1)'

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: compiling c::b on suse 10.1
« Reply #1 on: September 05, 2006, 03:56:05 pm »
You need wxGTK >= 2.6.0 and its devel package (wxGTK-devel), zip, subversion, make, gettext, autoconf >= 2.5, automake >= 1.7, libtool >= 1.4, m4, gcc-c++ and libstdc++-devel to compile codeblocks. :)
Install these packages and try to build cb again ;)
Nightly builds for openSUSE

Offline kelo81

  • Multiple posting newcomer
  • *
  • Posts: 86
Re: compiling c::b on suse 10.1
« Reply #2 on: September 05, 2006, 06:25:34 pm »
I tryed to compile it (svn source as of spetember 5), but having errors

Code: [Select]
vongodric@linux-52vn:~/trunk> ./bootstrap
aclocal:configure.in:65: warning: macro `AM_OPTIONS_WXCONFIG' not found in library
aclocal:configure.in:66: warning: macro `AM_PATH_WXCONFIG' not found in library
configure.in:65: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:66: error: possibly undefined macro: AM_PATH_WXCONFIG

and

Code: [Select]
./configure
...
./configure: line 22853: AM_OPTIONS_WXCONFIG: command not found
./configure: line 22854: syntax error near unexpected token `2.6.0,'
./configure: line 22854: `AM_PATH_WXCONFIG(2.6.0, wxWin=1)'

Just check you have all those libs and tools, and then follow the steps on the wiki tutorial:

http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux

Be patient, the first time you compile Codeblocks on linux youn may have some difficulties, this is mostly related with the GTK configuration, but if you follow the steps from the WIKI, it will compile OK  :D
Ezequiel Ruiz
Tango/04 consultant
www.tango04.com

Offline vongodric

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: compiling c::b on suse 10.1
« Reply #3 on: September 06, 2006, 10:18:05 am »
yeah sry -I was under impression that I had wx installed, but turned out dev package was missing. Compiled fine, but I needed to run ldconfig too because it claimed to not able to find libcodeblocks.so.0

but now it works. tnx guys -keep up good work.