Code::Blocks Forums
User forums => Help => Topic started by: yuta on September 12, 2007, 06:09:35 am
-
I tried to build CB from svn, but I got these messages and couldn't get Makefile.
% ./bootstrap
/opt/local/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
/opt/local/share/aclocal/smpeg.m4:13: run info '(automake)Extending aclocal'
/opt/local/share/aclocal/smpeg.m4:13: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
% ./configure --enable-contrib
codeblocks configure 1.0svn4463
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundationgives unlimited permission to copy, distribute and modify it.
"./configure --help" made same message, so this configure file looks like wrong.
I tried macports too, but it couln't make Makefile.
rev 4461 and rev 4462 in SVN were also same.
automake(1.10), autoconf(2.61), aclocal(1.10) and glibtool(1.5.24) are installed by macports.
Would you give me suggestions?
-
I updated macport, and tried it again. Then I was able to compile it. Thanks.
-
you know, "This configure script is free software" doesn't sound like an error message to me ;) From what you posted i don't see where it actually fails
As for installing autotools with macports, be careful, they will be installed in /opt/local/bin. Apple ships by default autools in /usr/bin/. If you just open a terminal and run the commands, it's likely that those in /usr/bin/ are picked up and not the ones in /opt/local/bin/. This is why building with macports worked, probably : it told the computer to use those from /opt/local/bin/. You'd need to set your path properly to make it working from the terminal, or you can also just get the old versions of stuff our of the way with a few "sudo mv" commands probably. Of course if macports does it correctly for you then all is fine.
-
You can install Code::Blocks with MacPorts too, it's in "codeblocks-devel".