|
From: Mojca M. <moj...@gm...> - 2011-01-13 08:01:39
|
Dear list,
When I run ./configure I get
TeX files will be installed in
/usr/local/usr//usr/local/texlive/2010/../texmf-local/tex/latex/gnuplot
However that should have been
/usr/local/texlive/texmf-local/tex/latex/gnuplot
and not the complicated string above.
The configure script says:
if test "$TEXDIR" = "no"; then
#in the case prefix = NONE us ac_default_prefix
TEXDIR="${prefix}"
test "x$TEXDIR" = xNONE && TEXDIR=$ac_default_prefix
# at this point TEXDIR is set to "/usr/local"
TEXDIR=`$KPSEXPAND $TEXDIR/usr/'$TEXMFLOCAL'/tex/latex/gnuplot \
|sed "s%^.*share/%$TEXDIR/share/%"`
# and now /usr is appended
# TEXMFLOCAL is /usr/local/texlive/2010/../texmf-local
# so I get
"/usr/local"+"/usr"+"/usr/local/texlive/2010/../texmf-local"+"/tex/latex/gnuplot"
# which is certainly wrong
I have no idea what the sed is supposed to do (here it doesn't do
anything anyway), but the overall functionality is simply wrong here.
I don't plan to use that functionality anyway, but it would be nice to
fix it.
Thanks a lot,
Mojca
|