emacs编译安装

源码存放目录:

       mkdir mysrc

       cd mysrc

 

下载:

        cvs -z3 -d:pserver:anonymous@cvs.savannah.gun.org:/source/emacs co emacs


编译:

      1.---------------------------------------------------

               ./configure /

                --with-x-toolkit=gtk /

                --with-xft

       2.---------------------------------------------------

                   查看./configure给出的检查信息,(注意:不要照搬别人的编译文章,毕竟有些是不一样的。安静,安静。在安静。。。。。。。。。。。。。。)

             是否没有编译所依赖的开发包.

                      如下:

             Configured for `i686-pc-linux-gnu'.

                              Where should the build process find the source code? /home/binglinlee/emacs
                              What operating system and machine description files should Emacs use?
                                                `s/gnu-linux.h' and `m/intel386.h'
                              What compiler should emacs be built with?                           gcc -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign
                              Should Emacs use the GNU version of malloc?                                                   yes
                                                   (Using Doug Lea's new malloc from the GNU C Library.)
                               Should Emacs use a relocating allocator for buffers?                                        yes                                         
                               Should Emacs use mmap(2) for buffer allocation?                                             no                                        //我也不知到
                               What window system should Emacs use?                                                            x11
                               What toolkit should Emacs use?                                                                             GTK
                               Where do we find X Windows header files?                                                         Standard dirs
                               Where do we find X Windows libraries?                                                                 Standard dirs
                               Does Emacs use -lXaw3d?                                               no   //可以用gtk代替.自己选。( 1.) --with-x-toolkit=gtk等等GUI
                               Does Emacs use -lXpm?                                                    yes
                               Does Emacs use -ljpeg?                                                    yes
                               Does Emacs use -ltiff?                                                         yes
                               Does Emacs use a gif library?                                           yes -lgif
                               Does Emacs use -lpng?                                                      yes
                               Does Emacs use -lrsvg-2?                                                  yes
                               Does Emacs use -lgpm?                                                     yes
                               Does Emacs use -ldbus?                                                    yes
                               Does Emacs use -lgconf?                                                   yes
                               Does Emacs use -lfreetype?                                               yes
                               Does Emacs use -lm17n-flt?                                               yes
                               Does Emacs use -lotf?                                                         yes
                               Does Emacs use -lxft?                                                         yes
                               Does Emacs use toolkit scroll bars?                                 yes

 

                如果出现no,就要查找。。。。。。。。。。。。。。。。包子了!(当然要自己查



        3. --------------------------------------------------

               make bootstrap

 

        4.---------------------------------------------------

               mkdir /usr/local/emacs23


安装:

        1.----------------------------------------------------

                sudo make install prefix=/usr/local/emacs23

 

        2.-----------------------------------------------------

                用ln命令:

                       ln -s /usr/local/emacs23/bin/执行文件名 /usr/bin            (软连接到/usr/bin下,就不用配置路径了. )

                       接着把其它的exe文件以同样的方式操作..............................

                               ........

                               ..............

                               .................

 

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值