Author: pierre
Date: Fri Mar 5 06:17:14 2021
New Revision: 24341
Log:
Remove python2 ad in vim
Modified:
trunk/BOOK/postlfs/editors/vim.xml
Modified: trunk/BOOK/postlfs/editors/vim.xml
==============================================================================
--- trunk/BOOK/postlfs/editors/vim.xml Fri Mar 5 03:16:41 2021 (r24340)
+++ trunk/BOOK/postlfs/editors/vim.xml Fri Mar 5 06:17:14 2021 (r24341)
@@ -103,10 +103,10 @@
<para role="optional">
<xref linkend="gpm"/>,
<xref linkend="lua"/>,
+<!-- can use python3: don't advertise python2
<xref linkend="python2"/>,
- <xref linkend="rsync"/> and
- <xref linkend="ruby"/><!-- , and
- <xref linkend="tcl"/> -->
+--> <xref linkend="rsync"/>, and
+ <xref linkend="ruby"/>
</para>
<para condition="html" role="usernotes">User Notes:
@@ -144,8 +144,8 @@
<note>
<para>
- If you intend to run the tests and have not installed Xorg in /usr,
append
- LDFLAGS='-L$XORG_PROFIX/lib' to the configure line below.
+ If you intend to run the tests and have not installed Xorg in /usr,
+ append LDFLAGS='-L$XORG_PREFIX/lib' to the configure line below.
</para>
</note>
@@ -255,12 +255,18 @@
<para>
<option>--enable-luainterp</option>,
<option>--enable-perlinterp</option>,
- <option>--enable-pythoninterp</option>,
- <option>--enable-tclinterp</option>,
+ <option>--enable-python3interp=dynamic</option>,
+ <option>--enable-tclinterp --with-tclsh=tclsh</option>,
<option>--enable-rubyinterp</option>:
- These options include the Lua, Perl, Python, Tcl, or Ruby interpreters
that
- allow using other application code in <application>vim</application>
- scripts.
+ These options include the Lua, Perl, Python3, Tcl, or Ruby interpreters
+ that allow using other application code in <application>vim</application>
+ scripts. All the <option>--enable-...</option> options can accept
+ <option>=dynamic</option> to dynamically load the interpreter when
+ needed. This is required for <application>Python 3</application> to
+ prevent segmentation faults. For <application>tcl</application>,
+ it is necessary to indicate the name of the <command>tclsh</command>
+ executable, since <command>configure</command> only searches versioned
+ names with old versions.
</para>
</sect2>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page