Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: vongodric on September 05, 2006, 02:35:02 pm

Title: compiling c::b on suse 10.1
Post by: 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

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)'
Title: Re: compiling c::b on suse 10.1
Post by: TheTuxKeeper 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 ;)
Title: Re: compiling c::b on suse 10.1
Post by: kelo81 on September 05, 2006, 06:25:34 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

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

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 (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
Title: Re: compiling c::b on suse 10.1
Post by: vongodric 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.