Changeset 764b1889


Ignore:
Timestamp:
11/16/2015 09:57:04 PM (8 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
a0751bdc
Parents:
6e16f2ef
Message:

asymptote: remove the workaround for current libgsl, replace it by a conditional sed to implement the upstream fix.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16664 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r6e16f2ef r764b1889  
    4444
    4545-->
    46 
    4746    <listitem>
    4847      <para>November 16th, 2015</para>
    4948      <itemizedlist>
     49        <listitem>
     50          <para>[ken] - Fix a build failure in asymptote-2.35 with
     51          current libgsl. Fixes
     52          <ulink url="&blfs-ticket-root;7104">#7104</ulink>.</para>
     53        </listitem>
    5054        <listitem>
    5155          <para>[bdubbs] - Add a modification from upstream to xmlto to fix a
  • pst/typesetting/asymptote.xml

    r6e16f2ef r764b1889  
    7272    </itemizedlist>
    7373
    74     <bridgehead renderas="sect3">Asymptote Dependencies</bridgehead>
    75 
    7674    <bridgehead renderas="sect4">Required</bridgehead>
    7775    <para role="required">
     
    8987    <para role="optional">
    9088      <ulink url="http://www.fftw.org/">FFTW</ulink>,
    91       <!-- link to an external version until asymptote is altered
    92       to build with libgsl-2
    93       <xref linkend="gsl"/> -->
    94       <ulink url="http://ftp.gnu.org/pub/gnu/gsl/">libgsl</ulink> (versions &lt; 2.0)
     89      <xref linkend="gsl"/>
    9590    </para>
    9691
     
    116111
    117112    <para>
     113      If you have installed version 2 of libgsl, fix a build failure:
     114    </para>
     115
     116<screen><userinput>sed -i -e '/ellint_D/s/3/2/' \
     117sed    -e '/ellint_D/s/.SYM(n)//' gsl.cc</userinput></screen>
     118
     119    <para>
    118120      Install <application>asymptote</application> by running the following
    119121      commands:
     
    129131 --enable-gc=system \
    130132 --with-latex=/opt/texlive/&texlive-year;/texmf-dist/tex/latex \
    131  --with-context=/opt/texlive/&texlive-year;/texmf-dist/tex/context/third \
    132  --disable-gsl &amp;&amp;
     133 --with-context=/opt/texlive/&texlive-year;/texmf-dist/tex/context/third &amp;&amp;
    133134make</userinput></screen>
    134135
     
    161162    </para>
    162163
     164    <para><parameter>sed ...</parameter>: change the reference to
     165    <literal>gsl_sf_ellint_D</literal> to use addGSLDOUBLE2Func and to therefore
     166    omit the last parameter, for gsl major version 2.</para>
     167
    163168    <para><parameter>--libdir=/opt/texlive/&texlive-year;/texmf-dist;</parameter>:
    164169    This parameter ensures that the <filename class="directory">asymptote</filename>
     
    173178    <application>texlive</application> directories instead of creating a
    174179    <filename class="directory">texmf-local</filename> directory for them.</para>
    175 
    176     <para><parameter>--disable-gsl</parameter>: if a current version of libgsl has
    177     been installed, the configure script will attempt to use it and the build will
    178     fail because of changes in that library. Remove this switch if you have installed
    179     an older version of libgsl instead of the current version. It is believed that
    180     few people need to link asymptote to libgsl: if you are one of those people,
    181     please consider updating the user notes to explain what libgsl brings to
    182     asymptote.</para>
    183180
    184181  </sect2>
Note: See TracChangeset for help on using the changeset viewer.