Author: pierre
Date: Thu Jan 15 13:29:06 2015
New Revision: 15343

Log:
Update to SWIG-3.0.4

Modified:
   trunk/BOOK/general/prog/swig.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/general/prog/swig.xml
==============================================================================
--- trunk/BOOK/general/prog/swig.xml    Thu Jan 15 08:18:19 2015        (r15342)
+++ trunk/BOOK/general/prog/swig.xml    Thu Jan 15 13:29:06 2015        (r15343)
@@ -6,10 +6,10 @@
 
   <!ENTITY swig-download-http 
"&sourceforge-repo;/swig/swig-&swig-version;.tar.gz">
   <!ENTITY swig-download-ftp  " ">
-  <!ENTITY swig-md5sum        "62f9b0d010cef36a13a010dc530d0d41">
-  <!ENTITY swig-size          "5.42 MB">
-  <!ENTITY swig-buildsize     "77 MB (up to 1.1 GB for tests)">
-  <!ENTITY swig-time          "0.4 SBU (24 SBU for tests of Guile, Go, Java, 
Lua, Perl, PHP, Python, Ruby, and tcl)">
+  <!ENTITY swig-md5sum        "9cb8c0efda39dc6db5f85389e671fb59">
+  <!ENTITY swig-size          "5.45 MB">
+  <!ENTITY swig-buildsize     "78 MB (up to 1.1 GB for tests)">
+  <!ENTITY swig-time          "0.4 SBU (22 SBU for tests of Guile, Go, Java, 
Lua, Perl, PHP, Python 2 and 3, Ruby, and Tcl)">
 ]>
 
 <!-- Try to keep the indentation used in this file-->
@@ -21,8 +21,6 @@
     <date>$Date$</date>
   </sect1info>
 
-  <!-- No other tags inside any title.
-       Use Title Case in All Titles -->
   <title>SWIG-&swig-version;</title>
 
   <indexterm zone="swig">
@@ -117,18 +115,29 @@
     <title>Installation of SWIG</title>
 
     <para>
+      Fix an issue with gccgo-4.9.2:
+    </para>
+
+<screen><userinput>sed -i 's/"\.")/"_")/' -i 
Source/Modules/go.cxx</userinput></screen>
+
+    <para>
       Install <application>SWIG</application> by running the following
       commands:
     </para>
 
 <!-- Spaces are significant in <screen> sections -->
-<screen><userinput>./configure --prefix=/usr &amp;&amp;
+<screen><userinput>./configure --prefix=/usr   \
+            --without-clisp &amp;&amp;
 make</userinput></screen>
 
     <para>
-      To test the results, issue: <command>make -k check</command>. According 
to
-      <application>SWIG</application>'s documentation, the failure of some
-      tests should not be considered harmful.
+      To test the results, issue: <command>make -k check</command>. If you
+      have both <xref linkend="python"/> and <xref linkend="python3"/>
+      installed, only the Python-2 tests are run. You can run test for
+      Python-3 by issuing <command>PY3=1 make check-python-examples</command>
+      followed by <command>PY3=1 make check-python-test-suite</command>.
+      According to <application>SWIG</application>'s documentation, the failure
+      of some tests should not be considered harmful.
     </para>
 
     <para>
@@ -148,7 +157,8 @@
       <option>--without-&lt;language&gt;</option>: allows disabling the
       building of tests and examples for &lt;language&gt;, but all the
       languages capabilities of <application>SWIG</application> are always
-      built.
+      built. We use it for <application>Clisp</application>, because the
+      SWIG implementation is very incomplete and a lot of tests fail.
     </para>
   </sect2>
 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Thu Jan 15 08:18:19 
2015        (r15342)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Thu Jan 15 13:29:06 
2015        (r15343)
@@ -48,6 +48,10 @@
       <para>January 15th, 2015</para>
       <itemizedlist>
         <listitem>
+          <para>[pierre] - Update to swig-3.0.4. Fixes
+          <ulink url="&blfs-ticket-root;5992">#5992</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[igor] - Update to git-2.2.2. Fixes
           <ulink url="&blfs-ticket-root;6030">#6030</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent     Thu Jan 15 08:18:19 2015        (r15342)
+++ trunk/BOOK/packages.ent     Thu Jan 15 13:29:06 2015        (r15343)
@@ -273,7 +273,7 @@
 <!ENTITY scons-version                "2.3.4">
 <!ENTITY slang-version                "2.2.4">
 <!ENTITY subversion-version           "1.8.11">
-<!ENTITY swig-version                 "3.0.2">
+<!ENTITY swig-version                 "3.0.4">
 <!ENTITY tcl-version                  "8.6.3">
 <!ENTITY tk-version                   "8.6.3">
 <!ENTITY vala-major-version           "0.26">  <!-- even minors only -->
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to