Question: what is the way to "build" the C::B if the source code get updated?
Today, I have run the "git pull --rebase" to update the C::B's source code to the latest revision under Ubuntu 14.
But when I switch to the build dir, and run the "make" command, I see some error message:
zyh@zyh:~/code/codeblocks-git/codeblocks_sf/build-wx30$ make -f Makefile
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ../configure --prefix=/home/zyh/code/cb-wx30-install/ --with-wx-config=/home/zyh/code/wx30branchinstall/bin/wx-config --no-create --no-recursion
configure: WARNING: unrecognized options: --with-wx-config
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking whether configure should try to set CFLAGS/CXXFLAGS/CPPFLAGS/LDFLAGS... yes
checking whether to enable debugging... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
...
...
...
checking whether to build the foreign projects importer plugin... yes
checking whether to build the scripted wizard plugin... yes
checking whether to build the to-do plugin... yes
checking whether to build the abbreviations plugin... yes
checking whether to keep prebuild windows dll's in dist-tarball... yes
checking whether to integrate fortran-plugin in dist-tarball... yes
checking whether to use gtk-notebook as default notebook... yes
checking which (if any) contrib plugins to build... none
checking if the compiler supports precompiled headers... yes
../configure: line 20785: AM_OPTIONS_WXCONFIG: command not found
../configure: line 20786: syntax error near unexpected token `2.8.12,'
../configure: line 20786: `AM_PATH_WXCONFIG(2.8.12, wxWin=1)'
make: *** [config.status] Error 2
zyh@zyh:~/code/codeblocks-git/codeblocks_sf/build-wx30$
I have such environment variable:
zyh@zyh:~/code/codeblocks-git/codeblocks_sf/build-wx30$ wx-config --list
Default config is gtk3-unicode-3.0
Default config will be used for output
zyh@zyh:~/code/codeblocks-git/codeblocks_sf/build-wx30$ update-alternatives --config wx-config
There is only one alternative in link group wx-config (providing /usr/bin/wx-config): /home/zyh/code/wx30branchinstall/bin/wx-config
Nothing to configure.
zyh@zyh:~/code/codeblocks-git/codeblocks_sf/build-wx30$ echo $ACLOCAL_FLAGS
-I /home/zyh/code/wx30branchinstall/share/aclocal
zyh@zyh:~/code/codeblocks-git/codeblocks_sf/build-wx30$
So, do I have do a clean rebuild? (for a clean rebuild, I mean I have to run bootstap, then configure, then make)