Emacs23 配置指南
-
- 帖子: 21
- 注册时间: 2007-03-08 9:36
- 联系:
首先对LZ的工作表示感谢。:)
我用LZ的方法成功了的感受了一把Emacs.
1.
纠正一个小小的错误:
(load-file "/home/zhan/myEmacs/color-theme.el")
(color-theme-darkblue);选择 darkblue的配色方案
应该是:
(load-file "/home/zhan/myEmacs/color-theme.el")
(color-theme-dark-blue);选择 darkblue的配色方案
另外切换颜色主题的时候color-theme-这个后面的必须是小写字母,否则会报错。
2.
我在.configure的时候出现了很多lib找不到的情况
configure: error: The following required libraries was not found:
libXpm libjpeg libgif/libungif libtiff
Maybe some development libraries/packages are missing?
If you don't want to link with them give
--with-xpm=no --with-jpeg=no --with-gif=no --with-tiff=no
as options to configure
我天真的以为类似这样就可以了:
sudo apt-get install libXpm
其实不然...步骤是先google ubuntu libxpm,然后就会看到一些类似libxpm*包.我是一个一个的下载安装。然后从新configure就有几个lib不在找不到的list中;循环几次就搞定。
我用LZ的方法成功了的感受了一把Emacs.
1.
纠正一个小小的错误:
(load-file "/home/zhan/myEmacs/color-theme.el")
(color-theme-darkblue);选择 darkblue的配色方案
应该是:
(load-file "/home/zhan/myEmacs/color-theme.el")
(color-theme-dark-blue);选择 darkblue的配色方案
另外切换颜色主题的时候color-theme-这个后面的必须是小写字母,否则会报错。
2.
我在.configure的时候出现了很多lib找不到的情况
configure: error: The following required libraries was not found:
libXpm libjpeg libgif/libungif libtiff
Maybe some development libraries/packages are missing?
If you don't want to link with them give
--with-xpm=no --with-jpeg=no --with-gif=no --with-tiff=no
as options to configure
我天真的以为类似这样就可以了:
sudo apt-get install libXpm
其实不然...步骤是先google ubuntu libxpm,然后就会看到一些类似libxpm*包.我是一个一个的下载安装。然后从新configure就有几个lib不在找不到的list中;循环几次就搞定。
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
谢谢提出,已经更正xmp123 写了:首先对LZ的工作表示感谢。:)
我用LZ的方法成功了的感受了一把Emacs.
1.
纠正一个小小的错误:
(load-file "/home/zhan/myEmacs/color-theme.el")
(color-theme-darkblue);选择 darkblue的配色方案
应该是:
(load-file "/home/zhan/myEmacs/color-theme.el")
(color-theme-dark-blue);选择 darkblue的配色方案
另外切换颜色主题的时候color-theme-这个后面的必须是小写字母,否则会报错。
呵呵,其实不然,正确的办法是先看 config.log 找到究竟是那个包,或究竟式哪个文件没有找到而报的错误,2.
我在.configure的时候出现了很多lib找不到的情况
configure: error: The following required libraries was not found:
libXpm libjpeg libgif/libungif libtiff
Maybe some development libraries/packages are missing?
If you don't want to link with them give
--with-xpm=no --with-jpeg=no --with-gif=no --with-tiff=no
as options to configure
我天真的以为类似这样就可以了:
sudo apt-get install libXpm
其实不然...步骤是先google ubuntu libxpm,然后就会看到一些类似libxpm*包.我是一个一个的下载安装。然后从新configure就有几个lib不在找不到的list中;循环几次就搞定。
同时可以搜索 apt 比如 apt-cache search libxpm 就可以看到 libxpm 的那些包,不用 google ubuntu libxpm, 同时编译需要的包一般都是带 -dev 的包,比如 libxpm-dev 等。
如果是头文件找不到而报的错误的话,要找包的名字使用 apt-file 是最好的了。
比如是 xpm.h 找不到而报的错误,那么这样操作
代码: 全选
zhan@mylinux:~$ apt-file search xpm.h
gnome-dev-doc: usr/share/doc/gnome-dev-doc/html/C/gnome-stock-xpm.html
gromacs-doc: usr/share/doc/gromacs/html/online/xpm.html
libafterimage-dev: usr/include/libAfterImage/xpm.h
libtk-img: usr/share/doc/libtk-img/html/img-xpm.html
libxpm-dev: usr/include/X11/xpm.h
octave2.1-htmldoc: usr/share/doc/octave2.1-htmldoc/interpreter/doc_002dexpm.html
octave2.9-htmldoc: usr/share/doc/octave2.9-htmldoc/interpreter/doc_002dexpm.html
php-doc: usr/share/doc/php-doc/html/function.imagecreatefromxpm.html
r-cran-matrix: usr/lib/R/site-library/Matrix/html/expm.html
scilab-doc: usr/lib/scilab-4.1.1/man/eng/linear/expm.htm
scilab-doc: usr/lib/scilab-4.1.1/man/fr/linear/expm.htm
wx2.4-headers: usr/include/wx/imagxpm.h
wx2.6-headers: usr/include/wx-2.6/wx/imagxpm.h
wx2.8-headers: usr/include/wx-2.8/wx/imagxpm.h
xen-doc-2.6.16: usr/share/doc/xen-doc-2.6.16/Documentation/sound/oss/cs46xxpm.h
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
-
- 帖子: 21
- 注册时间: 2007-03-08 9:36
- 联系:
-
- 帖子: 2
- 注册时间: 2007-11-01 16:19
-
- 帖子: 16
- 注册时间: 2006-08-30 23:02
-
- 帖子: 42
- 注册时间: 2007-11-06 12:02
我的问题
代码: 全选
vivid@vivid-desktop:~/emacs$ ./configure --prefix=/usr --enable-font-backend --with-xft --with-freetype --with-gtk
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking whether gcc understands -Wno-pointer-sign... yes
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for install-info... /usr/sbin/install-info
checking for install-info... (cached) /usr/sbin/install-info
checking for install-info... (cached) /usr/sbin/install-info
checking for gzip... /bin/gzip
checking for makeinfo... no
configure: error: makeinfo >= 4.6 is required
是不是还有什么依赖的包?
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
-
- 帖子: 11
- 注册时间: 2007-03-25 14:08
Symbol's function definition is void: easy-menu-define
make[2]: *** [bootstrap-emacs] 错误 255
make[2]: Leaving directory `/home/wuyang/emacs/src'
make[1]: *** [bootstrap-build] 错误 2
make[1]: Leaving directory `/home/wuyang/emacs'
make: *** [bootstrap] 错误 2
这个问题哦。。。
前面有兄弟说 装个 txtinfo, 可找不到这个软件包, 是不是包名字错了。
HELP。。。
make[2]: *** [bootstrap-emacs] 错误 255
make[2]: Leaving directory `/home/wuyang/emacs/src'
make[1]: *** [bootstrap-build] 错误 2
make[1]: Leaving directory `/home/wuyang/emacs'
make: *** [bootstrap] 错误 2
这个问题哦。。。
前面有兄弟说 装个 txtinfo, 可找不到这个软件包, 是不是包名字错了。
HELP。。。
-
- 帖子: 1
- 注册时间: 2008-04-08 15:39
Re:emacs配置指南
这个帖子真实不错,照着配置了一下,emacs果然强大了很多,也漂亮了许多,谢谢楼主.
-
- 帖子: 49
- 注册时间: 2007-08-11 16:57