[tex-live] Problem with Asymptote on Linux

Paulo Ney de Souza pauloney at gmail.com
Wed Mar 2 00:25:04 CET 2016


The problem with asymptote has been resolved, but a question lingers about
the correct use of kpse and on top of that - about multiple installation of

First the problem:

I have two installations of TL, one coming from Ubuntu  in
/usr/share/texlive/ and the other standard from CTAN at:
/usr/local/texlive/2015/ (where several others are installed at the same
top level).

The one from Ubuntu does not have a Asymptote installed. And when I use
TL2015 Asymptote, instead of using:


it uses the one in the PATH, which was:


that was installed by the Ubuntu installation... and obviously cannot find
its own files.

And here is the big question:

I thought that a TL binary was supposed to use **always** the kpse of its
own distribution and not the one in the PATH. Is that not the case???

Paulo Ney

On Tue, Mar 1, 2016 at 11:19 AM, Karl Berry <karl at freefriends.org> wrote:

> Hi Paulo,
>     Welcome to Asymptote version 2.35 (to view the manual, type help)
>     error: could not load module 'plain'
> Does not happen for me (of course; I wouldn't have released it if that
> failed).  I don't have ASYMPTOTE_HOME or other relevant envvars set.
> By design, neither the asy binary (2.35) nor the asy support files
> (e.g., texmf-dist/asymptote/plain.asy) have changed since the initial
> TL15 release.
> Maybe you have some other kpathsea envvar set that is interfering?  I
> cannot guess.  asy (that is, the tl binary -- compiling direct from
> upstream is different) constructs the default by running
> kpsewhich -var-value=TEXMFMAIN and appending "/asymptote" to the value.
> (source file settings.cc)
> If the above is insufficient, maybe more debugging info could be gleaned
> by running env KPATHSEA_DEBUG=-1 asy </dev/null >/tmp/out 2>&1
> and see what is happening with after the TEXMFMAIN lookup.
> Good luck,
> Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20160301/c0eef3fd/attachment.html>

More information about the tex-live mailing list