- Timestamp:
- Jun 6, 2006, 5:09:31 PM (19 years ago)
- Branches:
- master
- Children:
- 2be6f63
- Parents:
- 124ebe0
- Location:
- BOOK
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/vim.xml
r124ebe0 r817bb11 34 34 <title>Installation of Vim</title> 35 35 36 <important os="w1"><para>The cross-compilation of vim is currently a mystery. Help would be greatly apreciated</para></important>37 38 36 <para os="a">First, unpack both <filename>vim-&vim-version;.tar.bz2</filename> 39 37 and (optionally) <filename>vim-&vim-version;-lang.tar.gz</filename> 40 38 archives into the same directory.</para> 41 39 42 <para os="p1">The following patch contains updates from the maintainer. The 40 <para os="p1">The following patch fixes numerous issues with 41 cross-compiling vim</para> 42 43 <screen os="p2"><userinput>patch -Np1 -i ../&vim-cross_compile-patch;</userinput></screen> 44 45 <para os="p3">The following patch contains updates from the maintainer. The 43 46 maintainer of Vim only releases these patches to fix serious issues.</para> 44 47 45 <screen os="p 2"><userinput>patch -Np1 -i ../&vim-fixes-patch;</userinput></screen>48 <screen os="p4"><userinput>patch -Np1 -i ../&vim-fixes-patch;</userinput></screen> 46 49 47 50 <para os="b">Change the default location of … … 53 56 <para os="d">Prepare Vim for compilation:</para> 54 57 55 <screen os="e"><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen> 58 <screen os="e"><userinput>./configure --prefix=/usr --host=${LFS_TARGET} \ 59 --enable-multibyte --enable-gui=no \ 60 --disable-gtktest --disable-xim \ 61 --with-features=normal --disable-gpm \ 62 --without-x --disable-netbeans \ 63 --with-tlib=ncurses</userinput></screen> 56 64 57 65 <variablelist os="f"> … … 76 84 <screen os="h"><userinput>make</userinput></screen> 77 85 78 <para os="i">To test the results, issue: <userinput>make test</userinput>. 79 However, this test suite outputs a lot of binary data to the 80 screen, which can cause issues with the settings of the current terminal. 81 This can be resolved by redirecting the output to a log file.</para> 82 83 <para os="j">Install the package:</para> 84 85 <screen os="k"><userinput>make install</userinput></screen> 86 87 <para os="l">Many users are used to using <command>vi</command> instead of 86 <para os="i">Install the package:</para> 87 88 <screen os="j"><userinput>make DESTDIR=${LFS} install</userinput></screen> 89 90 <para os="k">Many users are used to using <command>vi</command> instead of 88 91 <command>vim</command>. To allow execution of <command>vim</command> 89 92 when users habitually enter <command>vi</command>, create a 90 93 symlink:</para> 91 94 92 <screen os=" m"><userinput>ln -sv vim/usr/bin/vi</userinput></screen>93 94 <para os=" n">By default, Vim's documentation is installed in95 <screen os="l"><userinput>ln -sv vim ${LFS}/usr/bin/vi</userinput></screen> 96 97 <para os="m">By default, Vim's documentation is installed in 95 98 <filename class="directory">/usr/share/vim</filename>. The following symlink 96 99 allows the documentation to be accessed via … … 98 101 it consistent with the location of documentation for other packages:</para> 99 102 100 <screen os=" o"><userinput>ln -sv ../vim/vim&vim-version2;/doc/usr/share/doc/vim-&vim-version;</userinput></screen>103 <screen os="n"><userinput>ln -sv ../vim/vim&vim-version2;/doc ${LFS}/usr/share/doc/vim-&vim-version;</userinput></screen> 101 104 102 105 <para os="p">If an X Window System is going to be installed on the LFS … … 127 130 following:</para> 128 131 129 <screen><userinput>cat > /etc/vimrc << "EOF"132 <screen><userinput>cat > ${LFS}/etc/vimrc << "EOF" 130 133 <literal>" Begin /etc/vimrc 131 134 -
BOOK/general.ent
r124ebe0 r817bb11 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 3 <!ENTITY version "SVN-2006060 5">3 <!ENTITY version "SVN-20060606"> 4 4 <!ENTITY version-ARM "&version;-ARM"> 5 5 -
BOOK/introduction/common/changelog.xml
r124ebe0 r817bb11 38 38 39 39 <listitem> 40 <para>June 6, 2006</para> 41 <itemizedlist> 42 <listitem> 43 <para>[jciccone] - Added information about cross-compiling vim.</para> 44 </listitem> 45 </itemizedlist> 46 </listitem> 47 48 <listitem> 40 49 <para>May 29, 2006</para> 41 50 <itemizedlist> -
BOOK/patches.ent
r124ebe0 r817bb11 122 122 <!ENTITY vim-fixes-patch-size "20 KB"> 123 123 124 <!ENTITY vim-cross_compile-patch "vim-&vim-version;-cross_compile-1.patch"> 125 <!ENTITY vim-cross_compile-patch-md5 "05da89742f75fc39292fbf7c5ccc17ff"> 126 <!ENTITY vim-criss_compile-patch-size "28 KB"> 127 124 128 <!ENTITY zlib-fpic-patch "zlib-&zlib-version;-fPIC-1.patch"> 125 129 <!ENTITY zlib-fpic-patch-md5 "545d60b20bfde6f53023de44438cef59">
Note:
See TracChangeset
for help on using the changeset viewer.