Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Loaden on October 04, 2010, 01:28:22 pm

Title: bootstrap failed in squeeze
Post by: Loaden on October 04, 2010, 01:28:22 pm
Quote
@qpsoft:~/DengYC/CodeBlocks-R$ ./bootstrap
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:   `/usr/share/aclocal/libtool.m4'
libtoolize:   `/usr/share/aclocal/ltoptions.m4'
libtoolize:   `/usr/share/aclocal/ltversion.m4'
libtoolize:   `/usr/share/aclocal/ltsugar.m4'
libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.in:77: warning: macro `AM_OPTIONS_WXCONFIG' not found in library
configure.in:78: warning: macro `AM_PATH_WXCONFIG' not found in library
configure.in:7: installing `./config.guess'
configure.in:7: installing `./config.sub'
configure.in:9: installing `./install-sh'
configure.in:9: installing `./missing'
src/base/tinyxml/Makefile.am: installing `./depcomp'
configure.in:77: 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:78: error: possibly undefined macro: AM_PATH_WXCONFIG
All the depends library is already installed. e.g. libtool, autogen, automake, autoconf, wx-dev, libgtk-dev...
Quote
loaden@qpsoft:~/DengYC/CodeBlocks-R$ sudo update-alternatives --config wx-config
There are 4 choices for the alternative wx-config (providing /usr/bin/wx-config).

  Selection    Path                                         Priority   Status
------------------------------------------------------------
* 0            /usr/lib/wx/config/gtk2-unicode-release-2.8   288       auto mode
  1            /usr/lib/wx/config/base-unicode-debug-2.8     285       manual mode
  2            /usr/lib/wx/config/base-unicode-release-2.8   287       manual mode
  3            /usr/lib/wx/config/gtk2-unicode-debug-2.8     286       manual mode
  4            /usr/lib/wx/config/gtk2-unicode-release-2.8   288       manual mode
Any comments are welcome!

Title: Re: bootstrap failed in squeeze
Post by: Jenna on October 04, 2010, 01:42:57 pm
Do you have wx-common installed ?
It's not in the build-dependencies, because it's not needed for normal build-process.
It is in (debian-)build-dependencies, because it contains also wx-config .
Wrong again, wx-config is in libwxgtk2.8-dev, but nevertheless the missing wxwin.m4 is in wx-common.
Title: Re: bootstrap failed in squeeze
Post by: Loaden on October 04, 2010, 02:18:11 pm
Do you have wx-common installed ?
It's not in the build-dependencies, because it's not needed for normal build-process.
It is in (debian-)build-dependencies, because it contains also wx-config .
Wrong again, wx-config is in libwxgtk2.8-dev, but nevertheless the missing wxwin.m4 is in wx-common.
After install the wx-common, this issue is gone.
Thank Jens!