Changeset 4ba02e6c for pst


Ignore:
Timestamp:
02/15/2014 07:39:01 PM (10 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.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
9c93f095
Parents:
23562ea
Message:

TeX Live - build asymptote.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/typesetting/texlive.xml

    r23562ea r4ba02e6c  
    5656      <listitem>
    5757        <para>Estimated build time: &texlive-time;</para>
     58      </listitem>
     59    </itemizedlist>
     60
     61    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     62    <itemizedlist spacing="compact">
     63      <listitem>
     64        <para>
     65          Required patch:
     66          <ulink url="&patch-root;/texlive-&texlive-version;-source-fix_asymptote-1.patch"/>
     67        </para>
    5868      </listitem>
    5969    </itemizedlist>
     
    130140
    131141    <para>At the moment, these instructions do not rebuild
    132     <application>asy</application> and <application>xindy</application> which were
    133     installed by the binary installer.</para> <!-- FIXME -->
    134 
    135 <screen><userinput>mkdir texlive-build &amp;&amp;
     142    <application>xindy</application> which was installed by the binary installer.
     143    If you wish to rebuild that, please consult
     144    <ulink url="&blfs-ticket-root;4647">#4647</ulink>. Asy and the rest of
     145    asymptote is by default not rebuilt, so we have to separately run
     146    <command>configure</command> and <command>make</command> in its directory.
     147    </para>
     148
     149<screen><userinput>patch -Np1 -i ../texlive-&texlive-version;-source-fix_asymptote-1.patch &amp;&amp;
     150
     151mkdir texlive-build &amp;&amp;
    136152cd texlive-build    &amp;&amp;
    137153
     
    159175             --with-system-zlib \
    160176             --with-banner-add=" - BLFS" &amp;&amp;
    161 make</userinput></screen>
    162 
    163     <para>To test the results, issue: <command>make -k check</command>.</para>
     177
     178pushd ../utils/asymptote &amp;&amp;
     179echo "ac_cv_lib_m_sqrt=yes" >config.cache &amp;&amp;
     180echo "ac_cv_lib_z_deflate=yes" >>config.cache &amp;&amp;
     181./configure LIBS="-ltirpc "  --prefix=/opt/texlive/2013/ \
     182 --bindir=/opt/texlive/2013/bin/x86_64-linux \
     183 --enable-texlive-build \
     184 --datarootdir=/opt/texlive/2013/texmf-dist \
     185 --infodir=/opt/texlive/2013/texmf-dist/doc/info/ \
     186 --mandir=/opt/texlive/2013/texmf-dist/doc/man \
     187 --cache-file=config.cache &amp;&amp;
     188popd &amp;&amp;
     189
     190make &amp;&amp;
     191make -C ../utils/asymptote</userinput></screen>
     192
     193    <para>To test the results, issue: <command>make -k chec &amp;&amp;
     194    make -C utils/asymptote checkk</command>.</para>
    164195
    165196    <para>Now, as the <systemitem class="username">root</systemitem>
    166197    user:</para>
    167198
    168 <screen><userinput role="root">make install</userinput></screen>
     199<screen><userinput role="root">make install &amp;&amp;
     200make -C ../utils/asymptote install</userinput></screen>
    169201
    170202  </sect2>
     
    211243
    212244    <para>
    213       <option>--without-x</option>: use this if you do not have Xorg installed.
     245      <parameter>echo "ac_cv_lib_m_sqrt=yes" ... LIBS="-ltirpc " &gt;config.cache,
     246      ... --cache-file=config.cache</parameter> : The configure scripts in
     247      <application>TeX Live</application> are uncommon. Asymptote not only has to
     248      be separately configured and built, the configure script fails to find the
     249      shared <filename class="libraryfile">libtirpc.so</filename>.  Passing that
     250      in LIBS breaks the tests for (static) libm and (shared) libz, so we have to
     251      fix things up, in much the same way as when cross-compiling.
     252    </para>
     253
     254    <para>
     255      <option>--without-x</option>: use this (and omit the configure and make in
     256      <filename>utils/asymptote</filename> if you do not have Xorg installed.
    214257    </para>
    215258
Note: See TracChangeset for help on using the changeset viewer.