mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
TeX Live - build asymptote.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12712 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
23562ea16f
commit
4ba02e6c74
@ -46,6 +46,11 @@
|
||||
<listitem>
|
||||
<para>February 15th, 2014</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[ken] - add instructions to build asymptote within TeX Live.
|
||||
This completes the current work (i.e. everything except xindy) for
|
||||
<ulink url="&blfs-ticket-root;4647">#4647</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[fernando] - Update to cups-filters 1.0.45. Fixes
|
||||
<ulink url="&blfs-ticket-root;4694">#4694</ulink>.</para>
|
||||
|
@ -58,6 +58,16 @@
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Required patch:
|
||||
<ulink url="&patch-root;/texlive-&texlive-version;-source-fix_asymptote-1.patch"/>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">TeX Live Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Recommended</bridgehead>
|
||||
@ -129,10 +139,16 @@
|
||||
what was originally installed.</para>
|
||||
|
||||
<para>At the moment, these instructions do not rebuild
|
||||
<application>asy</application> and <application>xindy</application> which were
|
||||
installed by the binary installer.</para> <!-- FIXME -->
|
||||
<application>xindy</application> which was installed by the binary installer.
|
||||
If you wish to rebuild that, please consult
|
||||
<ulink url="&blfs-ticket-root;4647">#4647</ulink>. Asy and the rest of
|
||||
asymptote is by default not rebuilt, so we have to separately run
|
||||
<command>configure</command> and <command>make</command> in its directory.
|
||||
</para>
|
||||
|
||||
<screen><userinput>mkdir texlive-build &&
|
||||
<screen><userinput>patch -Np1 -i ../texlive-&texlive-version;-source-fix_asymptote-1.patch &&
|
||||
|
||||
mkdir texlive-build &&
|
||||
cd texlive-build &&
|
||||
|
||||
../configure --prefix=/opt/texlive/2013 \
|
||||
@ -158,14 +174,30 @@ cd texlive-build &&
|
||||
--with-system-pixman \
|
||||
--with-system-zlib \
|
||||
--with-banner-add=" - BLFS" &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>To test the results, issue: <command>make -k check</command>.</para>
|
||||
pushd ../utils/asymptote &&
|
||||
echo "ac_cv_lib_m_sqrt=yes" >config.cache &&
|
||||
echo "ac_cv_lib_z_deflate=yes" >>config.cache &&
|
||||
./configure LIBS="-ltirpc " --prefix=/opt/texlive/2013/ \
|
||||
--bindir=/opt/texlive/2013/bin/x86_64-linux \
|
||||
--enable-texlive-build \
|
||||
--datarootdir=/opt/texlive/2013/texmf-dist \
|
||||
--infodir=/opt/texlive/2013/texmf-dist/doc/info/ \
|
||||
--mandir=/opt/texlive/2013/texmf-dist/doc/man \
|
||||
--cache-file=config.cache &&
|
||||
popd &&
|
||||
|
||||
make &&
|
||||
make -C ../utils/asymptote</userinput></screen>
|
||||
|
||||
<para>To test the results, issue: <command>make -k chec &&
|
||||
make -C utils/asymptote checkk</command>.</para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem>
|
||||
user:</para>
|
||||
|
||||
<screen><userinput role="root">make install</userinput></screen>
|
||||
<screen><userinput role="root">make install &&
|
||||
make -C ../utils/asymptote install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
@ -210,7 +242,18 @@ make</userinput></screen>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<option>--without-x</option>: use this if you do not have Xorg installed.
|
||||
<parameter>echo "ac_cv_lib_m_sqrt=yes" ... LIBS="-ltirpc " >config.cache,
|
||||
... --cache-file=config.cache</parameter> : The configure scripts in
|
||||
<application>TeX Live</application> are uncommon. Asymptote not only has to
|
||||
be separately configured and built, the configure script fails to find the
|
||||
shared <filename class="libraryfile">libtirpc.so</filename>. Passing that
|
||||
in LIBS breaks the tests for (static) libm and (shared) libz, so we have to
|
||||
fix things up, in much the same way as when cross-compiling.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<option>--without-x</option>: use this (and omit the configure and make in
|
||||
<filename>utils/asymptote</filename> if you do not have Xorg installed.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
Loading…
Reference in New Issue
Block a user