Summary: | media-gfx/asymptote-1.47: fails emerge with latex USE_Flag; not defined TEXMFSITE variable in your TeX config | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | bootneg |
Component: | New packages | Assignee: | Andrey Grozin <grozin> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | sci |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
bootneg
2008-11-04 09:21:24 UTC
media-gfx/asymptote-1.49 behave the same way (compiles without latex USE and doesn't compile with latex USE) Looks like you have mis-configured TeX. I emerged asymptote with USE=latex successfully on two Gentoo boxes, one with teTeX, one with TeXlive, without any problems. What happens if you say kpsewhich texmf.cnf On the teTeX box, I get /var/lib/texmf/web2c/texmf.cnf On the TeXlive box, I get /usr/share/texmf/web2c/texmf.cnf From the error message you got, I guess you will get /usr/local/texlive/2008/texmf.cnf Why? Have you installed TeXlive to /usr/local? Is it from Gentoo, or you installed it not via portage? In any case, texmf.cnf of any reasonably configured TeX should contain the line like TEXMFSITE = ... On my teTeX box, it is TEXMFSITE = /usr/share/texmf-site On my TeXlive box TEXMFSITE = $SELFAUTODIR/share/texmf-site If such a line is absent in your texmf.cnf, this is not properly configured. The command kpsewhich -var-value=TEXMFSITE extracts the value of TEXMFSITE from texmf.cnf; on both of my boxes, I get /usr/share/texmf-site asymptote puts its LaTeX stuff into this directory. If you haven't defined TEXMFSITE in your texmf.cnf, the asymptote ebuild does not know where to put this stuff. I have not inserted the TEXMFSITE line into texmf.cnf by hand (or by texconfig); it was there after emerging tetex or texlive, correspondingly. (In reply to comment #2) > What happens if you say > > kpsewhich texmf.cnf As user I get /usr/share/texmf/web2c/texmf.cnf and as root /usr/local/texlive/2008/texmf.cnf > On the teTeX box, I get > /var/lib/texmf/web2c/texmf.cnf > On the TeXlive box, I get > /usr/share/texmf/web2c/texmf.cnf > Why? Have you installed TeXlive to /usr/local? Is it from Gentoo, or you > installed it not via portage? In history I installed texlive-2008 as non gentoo version (from developer homepage) (wasn't in portage at this time). Later I installed texlive-2007 with portage because of dependency problems I didn't solved by hand. This texlive-2007 is now updated to texlive-2008 by portage. The last version compiled at leased 2 times, because I added some more useflags. > In any case, texmf.cnf of any reasonably configured TeX should contain the > line > On my teTeX box, it is > TEXMFSITE = /usr/share/texmf-site > On my TeXlive box > TEXMFSITE = $SELFAUTODIR/share/texmf-site > The command > > kpsewhich -var-value=TEXMFSITE As user /usr/share/texmf-site as root nothing. > extracts the value of TEXMFSITE from texmf.cnf; on both of my boxes, I get > /usr/share/texmf-site OK I see, that this is no Gentoo problem in general, but can you say me how I set the variables correct for root, because they are set correct for a user but I have to emerge with root. After some discussion at gentoo-dev, we decided not to use this complicated way of finding the texmf-site tree, but to hard-code /usr/share/texmf-site. This is done starting from asymptote-1.53. Now installation of this package no longer depends on local user's configuration. You can install it without problems. |