Compile Emacs-24 In OS X 10.9

| 分类 Emacs  | 标签 emacs  osx 

Simply a tip: if you failed to compile Emacs under OS X 10.9, and it is caused by tputs:

1: The required function `tputs' was not found in any library.
2: The following libraries were tried (in order):
3:   libtinfo, libncurses, libterminfo, libtermcap, libcurses
4: Please try installing whichever of these libraries is most appropriate
5: for your system, together with its header files.
6: For example, a libncurses-dev(el) or similar package.

This can be resolved by specifying --without-imagemagick during configuration.

If you use gentoo prefix, you can try following patch:

 1: *** 167,173 ****
 2:         fi
 3:     elif use aqua; then
 4:         einfo "Configuring to build with Nextstep (Cocoa) support"
 5: !       myconf+=" --with-ns --disable-ns-self-contained --without-imagemagick"
 6:         myconf+=" --without-x"
 7:     else
 8:         myconf+=" --without-x --without-ns"
 9: --- 167,173 ----
10:         fi
11:     elif use aqua; then
12:         einfo "Configuring to build with Nextstep (Cocoa) support"
13: !       myconf+=" --with-ns --disable-ns-self-contained"
14:         myconf+=" --without-x"
15:     else
16:         myconf+=" --without-x --without-ns"

上一篇     下一篇