LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Build error for texlive (http://www.linuxquestions.org/questions/slackware-14/build-error-for-texlive-4175431997/)

lkraemer 10-13-2012 08:11 AM

Build error for texlive
 
I'm trying to build k9copy which requires ffmpeg, ffmpeg requires texi2html,
which I can't find.
Code:

bash-4.2# which texi2html
which: no texi2html in (/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin)
bash-4.2#

but locate finds it:
Code:

bash-4.2# locate texi2html*
/usr/share/texinfo/html/texi2html.html
/usr/share/texmf/doc/help/Catalogue/entries/texi2html.html
bash-4.2#

So, I was trying to build texlive. When I try to build texlive I get the following error:
Quote:

checking whether yytext is a pointer... yes
checking whether ln -s works... yes
checking build system type... i486-slackware-linux-gnu
checking host system type... i486-slackware-linux-gnu
checking what warning flags to pass to the C compiler... -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas
checking for clisp... clisp
checking for perl... perl
checking for latex... no
checking for elatex... no
checking for lambda... no
checking for pdflatex... no
configure: error: LATEX is required to build xindy rules
=== configuring in xindy failed
make[2]: *** [subutils] Error 1
make[2]: Leaving directory `/tmp/SBo/texlive-20120701-source/build/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/texlive-20120701-source/build/utils'
make: *** [all-recursive] Error 1
bash-4.2#
pkgtools shows tetex-3.0-i486-8.txz and tetex-doc-3.0-i486-8.txz as being
installed. I've removed both packages and re-installed them with:
Code:

cd /Downloads/k9copy/ffmpeg/texlive
removepkg tetex-3.0-i486-8.txz
removepkg tetex-doc-3.0-i486-8.txz
installpkg tetex-3.0-i486-8.txz
installpkg tetex-doc-3.0-i486-8.txz

and I still get the build error. I've sent an email to slackbuild.org, and the response was
Quote:

"Note that this package is intended to completely replace (and then some) the tetex packages in Slackware, so you'll need to remove tetex and tetex-doc before installing TeXLive (but NOT before BUILDING it)."
What am I overlooking? A bit of help would be appreciated.

Thanks.

Larry

ponce 10-13-2012 08:25 AM

you don't need texlive to build ffmpeg, you need just tetex in slackware.

when you build your packages you need to become root with
Code:

su -
not just
Code:

su
it's in ffmpeg's README

besides that, k9copy it's not yet compatible with ffmpeg-0.11 in slackbuilds.org.

Petri Kaukasoina 10-13-2012 08:25 AM

Quote:

Originally Posted by lkraemer (Post 4804635)
Code:

bash-4.2# which texi2html
which: no texi2html in (/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin)
bash-4.2#


Tetex is enough, you do not need texlive. Tetex has texi2html in /usr/share/texmf/bin/texi2html. /usr/share/texmf/bin should be in your PATH because it is set in /etc/profile.d/tetex.sh. Seems that you have reset the PATH variable to not include e.g. tetex binaries, as your PATH only has /usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin.

lkraemer 10-13-2012 09:14 AM

ponce & Petri Kaukasoina,
Thanks for the information. I now see what I was doing wrong to not have the proper path.

THANKS.

Larry


All times are GMT -5. The time now is 11:17 PM.