installing dblatex - needs latex

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

installing dblatex - needs latex

Post by mimosa »

I tried installing this from src but what looks like the backend is missing:

Code: Select all

+checking makeindex... no
+checking pdflatex... no
+checking kpsewhich... no
Error: not found: latex, makeindex, pdflatex, kpsewhich
fakeroot -- sh dblatex.SlackBuild Failed
I also tried texlive (in the hope that it came with the kitchen sink) but it also eventually fails:

Code: Select all

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 `/usr/src/slapt-src/office/texlive/texlive-20120701-source/build/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/slapt-src/office/texlive/texlive-20120701-source/build/utils'
make: *** [all-recursive] Error 1
fakeroot -- sh texlive.SlackBuild Failed
I've searched the repos for latex, but found no obvious candidates that might include it. doxygen and linuxdoc-utils are installed.

Can anyone point me in the right direction?
kcirick
Posts: 41
Joined: 13. Dec 2012, 05:34

Re: installing dblatex - needs latex

Post by kcirick »

Hello,

I have texlive installed (From http://rlworkman.net/pkgs/ - Note that this is HUGE - 1.4G), and I have all the latex stuff working.

I hope this helps!
Image
User avatar
gapan
Salix Wizard
Posts: 6365
Joined: 6. Jun 2009, 17:40

Re: installing dblatex - needs latex

Post by gapan »

You obviosly need latex to build dblatex. What is not so obvious is that you need latex to build texlive.

So, your choices are:
1. Use the slackware tetex package which is old and is missing a lot of modern latex stuff and probably won't work at all with some modern latex files. But it's probably enough if you only want to build dblatex or texlive and remove it afterwards.
2. Use the texlive package from Robby Workman that kcirick pointed to (I didn't know about it and I don't know how well it works, but it probably works just fine - BTW, thanks kcirick).
3. Download the latest texlive iso and install the binaries somewhere in your hard drive. I have it install under ~/texlive and added the bin dir in there in my PATH, but you could also install it under /opt/texlive or whatever. This way you get to control exactly what parts of latex are installed (scripts, languages, fonts etc).
Image
Image
kcirick
Posts: 41
Joined: 13. Dec 2012, 05:34

Re: installing dblatex - needs latex

Post by kcirick »

gapan wrote:You obviosly need latex to build dblatex. What is not so obvious is that you need latex to build texlive.

So, your choices are:
1. Use the slackware tetex package which is old and is missing a lot of modern latex stuff and probably won't work at all with some modern latex files. But it's probably enough if you only want to build dblatex or texlive and remove it afterwards.
2. Use the texlive package from Robby Workman that kcirick pointed to (I didn't know about it and I don't know how well it works, but it probably works just fine - BTW, thanks kcirick).
3. Download the latest texlive iso and install the binaries somewhere in your hard drive. I have it install under ~/texlive and added the bin dir in there in my PATH, but you could also install it under /opt/texlive or whatever. This way you get to control exactly what parts of latex are installed (scripts, languages, fonts etc).
So:
1. tetex is dead (See top of http://www.tug.org/tetex/ : Not active since 2006, and the author recommends to use texlive. I'm not entirely sure why Slackware does not move on to texlive). I use latex a lot, and tetex that came with Slackware 14 was not sufficient for my use. Hence the installation of texlive
2. The texlive package worked (for me) great on top of Salix full installation. As I mentioned, this is a huge package, so I suspect it is the full texlive (For example, arch linux has texlive package broken down into several components. See https://wiki.archlinux.org/index.php/Texlive ).
3. If you want, you can build it yourself using slackbuild (http://slackbuilds.org/repository/14.0/office/texlive/). I never tried, and I'm not sure if this is what you've already tried or not...
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: installing dblatex - needs latex

Post by mimosa »

Thanks kcirick and gapan :)

@gapan (overlapping with kcirick, but for the sake of the numbers):

i've tried 1) and 2) with no luck, That is, I tried dblatex from slackbuilds.org, and the texlive slackbuild (by Robbie Workman) from the same source, then tried both those again with tetex installed from the repos. I could try the texlive you link to, but I bet it won't work because I'm missing some dep; otherwise why doesn't the SlackBuild work?

EDIT rereading both your posts, I see that I *haven't* tried rworkman's *package*, just his SlackBuild. Maybe the former will do it. I do hope the download is a bit quicker than the "source" the latter points at.

I should say my only interest in dblatex is that it is a build dep for the GHC docs.

I'm puzzled by your suggestion (3) given that the texlive SlackBuild fails because of missing latex et al as deps. Shouldn't it include them, if they are included in the download you mention? I can certainly try it but I bet I'm missing something more basic, otherwise it would have worked already.

The difference between me and the typical case is I don't use Latex day to day. It's like not having cmake. That would never happen to a serious hacker.
User avatar
gaucho
Donor
Posts: 125
Joined: 23. Dec 2010, 19:12

Re: installing dblatex - needs latex

Post by gaucho »

Hi, mimosa,

In case you decide to try installing TeX Live from an .iso (available from TUG's website), I just wanted to put in a small plug for my how-to:

http://www.salixos.org/forum/viewtopic.php?f=30&t=2128
"How-To: Installing TeX Live 2010 on Salix OS 13.1.2." 6 Mar. 2012.

I used this procedure to install TeX Live 2012 on my Salix 14.0 Xfce setup, and it is working fine. I'm using both Texmaker ver. 3.4.1 and TeXWorks ver. 0.4.4 as front-end editors. (TeXWorks is available via Sourcery).

Code: Select all

david[~]$ tex --version
TeX 3.1415926 (TeX Live 2012)
kpathsea version 6.1.0
Copyright 2012 D.E. Knuth.
I hope this will be helpful rather than muddying the waters ...
Registered Linux User # 442201

Dell OptiPlex 7050 desktop: Intel Core i5-7500 CPU, 16 GB RAM, WD 500 GB SSD, Intel HD Graphics 630
User avatar
gapan
Salix Wizard
Posts: 6365
Joined: 6. Jun 2009, 17:40

Re: installing dblatex - needs latex

Post by gapan »

mimosa, I think you're confusing my option 3, with kcirick's option 3. They are not the same.

I'm talking about installing the binary texlive distribution, using the texlive iso. There is nothing to compile, you just install the prebuilt binaries that are in the texlive iso, using the installer that is provided. That is how I have texlive installed and it works perfectly fine. That is also the recommended way to install texlive generally and it's also the easiest.
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: installing dblatex - needs latex

Post by mimosa »

Thanks to everyone for the help.

@gapan You're right, I'm confused.

The rworkman package worked, at least well enough to satisfy dblatex, which in turn satisfied ghc's ./configure:

Code: Select all

mimosa[ghc-7.4.2]$ ls /usr/bin | grep latex
arlatex
bg5+latex
bg5+pdflatex
bg5latex
bg5pdflatex
cef5latex
cef5pdflatex
ceflatex
cefpdflatex
cefslatex
cefspdflatex
cslatex
dblatex
dvilualatex
fig4latex
gbklatex
gbkpdflatex
htlatex
htxelatex
latex
latex2man
latexdiff
latexdiff-vc
latexfileversion
latexmk
latexrevise
lualatex
mllatex
pdf-slatex
pdfcslatex
pdflatex
platex
pod2latex
pslatex
sgml2latex
sjislatex
sjispdflatex
slatex
uplatex
xelatex
I guess you can't have too much latex.
Post Reply