User forums > Using Code::Blocks

compiling c::b on suse 10.1

(1/1)

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


--- Code: ---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

--- End code ---

and


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

--- End code ---

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 ;)

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


--- Code: ---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

--- End code ---

and


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

--- End code ---

--- End quote ---

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

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.

Navigation

[0] Message Index

Go to full version