LinuxQuestions.org
Review your favorite Linux distribution.
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, 04: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, 04:29 PM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,661

Rep: Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236
Same here.

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

Rep: Reputation: 76
Run the script as "su -" rather then "su".
 
1 members found this post helpful.
Old 09-18-2009, 04:45 PM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,661

Rep: Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236Reputation: 1236
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, 05:55 PM   #5
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 293

Rep: Reputation: 76
Or all slackbuilds should be run as "su -".
 
Old 09-18-2009, 06:02 PM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,139
Blog Entries: 52

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, 07: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, 07:59 PM   #8
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware64 14.1
Posts: 397

Rep: Reputation: 153Reputation: 153
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, 09:01 PM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,621

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

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:46 PM
ftape missing modversions.h compile error. RRolleston Debian 4 11-15-2005 01:29 AM
BZFlag missing gl.h compile error Moloko Debian 1 10-22-2005 11:18 AM
cannot insert latex environment using emacs (C-c C-e) with auctex parv Linux - Software 6 09-02-2004 02:19 AM
.SlackBuild optimize compile, need help chemtraX Slackware 4 05-27-2004 05:09 PM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration