Bug#402651: texlive-base-bin: texdoctk does not work
On Mon, Dec 11, 2006 at 21:20 +0100, Dieter Schuster wrote:
> Package: texlive-base-bin
> Version: 2005.dfsg.2-6
> Severity: minor
>
> After changing my tex-system from tetex to texlive, the programm
> texdoctk does not start anymore. It produces the error messages:
Thanks for your report.
> dieter@Pegasos:~$ texdoctk
> Global symbol "$distdocpath_tetex" requires explicit package name at /usr/bin/texdoctk line 659.
> Global symbol "$distdocpath_texlive" requires explicit package name at /usr/bin/texdoctk line 659.
> Global symbol "$texmfdist_tetex" requires explicit package name at /usr/bin/texdoctk line 743.
> Global symbol "$texmfdist_texlive" requires explicit package name at /usr/bin/texdoctk line 744.
> Global symbol "$distdocpath_tetex" requires explicit package name at /usr/bin/texdoctk line 757.
> Global symbol "$distdocpath_texlive" requires explicit package name at /usr/bin/texdoctk line 758.
> Global symbol "$distdocpath_tetex" requires explicit package name at /usr/bin/texdoctk line 974.
> Global symbol "$distdocpath_tetex" requires explicit package name at /usr/bin/texdoctk line 974.
> Global symbol "$distdocpath_texlive" requires explicit package name at /usr/bin/texdoctk line 975.
> Global symbol "$distdocpath_texlive" requires explicit package name at /usr/bin/texdoctk line 975.
> BEGIN not safe after errors--compilation aborted at /usr/bin/texdoctk line 1407.
I have just compared the diffs for texdoctk in tetex and in texlive. It
seems that the texlive packages miss two parts:
# system variables
-my ($texmfmain,$texmfdist,$texmfdoc,$texmflocal,$texmfhome,
- $texdocpath,$distdocpath,$docdocpath,$localdocpath,$homedocpath,
+my ($texmfmain,$texmfdist_tetex,$texmfdist_texlive,$texmfdoc,$texmflocal,$texmfhome,
+ $texdocpath,$distdocpath_tetex,$distdocpath_texlive,$docdocpath,$localdocpath,$homedocpath,
Here the new variables are introduced. Not containing this raises the
above errors.
I cannot find these additions in texlive, either:
# $texmfdist=`kpsewhich --expand-path=${qq}\$TEXMFDIST${qq}`;
# chomp $texmfdist;
+ $texmfdist_tetex="/usr/share/texmf-tetex";
+ $texmfdist_texlive="/usr/share/texmf-texlive";
$distdocpath_tetex=join('/',"$texmfdist_tetex",basename($texdocpath,""))
if (length $texmfdist_tetex);
Without the hardcoded paths this thing won't work.
cheerio
ralf
Reply to: