News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Build CodeBlocks on OS X

Started by uenz, March 06, 2011, 09:35:18 PM

Previous topic - Next topic

uenz

Hi,

i am trying to build CodeBlocks on Snow Leopard according to the wiki artiklehttp://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Mac_OS_X.
I was able to build the wxwidgets library an can compile the samplers.
Bootstrap and configure for codeblocks worked fine.

But make ends up with this error:

libtool: Version mismatch error.  This is libtool 2.4, but the
libtool: definition of this LT_INIT comes from libtool 2.2.4.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4
libtool: and run autoconf again.


oBFusCATed

Have you run ./bootstrap (you should be in the source directory)?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

uenz

Yes,i did a
ACLOCAL_FLAGS="-I /usr/share/aclocal" ./bootstrap
as mentioned in the wiki, which ended without an error.

sinoth

I had this same problem.  The issue was that adding /usr/share/aclocal to ACLOCAL_FLAGS brings in some unwanted cruft.  Copy /usr/share/aclocal/wxwin.m4 to your Code::Blocks source directory and run bootstrap like this:

ACLOCAL_FLAGS="-I ." ./bootstrap

Hopefully this will help someone out.