Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Build CodeBlocks on OS X

(1/1)

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:

--- Code: ---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.

--- End code ---

oBFusCATed:
Have you run ./bootstrap (you should be in the source directory)?

uenz:
Yes,i did a

--- Code: ---ACLOCAL_FLAGS="-I /usr/share/aclocal" ./bootstrap

--- End code ---
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:


--- Code: ---ACLOCAL_FLAGS="-I ." ./bootstrap
--- End code ---

Hopefully this will help someone out.

Navigation

[0] Message Index

Go to full version