source: BOOK/temp-system/common/vim.xml@ 6e879d0

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 6e879d0 was ffbc9152, checked in by Jim Gifford <clfs@…>, 16 years ago

Added: Vim to temp-system. Community Request

  • Property mode set to 100644
File size: 3.2 KB
RevLine 
[ffbc9152]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-temp-system-vim" role="wrap">
9 <?dbhtml filename="vim.html"?>
10
11 <title>Vim-&vim-version;</title>
12
13 <indexterm zone="ch-temp-system-vim">
14 <primary sortas="a-Vim">Vim</primary>
15 <secondary>temporary system</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/vim.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of VIM</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../../final-system/common/vim.xml"
27 xpointer="xpointer(//*[@os='a'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../../final-system/common/vim.xml"
31 xpointer="xpointer(//*[@os='p1'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="../../final-system/common/vim.xml"
35 xpointer="xpointer(//*[@os='p2'])"/>
36
37 <para os="c1">The configure script is full of logic that aborts at the
38 first sign of cross compiling. Set the cached values of those tests with
39 the following command:</para>
40
41<screen os="c2"><userinput>cat &gt; src/auto/config.cache &lt;&lt; "EOF"
42vim_cv_getcwd_broken=no
43vim_cv_memmove_handles_overlap=yes
44vim_cv_stat_ignores_slash=no
45vim_cv_terminfo=yes
46vim_cv_tgent=zero
47vim_cv_toupper_broken=no
48vim_cv_tty_group=world
49ac_cv_sizeof_int=4
50EOF</userinput></screen>
51
52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
53 href="../../final-system/common/vim.xml"
54 xpointer="xpointer(//*[@os='b'])"/>
55
56<screen os="c"><userinput>echo '#define SYS_VIMRC_FILE "/tools/etc/vimrc"' &gt;&gt; src/feature.h</userinput></screen>
57
58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="../../final-system/common/vim.xml"
60 xpointer="xpointer(//*[@os='d'])"/>
61
62<screen os="e"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
63 --prefix=/tools --enable-multibyte --enable-gui=no \
64 --disable-gtktest --disable-xim --with-features=normal \
65 --disable-gpm --without-x --disable-netbeans \
66 --with-tlib=ncurses</userinput></screen>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="../../final-system/common/vim.xml"
70 xpointer="xpointer(//*[@os='g'])"/>
71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
73 href="../../final-system/common/vim.xml"
74 xpointer="xpointer(//*[@os='h'])"/>
75
76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
77 href="../../final-system/common/vim.xml"
78 xpointer="xpointer(//*[@os='j'])"/>
79
80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
81 href="../../final-system/common/vim.xml"
82 xpointer="xpointer(//*[@os='k'])"/>
83
84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
85 href="../../final-system/common/vim.xml"
86 xpointer="xpointer(//*[@os='l'])"/>
87
88<screen os="m"><userinput>ln -sv vim /tools/bin/vi</userinput></screen>
89
90 </sect2>
91
92 <sect2 role="content">
93 <title/>
94
95 <para>Details on this package are located in <xref
96 linkend="contents-vim" role="."/></para>
97
98 </sect2>
99
100</sect1>
Note: See TracBrowser for help on using the repository browser.