-   Slackware (
-   -   Compile error with slackbuild and auctex. Says I'm missing LaTeX. (

kevin01123 09-18-2009 03:16 PM

Compile error with slackbuild and auctex. Says I'm missing LaTeX.

configure: error: LaTeX not found, aborting!
You must install LaTeX for preview to work.

When I type "latex" in the command line, it comes to fine. I also have all the tex packages from the install CD installed.

Didier Spaier 09-18-2009 03:29 PM

Same here.

I just reported that to mailing list.

larryhaja 09-18-2009 03:35 PM

Run the script as "su -" rather then "su".

Didier Spaier 09-18-2009 03:45 PM

Yes, but that's the first time I have to do so to run a Slackbuild. Should be written in the README, IMHO.

larryhaja 09-18-2009 04:55 PM

Or all slackbuilds should be run as "su -".

brianL 09-18-2009 05:02 PM

I made the same mistake with Qemu, using sbopkg. I've always used su and had no problems 'til then, when it failed to find texi2html. That's when I learned I should use su -.

ryank900 07-07-2011 06:37 PM

su -
works for me, texlive + auctex

Diantre 07-07-2011 06:59 PM

An alternative I've used in the past, before I knew of su -, is to add the required path to root's $PATH. So I used to add /usr/share/texmf/bin to ~.bashrc, so root's non-login shells have the path defined.

willysr 07-07-2011 08:01 PM

It's mentioned on the HOWTO

Diantre 07-07-2011 08:35 PM

Indeed it is! Never bothered to read it before, learn it the hard way. Thanks for the heads-up.

All times are GMT -5. The time now is 01:01 AM.