Emacs.app Intel Mac: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
I decided to try building emacs.app on my Intel MacBook Pro. | I decided to try building [http://emacs-app.sourceforge.net emacs.app] on my Intel MacBook Pro. | ||
The first thing is to check out the emacs source: | The first thing is to check out the emacs source: | ||
Line 5: | Line 5: | ||
$ cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs | $ cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs | ||
</pre> | </pre> | ||
Next I download the two patch files from SourceForge.net. The patches aren't in CVS at this time. | |||
<pre> | |||
$ tar xzf ~/downloads/emacs-23.0.0_NS-9.0pre3_patch_add.tgz | |||
$ patch < ~/downloads/emacs-23.0.0_NS-9.0pre3.patch | |||
</pre> | |||
The patch failed due to a missing file, but I noticed that emacs does have some options for building a 'carbon' based app. | |||
I ran the makeconfigure script in the mac directory, but it failed because I don't have a 'movemail' library. | |||
<pre> | |||
gcc -fpascal-strings -DMAC_OSX -I../mac/src -DHAVE_CONFIG_H -I. -I../src -I/src/emacs/mac/../lib-src -I/src/emacs/mac/../lib-src/../src -g -O2 -Wno-pointer-sign movemail.o pop.o getopt.o getopt1.o -o movemail | |||
i686-apple-darwin8-gcc-4.0.1: getopt.o: No such file or directory | |||
i686-apple-darwin8-gcc-4.0.1: getopt1.o: No such file or directory | |||
make[1]: *** [movemail] Error 1 | |||
make: *** [lib-src] Error 2 | |||
Make failed... Aborting make-package. | |||
</pre> | |||
I found another port of emacs [Aquamacs http://aquamacs.org]. They have a Universal Binary available for download, and detailed [http://www.emacswiki.org/cgi-bin/wiki/BuildingAquamacsManually build instructions]. |
Latest revision as of 23:19, 18 June 2006
I decided to try building emacs.app on my Intel MacBook Pro.
The first thing is to check out the emacs source:
$ cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs
Next I download the two patch files from SourceForge.net. The patches aren't in CVS at this time.
$ tar xzf ~/downloads/emacs-23.0.0_NS-9.0pre3_patch_add.tgz $ patch < ~/downloads/emacs-23.0.0_NS-9.0pre3.patch
The patch failed due to a missing file, but I noticed that emacs does have some options for building a 'carbon' based app.
I ran the makeconfigure script in the mac directory, but it failed because I don't have a 'movemail' library.
gcc -fpascal-strings -DMAC_OSX -I../mac/src -DHAVE_CONFIG_H -I. -I../src -I/src/emacs/mac/../lib-src -I/src/emacs/mac/../lib-src/../src -g -O2 -Wno-pointer-sign movemail.o pop.o getopt.o getopt1.o -o movemail i686-apple-darwin8-gcc-4.0.1: getopt.o: No such file or directory i686-apple-darwin8-gcc-4.0.1: getopt1.o: No such file or directory make[1]: *** [movemail] Error 1 make: *** [lib-src] Error 2 Make failed... Aborting make-package.
I found another port of emacs [Aquamacs http://aquamacs.org]. They have a Universal Binary available for download, and detailed build instructions.