Asymptote is a powerful descriptive vector graphics language that provides a natural coordinate-based framework for technical drawing. Labels and equations can be typeset with LaTeX.
This package is known to build and work properly using an LFS-8.2 platform.
Download (HTTP): https://downloads.sourceforge.net/asymptote/asymptote-2.41.src.tgz
Download MD5 sum: d16909a9189a3177ad2f8cb8161e32e1
Download size: 3.4 MB
Estimated disk space required: 149 MB
Estimated build time: 2.0 SBU
ghostscript-9.22 and texlive-20170524
Gsl-2.4, libsigsegv-2.12, and fftw-3.3.7
          Pillow which has a build
          dependency of Python-2.7.14 (re-) compiled against Tk-8.6.8 to
          provide _tkinter.so
        
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/asymptote
Install asymptote by running the following commands:
export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &&
./configure --prefix=/opt/texlive/2017                          \
            --bindir=/opt/texlive/2017/bin/$TEXARCH             \
            --datarootdir=/opt/texlive/2017/texmf-dist          \
            --infodir=/opt/texlive/2017/texmf-dist/doc/info     \
            --libdir=/opt/texlive/2017/texmf-dist               \
            --mandir=/opt/texlive/2017/texmf-dist/doc/man       \
            --enable-gc=system                                  \
            --with-latex=/opt/texlive/2017/texmf-dist/tex/latex \
            --with-context=/opt/texlive/2017/texmf-dist/tex/context/third &&
make
        To test the results, issue: make check.
          Now, as the root user:
        
make install && rm -fv /opt/texlive/2017/texmf-dist/doc/info/asymptote.info
          --prefix=, --bindir=, --datarootdir=,
          --infodir=, --mandir= ... : these switches ensure that
          the files installed from source will overwrite any corresponding
          files previously installed by install-tl-unx so that the alternative methods
          of installing texlive are
          consistent..
        
          --libdir=/opt/texlive/2017/texmf-dist;:
          This parameter ensures that the asymptote directory will similarly overwrite any
          files installed by install-tl-unx.
        
          --enable-gc=system: this
          ensures that the system version of libgc.so will be used instead of the version
          shipped with this package.
        
          --with-latex= ...
          --with-context=: These switches ensure that style files
          and a tex file will be installed into the texlive directories instead of creating a
          texmf-local directory for them.
        
          rm -fv
          /opt/texlive/.../asymptote.info: This deletes the
          file installed by texlive.
          Exceptionally, asymptote will create an asymptote/ subdirectory for its own asymptote.info even though a possibly older
          version from texlive-20170524 is in the main
          texlive info/ directory. Both the new version and the
          existing asy-faq.info will be found by info.
        
Last updated on 2018-02-20 19:09:57 -0800