Changeset 6334994 for BOOK/final-system/common
- Timestamp:
- May 11, 2006, 3:56:28 PM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 56102c2
- Parents:
- 45c9bdd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/vim.xml
r45c9bdd r6334994 36 36 <para os="a">First, unpack both <filename>vim-&vim-version;.tar.bz2</filename> 37 37 and (optionally) <filename>vim-&vim-version;-lang.tar.gz</filename> 38 archives into the same directory. Then, change the default location of 38 archives into the same directory.</para> 39 40 <para os="p1">The following patch contains updates from the maintainer. The 41 maintainer of Vim only releases these patches to fix serious issues.</para> 42 43 <screen os="p2"><userinput>patch -Np1 -i ../&vim-fixes-patch;</userinput></screen> 44 45 <para os="b">Change the default location of 39 46 the <filename>vimrc</filename> configuration file to <filename 40 47 class="directory">/etc</filename>:</para> 41 48 42 <screen os=" b"><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h</userinput></screen>43 44 <para os=" c">Prepare Vim for compilation:</para>45 46 <screen os=" d"><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen>47 48 <variablelist os=" e">49 <screen os="c"><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h</userinput></screen> 50 51 <para os="d">Prepare Vim for compilation:</para> 52 53 <screen os="e"><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen> 54 55 <variablelist os="f"> 49 56 <title>The meaning of the configure options:</title> 50 57 … … 63 70 </variablelist> 64 71 65 <para os=" f">Compile the package:</para>66 67 <screen os=" g"><userinput>make</userinput></screen>68 69 <para os=" h">To test the results, issue: <userinput>make test</userinput>.72 <para os="g">Compile the package:</para> 73 74 <screen os="h"><userinput>make</userinput></screen> 75 76 <para os="i">To test the results, issue: <userinput>make test</userinput>. 70 77 However, this test suite outputs a lot of binary data to the 71 78 screen, which can cause issues with the settings of the current terminal. 72 79 This can be resolved by redirecting the output to a log file.</para> 73 80 74 <para os=" i">Install the package:</para>75 76 <screen os=" j"><userinput>make install</userinput></screen>81 <para os="j">Install the package:</para> 82 83 <screen os="k"><userinput>make install</userinput></screen> 77 84 78 85 <para os="l">Many users are used to using <command>vi</command> instead of … … 83 90 <screen os="m"><userinput>ln -sv vim /usr/bin/vi</userinput></screen> 84 91 85 <para os=" m1">By default, Vim's documentation is installed in92 <para os="n">By default, Vim's documentation is installed in 86 93 <filename class="directory">/usr/share/vim</filename>. The following symlink 87 94 allows the documentation to be accessed via … … 89 96 it consistent with the location of documentation for other packages:</para> 90 97 91 <screen os=" m2"><userinput>ln -sv ../vim/vim&vim-version2;/doc /usr/share/doc/vim-&vim-version;</userinput></screen>92 93 <para os=" n">If an X Window System is going to be installed on the LFS98 <screen os="o"><userinput>ln -sv ../vim/vim&vim-version2;/doc /usr/share/doc/vim-&vim-version;</userinput></screen> 99 100 <para os="p">If an X Window System is going to be installed on the LFS 94 101 system, it may be necessary to recompile Vim after installing X. Vim 95 102 comes with a GUI version of the editor that requires X and some
Note:
See TracChangeset
for help on using the changeset viewer.