No good. Nothing has changed. I still type "sudo {PATH-TO-BOOTSTRAP-IN-REVISION-FOLDER}\bootstrap" without the quotes and I get:
"sudo: {PATH-TO-BOOTSTRAP-IN-REVISION-FOLDER}\bootstrap: command not found"
The Wiki shows the command as below; I have no idea if it work with an different build folder.
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Mac_OS_X#Bootstrap_with_Autotools
EDIT: You need to use "/" instead of "\" on NON-Windows to my Knowedge
ACLOCAL_FLAGS="-I /usr/share/aclocal" ./bootstrap
Edit: What version of automake are you using?
Tim S
I tried using this:
cd /Users/robertsenkbeil/Desktop/CodeBlocks_Revision_5723
Yes, my name is Robert Senkbeil. ;)
Followed by this:
sudo ACLOCAL_FLAGS="-I /Developer/usr/share/aclocal" ./bootstrap
I still get this:
sudo: ACLOCAL_FLAGS=-I /Developer/usr/share/aclocal: command not found
As for my automake version, the one located in the /Developer/usr/share/aclocal is 1.10.
[EDIT]
Another note is that when I type in the terminal:
I get:
automake (GNU automake) 1.10
Written by Tom Tromey <tromey@redhat.com>
and Alexandre Duret-Lutz <adl@gnu.org>.
Copyright 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
When I type in the terminal:
I get:
autoconf (GNU Autoconf) 2.61
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
When I type in the terminal:
I get:
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
When I type in the terminal:
I get:
aclocal (GNU automake) 1.10
Written by Tom Tromey <tromey@redhat.com>
and Alexandre Duret-Lutz <adl@gnu.org>.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I suggest trying it in smaller chunks
cd /Users/robertsenkbeil/Desktop/CodeBlocks_Revision_5723
export ACLOCAL_FLAGS="-I /Developer/usr/share/aclocal"
Not sure if export keyword is required or not.
Not sure if sudo keyword is required or not.
I'm not sure what's going now. Following your advice and typing:
Got me:
$ sh < bootstrapsh: line 11: ./update_revision.sh: Permission denied
rm: autom4te.cache/output.0t: Permission denied
rm: autom4te.cache/requests: Permission denied
rm: autom4te.cache/traces.0t: Permission denied
rm: autom4te.cache: Directory not empty
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
aclocal-1.10: configure.in:3: file `revision.m4' does not exist
Obviously, to force permission, I used 'sudo' followed by my password when asked:
$ sudo sh < bootstrap
Password: *****
sh: line 11: ./update_revision.sh: Permission denied
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
aclocal: configure.in:3: file `revision.m4' does not exist
Try doing
sudo chmod 777 update_revision.sh
I think it should set the execute flag and give you permissions on it.
Tim S
Well... that definitely caused a change.
After typing with no resulting errors:
sudo chmod 777 update_revision.sh
I then retyped:
What followed was as below:
svn: '.' is not a working copy
svn: '.' is not a working copy
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
configure.in:9: installing `./missing'
configure.in:9: installing `./install-sh'
src/base/tinyxml/Makefile.am: installing `./depcomp'
src/include/Makefile.am:3: PRECOMPILE_HEADERS does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:1: BUILD_ASTYLE does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:5: BUILD_AUTOSAVE does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:9: BUILD_CLASSWIZARD does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:13: BUILD_CODECOMPLETION does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:17: BUILD_COMPILER does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:21: BUILD_DEBUGGER does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:25: BUILD_MIMEHANDLER does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:29: BUILD_OPENFILESLIST does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:33: BUILD_PROJECTSIMPORTER does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:37: BUILD_SCRIPTEDWIZARD does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:41: BUILD_TODO does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:45: BUILD_MANIFEST does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:1: BUILD_AUTOVERSIONING does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:5: BUILD_BROWSETRACKER does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:9: BUILD_BYOGAMES does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:13: BUILD_CBKODERS does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:17: BUILD_CODESNIPPETS does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:21: BUILD_CODESTAT does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:25: BUILD_COPYSTRINGS does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:29: BUILD_DRAGSCROLL does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:33: BUILD_ENVVARS does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:37: BUILD_HELP does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:41: BUILD_HEADERFIXUP does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:45: BUILD_KEYBINDER does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:49: BUILD_LIBFINDER does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:53: BUILD_PROFILER does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:57: BUILD_REGEX does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:61: BUILD_EXPORTER does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:65: BUILD_SYMTAB does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:69: BUILD_THREADSEARCH does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:73: BUILD_VALGRIND does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:77: BUILD_WXSMITH does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:81: BUILD_WXSMITHCONTRIB does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:85: BUILD_WXSMITHAUI does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:89: BUILD_HEXEDITOR does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:93: BUILD_INCSEARCH does not appear in AM_CONDITIONAL
src/src/Makefile.am:10: CODEBLOCKS_LINUX does not appear in AM_CONDITIONAL
src/templates/Makefile.am:1: CODEBLOCKS_NT does not appear in AM_CONDITIONAL
After trying several different methods of configure that resulted in "no command found", I did hit a successful "roadblock."
The following yielded the "command not found" result:
sudo ./configure --enable-contrib
This told me the directory was not found:
sudo sh < configure --enable-contrib
I then adapted the above with 'configure.in', which was the only configure file in the revision folder:
sudo sh < configure.in --enable-contrib
sh: --enable-contrib: invalid option
I finally hit something with the following:
sh: line 1: syntax error near unexpected token `2.50'
sh: line 1: `AC_PREREQ(2.50)'
Anyway, I'm sure people have talked about this quite a lot, and I'm pretty sure that there are some older discussions as to why Mac OS X was dropped from open nightly build support; however, I was hoping to get some more up-to-date reasons as to why the Mac operating system is not supported by CodeBlocks.
The Mac builds have always been more "monthly" than "nightly", as you can see from the list at http://developer.berlios.de/project/showfiles.php?group_id=5358. I still update it from time-to-time, but it takes like a day and 5 gigs disk or so to build it (twice even, once for PowerPC and once for Intel)...
I love the IDE and the tools that it comes with, I just really wish that it was also available on the Mac platform. Please keep in mind that I have no knowledge about what goes on when trying to build something like this. I'm looking for someone (or multiple people) to calmly explain to me why porting CodeBlocks to Macintosh computers is so difficult. If I was knowledgeable enough on this subject, I wouldn't bother you guys with these questions.
Most of the actual porting should be done, except for missing features such as frameworks. Or bugs, like the crashing batch build or the hanging printing support. The build itself shouldn't be more complex than ./configure --with-contrib-plugins=all && make plus some packaging hassles to merge the Universal Binary and to make the .app self-contained and relocatable (as described on the Wiki page). Note that you do need to build and install wxWidgets as well (wxMac, or Carbon, platform).
Furthermore, with the current nightly builds, I was hoping to see if I could get the *NIX version to work with the Mac operating system since it does have a heavy UNIX background. Could someone also tell me if that is or is not possible and why (please don't berate me and just tell me that it isn't possible... I'd like to understand why).
You can build the GTK+/X11 version of the GUI on the Mac too, just that most people prefer the Quartz/Aqua version. The "easiest" way to build it is to use MacPorts (http://www.macports.org/) and the codeblocks-devel (http://trac.macports.org/browser/trunk/dports/devel/codeblocks-devel/) port (you might want to bump the revision in the Portfile).
sudo port install codeblocks-devel +x11
I tried using the method to show me each command being executed, and it looks similar to something I got earlier in this topic:
$ sudo sh -x bootstrap
Password: ******
+ '[' -f ./update_revision.sh ']'
+ ./update_revision.sh
svn: '.' is not a working copy
svn: '.' is not a working copy
+ WANT_AUTOMAKE='1.9 1.8 1.7'
+ export WANT_AUTOMAKE
+ WANT_AUTOCONF=2.5
+ export WANT_AUTOCONF
+ test -z ''
+ AUTOCONF=autoconf
+ test -z ''
+ AUTOHEADER=autoheader
+ test -z ''
+ AUTOMAKE=automake
+ test -z ''
+ ACLOCAL=aclocal
+ test -z ''
+ for LIBTOOL in glibtool libtool
+ break
+ test -z ''
+ for LIBTOOLIZE in glibtoolize libtoolize
+ break
++ autoconf --version
++ egrep '1\.[0-9]+|2\.[0-4]+'
++ head -n 1
+ test -n ''
++ automake --version
++ head -n 1
++ egrep '1\.[0-6](\.[0-9]+)?$'
+ test -n ''
++ automake --version
++ head -n 1
++ egrep '1\.7(\.[0-9]+)?$|1\.8(\.[0-9]+)?$'
+ test -n ''
++ glibtool --version
++ head -n 1
++ cut -f 4 -d ' '
++ egrep '1\.[0-3](\.[0-9]+)?$'
+ test -n ''
+ rm -rf autom4te.cache
+ glibtoolize --force --copy
+ aclocal
+ autoheader
+ automake --include-deps --add-missing --foreign --copy
src/include/Makefile.am:3: PRECOMPILE_HEADERS does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:1: BUILD_ASTYLE does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:5: BUILD_AUTOSAVE does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:9: BUILD_CLASSWIZARD does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:13: BUILD_CODECOMPLETION does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:17: BUILD_COMPILER does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:21: BUILD_DEBUGGER does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:25: BUILD_MIMEHANDLER does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:29: BUILD_OPENFILESLIST does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:33: BUILD_PROJECTSIMPORTER does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:37: BUILD_SCRIPTEDWIZARD does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:41: BUILD_TODO does not appear in AM_CONDITIONAL
src/plugins/Makefile.am:45: BUILD_MANIFEST does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:1: BUILD_AUTOVERSIONING does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:5: BUILD_BROWSETRACKER does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:9: BUILD_BYOGAMES does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:13: BUILD_CBKODERS does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:17: BUILD_CODESNIPPETS does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:21: BUILD_CODESTAT does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:25: BUILD_COPYSTRINGS does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:29: BUILD_DRAGSCROLL does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:33: BUILD_ENVVARS does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:37: BUILD_HELP does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:41: BUILD_HEADERFIXUP does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:45: BUILD_KEYBINDER does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:49: BUILD_LIBFINDER does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:53: BUILD_PROFILER does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:57: BUILD_REGEX does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:61: BUILD_EXPORTER does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:65: BUILD_SYMTAB does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:69: BUILD_THREADSEARCH does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:73: BUILD_VALGRIND does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:77: BUILD_WXSMITH does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:81: BUILD_WXSMITHCONTRIB does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:85: BUILD_WXSMITHAUI does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:89: BUILD_HEXEDITOR does not appear in AM_CONDITIONAL
src/plugins/contrib/Makefile.am:93: BUILD_INCSEARCH does not appear in AM_CONDITIONAL
src/src/Makefile.am:10: CODEBLOCKS_LINUX does not appear in AM_CONDITIONAL
src/templates/Makefile.am:1: CODEBLOCKS_NT does not appear in AM_CONDITIONAL
It tells me that the SVN isn't valid, goes through some processes that I assume are successful, and then has problems with several Makefiles.