News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

compiling c::b on suse 10.1

Started by vongodric, September 05, 2006, 02:35:02 PM

Previous topic - Next topic

vongodric

I tryed to compile it (svn source as of spetember 5), but having errors

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

./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)'

TheTuxKeeper

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

kelo81

Quote from: vongodric on September 05, 2006, 02:35:02 PM
I tryed to compile it (svn source as of spetember 5), but having errors

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

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

vongodric

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.