Just did a fresh ./bootstrap - ./configure on the trunk.
Prompt@MyBox:~/Devel/codeblocks$ ./bootstrap
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
/usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
/usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
configure.in: installing `./install-sh'
configure.in: installing `./missing'
src/plugins/astyle/Makefile.am: installing `./depcomp'
Prompt@MyBox:~/Devel/codeblocks$ ./configure --prefix=/opt/codeblanks
checking whether build environment is sane... Just a little nuts... OK
<snip>
...
<snip>
config.status: executing depfiles commands
*************************************************
* Code::Blocks source tree has been configured. *
*************************************************
You can now build Code::Blocks by issuing 'make'.
When the build is complete, become root and install
it by issuing 'make install'.
Sorry! :(
Did you try this...
In case of missing macros try
export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/aclocal"
Does this echo a valid path to your wxwin.m4?
echo "It's here... `wx-config --prefix`/share/aclocal"
If I hide my wxwin.m4, I get the same error as you during ./configure...
./configure: line 23380: AM_OPTIONS_WXCONFIG: command not found
./configure: line 23381: syntax error near unexpected token `2.6.0,'
./configure: line 23381: `AM_PATH_WXCONFIG(2.6.0, wxWin=1)'
I also get this little death dance during ./bootstrap...
aclocal:configure.in:63: warning: macro `AM_OPTIONS_WXCONFIG' not found in library
aclocal:configure.in:64: warning: macro `AM_PATH_WXCONFIG' not found in library
if I do...
export ACLOCAL_FLAGS="--acdir=/home/MyHome/I/hid/it/over/here"
./bootstrap chokes, chokes bad, and fails to build ./configure
if I do...
export ACLOCAL_FLAGS="-I /home/MyHome/I/hid/it/over/here"
./bootstrap finds my wxwin.m4, and life is good!
I sure hope this helps :D
{edit}
if I do...
unset ACLOCAL_FLAGS
ln -s /home/MyHome/I/hid/it/over/here/wxwin.m4 /usr/share/aclocal
Life is just as good, and I'm done screwing with it!!!
{/edit}
{editmore}
Mandrav,
Could you get into the wiki here (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux#Building_Code::Blocks_RC2_and_SVN) and get rid of the ACLOCAL_FLAGS="--acdir fix, cause it isn't a fix.
the second one is the correct syntax... ACLOCAL_FLAGS="-I `wx-config...
Thank you sir :)
{eromtide}