LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Compile error with slackbuild and auctex. Says I'm missing LaTeX. (http://www.linuxquestions.org/questions/slackware-14/compile-error-with-slackbuild-and-auctex-says-im-missing-latex-756252/)

kevin01123 09-18-2009 04:16 PM

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

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 04:29 PM

Same here.

I just reported that to SlackBuilds.org mailing list.

larryhaja 09-18-2009 04:35 PM

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

Didier Spaier 09-18-2009 04: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 05:55 PM

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

brianL 09-18-2009 06: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 07:37 PM

su -
works for me, texlive + auctex
thanks!

Diantre 07-07-2011 07: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 09:01 PM

It's mentioned on the HOWTO
http://slackbuilds.org/howto/#su

Diantre 07-07-2011 09: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 03:59 AM.