LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-18-2009, 03:16 PM   #1
kevin01123
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Rep: Reputation: 0
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.
 
Old 09-18-2009, 03:29 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Same here.

I just reported that to SlackBuilds.org mailing list.
 
Old 09-18-2009, 03:35 PM   #3
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Run the script as "su -" rather then "su".
 
1 members found this post helpful.
Old 09-18-2009, 03:45 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Yes, but that's the first time I have to do so to run a Slackbuild. Should be written in the README, IMHO.
 
Old 09-18-2009, 04:55 PM   #5
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Or all slackbuilds should be run as "su -".
 
Old 09-18-2009, 05:02 PM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
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 -.
 
Old 07-07-2011, 06:37 PM   #7
ryank900
LQ Newbie
 
Registered: Jan 2011
Distribution: slackware
Posts: 3

Rep: Reputation: 0
su -
works for me, texlive + auctex
thanks!
 
Old 07-07-2011, 06:59 PM   #8
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
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.
 
Old 07-07-2011, 08:01 PM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
It's mentioned on the HOWTO
http://slackbuilds.org/howto/#su
 
1 members found this post helpful.
Old 07-07-2011, 08:35 PM   #10
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to compile libphp5.so with 12.2 php.Slackbuild (trying to add mycrypt) brainycat Slackware 9 02-17-2009 10:46 PM
ftape missing modversions.h compile error. RRolleston Debian 4 11-15-2005 12:29 AM
BZFlag missing gl.h compile error Moloko Debian 1 10-22-2005 10:18 AM
cannot insert latex environment using emacs (C-c C-e) with auctex parv Linux - Software 6 09-02-2004 01:19 AM
.SlackBuild optimize compile, need help chemtraX Slackware 4 05-27-2004 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration