FS#19118 - [gnuplot] Build fails with latest PKGBUILD from -- wrong texdir
Attached to Project:
Arch Linux
Opened by Leonid Isaev (lisaev) - Thursday, 15 April 2010, 20:29 GMT
Last edited by Ronald van Haren (pressh) - Monday, 11 October 2010, 09:23 GMT
Opened by Leonid Isaev (lisaev) - Thursday, 15 April 2010, 20:29 GMT
Last edited by Ronald van Haren (pressh) - Monday, 11 October 2010, 09:23 GMT
|
Details
Description:
When trying to makepkg gnuplot 4.4 using latest PKGBUILD, the build fails, because make tries to create /usr/share/texmf, instead of $pkgdir/usr/share/texmf-dist/... As far as I understand, the variable TEXMFLOCAL in package() is not being recognized. It seems the right one is "texdir", so the correction to PKGBUILD, which worked for me is: ./configure --with-texdir=/usr/share/texmf-dist/tex/latex/gnuplot make texdir=$pkgdir/usr/share/texmf-dist/tex/latex/gnuplot I haven't checked wxgtk terminal or lisp/emacs stuff, though... Additional info: * package version(s) gnuplot 4.4.0 * config and/or log files etc. PKGBUILD |
This task depends upon
Closed by Ronald van Haren (pressh)
Monday, 11 October 2010, 09:23 GMT
Reason for closing: Fixed
Additional comments about closing: latex support in gnuplot 4.4.2-2
Monday, 11 October 2010, 09:23 GMT
Reason for closing: Fixed
Additional comments about closing: latex support in gnuplot 4.4.2-2
IMHO non-texlive-packages should not use /usr/share/texmf-dist, but /usr/share/texmf, but this is discussable.
As far as texmf-dist vs texmf goes, I have no personal preference... The reason why I used the former, is only because GP 4.2 used it. I also did some scouting of Debian -unstable/-testing package DB, and they seem to have no TeX-related stuff in their GP debs, although I can be wrong here.
It's true that the build completes cleanly, but instead of creating $pkdgir/bin, etc. we now have $pkgdir/$pkgir/bin, etc. BUT the correct $pkgdir/usr/share/texmf/.../gnuplot!
TEXMFLOCAL=$pkgdir/usr/share/texmf-dist still fails with
/bin/mkdir -p "/usr/share/texmf/tex/latex/gnuplot"
/bin/mkdir: cannot create directory `/usr/share/texmf/tex/latex/gnuplot': Permission denied
However, texdir=$pkgdir/usr/share/texmf-dist does work and creates $pkgdir/usr/share/texmf-dist/*.
Also, I think that Stefan was right with /usr/share/texmf, because this is the place where other applications, like asymptote, write their stuff. So it should be texdir=$pkgdir/usr/share/texmf/tex/latex/gnuplot