Ignore:
Timestamp:
08/01/2015 04:26:22 AM (9 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
systemd-13485
Children:
ad6910d
Parents:
4a83293
Message:

Import back into SVN from Github

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16309 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/swig.xml

    r4a83293 rac38e9dc  
    77  <!ENTITY swig-download-http "&sourceforge-repo;/swig/swig-&swig-version;.tar.gz">
    88  <!ENTITY swig-download-ftp  " ">
    9   <!ENTITY swig-md5sum        "62f9b0d010cef36a13a010dc530d0d41">
    10   <!ENTITY swig-size          "5.42 MB">
    11   <!ENTITY swig-buildsize     "77 MB (up to 1.1 GB for tests)">
    12   <!ENTITY swig-time          "0.4 SBU (24 SBU for tests of Guile, Go, Java, Lua, Perl, PHP, Python, Ruby, and tcl)">
     9  <!ENTITY swig-md5sum        "dcb9638324461b9baba8e044fe59031d">
     10  <!ENTITY swig-size          "5.60 MB">
     11  <!ENTITY swig-buildsize     "80 MB (up to 1.1 GB for tests)">
     12  <!ENTITY swig-time          "0.4 SBU (22 SBU for tests of Guile, Go, Java, Lua, Perl, PHP, Python 2 and 3, Ruby, and Tcl)">
    1313]>
    1414
     
    2222  </sect1info>
    2323
    24   <!-- No other tags inside any title.
    25        Use Title Case in All Titles -->
    2624  <title>SWIG-&swig-version;</title>
    2725
     
    6058    </para>
    6159
    62     &lfs76_checked;
     60    &lfs77_checked;
    6361
    6462    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    118116
    119117    <para>
     118      Fix an issue with gccgo-4.9.2:
     119    </para>
     120
     121<screen><userinput>sed -e 's/"\.")/"_")/' -i Source/Modules/go.cxx</userinput></screen>
     122
     123    <para>
    120124      Install <application>SWIG</application> by running the following
    121125      commands:
     
    123127
    124128<!-- Spaces are significant in <screen> sections -->
    125 <screen><userinput>./configure --prefix=/usr &amp;&amp;
     129<screen><userinput>./configure --prefix=/usr                      \
     130            --without-clisp                    \
     131            --without-maximum-compile-warnings &amp;&amp;
    126132make</userinput></screen>
    127133
    128134    <para>
    129       To test the results, issue: <command>make -k check</command>. According to
    130       <application>SWIG</application>'s documentation, the failure of some
    131       tests should not be considered harmful.
     135      To test the results, issue: <command>make -k check</command>. If you
     136      have both <xref linkend="python2"/> and <xref linkend="python3"/>
     137      installed, only the Python-2 tests are run. You can run test for
     138      Python-3 by issuing <command>PY3=1 make check-python-examples</command>
     139      followed by <command>PY3=1 make check-python-test-suite</command>.
     140      According to <application>SWIG</application>'s documentation, the failure
     141      of some tests should not be considered harmful.
    132142    </para>
    133143
     
    137147
    138148<screen role="root"><userinput>make install &amp;&amp;
    139 install -v -m755 -d /usr/share/doc/swig-&swig-version; &amp;&amp;
    140 cp -v -R Doc/* /usr/share/doc/swig-&swig-version;</userinput></screen>
     149install -v -dm755 /usr/share/doc/swig-&swig-version; &amp;&amp;
     150cp -rv Doc/* /usr/share/doc/swig-&swig-version;</userinput></screen>
    141151  </sect2>
    142152
     
    146156
    147157    <para>
     158      <parameter>--without-maximum-compile-warnings</parameter>: disables
     159      compiler ansi conformance enforcement, which triggers errors in
     160      the <application>Lua</application> headers (starting with Lua 5.3).
     161    </para>
     162
     163    <para>
    148164      <option>--without-&lt;language&gt;</option>: allows disabling the
    149165      building of tests and examples for &lt;language&gt;, but all the
    150166      languages capabilities of <application>SWIG</application> are always
    151       built.
     167      built. We use it for <application>Clisp</application>, because the
     168      SWIG implementation is very incomplete and a lot of tests fail.
    152169    </para>
    153170  </sect2>
Note: See TracChangeset for help on using the changeset viewer.