Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ To install Emacs under CentOS 6.5     - SSH Filesystem use a secure connection for network file system (Linux)

- Ubuntu configuration SVN and http mode access (Server)

- Oracle delete table space prompted ORA-00604 and ORA-38301 (Database)

- Nginx start, stop, smooth start, smooth upgrade (Server)

- Oracle common internal event tracking number (Database)

- OpenGL Superb Learning Notes - New Patterns (Programming)

- iOS in the event delivery and the responder chain (Programming)

- To resolve Ubuntu 14.04 Unity Desktop Environment Login freeze problem (Linux)

- How to clean up your Ubuntu 14.10 / 14.04 / 13.10 system (Linux)

- Kubernetes cluster deployment (Server)

- Some common Linux commands Study Notes (Linux)

- How to become a better Node.js developers in 2016 (Programming)

- Copy and paste in Linux terminal and Vim (Linux)

- C # and JavaScript arrays to re-summary (Programming)

- Processor in protected mode of protection (Linux)

- Linux Systemd-- To start / stop / restart services in RHEL / CentOS 7 (Linux)

- Java learning problems encountered (Programming)

- Using packet capture libpcap be reconciliation package in Ubuntu 14.04 64 bits (Linux)

- How to compile and install wxWidgets in Ubuntu / Debian / Linux Mint (Linux)

- ORA-38856: Unable instance UNNAMED_INSTANCE_2 (redo thread 2) marked enabled (Database)

 
         
  To install Emacs under CentOS 6.5
     
  Add Date : 2018-11-21      
         
         
         
  Emacs before installing the software, you need to install some dependencies, and then extract the downloaded emacs package, and then install it by following these steps:

1, you need to download dependencies are as follows:
yum -y groupinstall "Development Tools"
yum -y install gtk + -devel gtk2-devel
yum -y install libXpm-devel
yum -y install libpng-devel
yum -y install giflib-devel
yum -y install libtiff-devel libjpeg-devel
yum -y install ncurses-devel
yum -y install gpm-devel dbus-devel dbus-glib-devel dbus-python
yum -y install GConf2-devel pkgconfig
yum -y install libXft-devel

2, to the following link to download the installation package and extract emacs
http://ftp.gnu.org/pub/gnu/emacs/
#unzip files
tar xvf emacs-24.2.tar.gz

3, install emacs
cd emacs-24.2
          ./configure --prefix = / usr / local --with-x-toolkit = gtk
make && make install

Encounter the following error during installation:

xsettings.o: In function `something_changed_gsettingsCB ':
/root/Downloads/emacs-24.2/src/xsettings.c:216: undefined reference to `g_settings_get_value '
/root/Downloads/emacs-24.2/src/xsettings.c:231: undefined reference to `g_settings_get_value '
/root/Downloads/emacs-24.2/src/xsettings.c:245: undefined reference to `g_settings_get_value '
xsettings.o: In function `init_gsettings':
/root/Downloads/emacs-24.2/src/xsettings.c:815: undefined reference to `g_settings_list_schemas'
/root/Downloads/emacs-24.2/src/xsettings.c:821: undefined reference to `g_settings_new '
/root/Downloads/emacs-24.2/src/xsettings.c:827: undefined reference to `g_settings_get_value '
/root/Downloads/emacs-24.2/src/xsettings.c:838: undefined reference to `g_settings_get_value '
/root/Downloads/emacs-24.2/src/xsettings.c:847: undefined reference to `g_settings_get_value '
collect2: ld returned 1 exit status
make [1]: *** [temacs] Error 1
make [1]: Leaving directory `/root/Downloads/emacs-24.2/src '
make: *** [src] Error 2

Solution is as follows:

make distclean

./configure --without-gsettings

make && make install

After a successful installation the following message appears:

make [1]: Leaving directory `/root/Downloads/emacs-24.2/leim '
cd lib-src; make maybe-blessmail \
      MAKE = 'make' archlibdir = '/ usr / local / libexec / emacs / 24.2 / i686-pc-linux-gnu'
make [1]: Entering directory `/root/Downloads/emacs-24.2/lib-src '
make [1]: Nothing to be done for `maybe-blessmail '.
make [1]: Leaving directory `/root/Downloads/emacs-24.2/lib-src '

Enter emacs in the terminal, you can open the software
     
         
         
         
  More:      
 
- MyCAT read and write separation of MySQL (Database)
- Correlation Analysis: FP-Growth algorithm (Programming)
- Stunning exclamation point at the Linux command line (Linux)
- CentOS7 set boot directly into the command line interface (Linux)
- How to use the ps command to monitor progress in the implementation of Linux commands (Linux)
- Ubuntu Locale configuration problem solving Can not set LC_CTYPE (Linux)
- Ganglia Python plug-in the process of writing notes (Linux)
- git checkout generated in the use of temporary br (Linux)
- The several technical presentation Raid under Linux (Linux)
- Depth study and understanding for individual users suicide DDoS attacks (Linux)
- Linux Desktop allows exceptionally different launch applications (Linux)
- Ubuntu 14.10 / 14.04 how to install Quick Start tool Mutate 2.2 (Linux)
- Ubuntu Linux to create and increase the Swap partition tutorial (Linux)
- Appweb configuration in detail (Server)
- Getting jQuery - progress bar (Programming)
- CentOS 6 kernel upgrade to Kernel 3.x (Linux)
- CentOS 6.6 source compiler GCC upgrade to 4.8.2 (Linux)
- Redis-2.8.17 installation and configuration process some errors (Linux)
- Linux shell scripts bubble sort (Programming)
- C ++ Supplements - Virtual Function Principle (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.