LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 04-02-2008, 05:51 AM   #1
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
latex issues on slackware 12.0; does not run when non-root


Hi,

I'm having trouble using latex on my slackware 12.0 installation. When I issue a command "latex report.tex" as a regular user, nothing happens. No output, the program does not exit, no messages, errors, warnings or anything, it just sits there. No log files are generated.

I can how ever get help and the version information

Code:
[sohail@darkstar:/home/sohail/docs/tustuff/thesis/report]> latex -v
pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea version 3.5.4
Copyright (C) 1997-2004 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright (C) 1997-2004 Free Software Foundation, Inc.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfeTeX copyright and
the GNU General Public License.
For more information about these matters, see the files
named COPYING and the pdfeTeX source.
Primary author of pdfeTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry and others.
As root however everything works as expected.

Code:
root@darkstar:/home/sohail/docs/tustuff/bep/report# pdflatex report.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
...
...
And endsup building my report.

This looks like a permissions issue. But where do I begin solving this? The program it self does not give me any clues.
 
Old 04-02-2008, 02:41 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,627
Blog Entries: 10

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
You run it under strace ...

strace -vf -o latex.out pdflatex report.tex

and then look through latex.out after completion ;}


And for the record: it works just fine on my Slack12 install.
What did you do to yours?



Cheers,
Tink
 
Old 04-04-2008, 02:58 PM   #3
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Original Poster
Rep: Reputation: 45
Hi,

Thank you very much. I solved the issue with your help. I looked at latex.out for clues and this is what found.

This is actually quite stupid. Latex apparently searches your entire home directory for some system files, which in it self is something I just don't get. The reason it ended up stuck is that my installation of wine had a circular symbolic link. So "/home/sohail/data/wine/drive_c/windows/profiles/sohail/My Video" was a symlink to my home directory. So latex ended up searching in directories such as "/home/sohail/data/wine/drive_c/windows/profiles/sohail/My Video/data/wine/drive_c/windows/profiles/sohail/My Video" and so forth, ad infinitum.

Anyway, I fixed the problem and now latex workes as expected.

Thanks again!

Last edited by schatoor; 04-04-2008 at 02:59 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is a script, run at boot time from init.d, run with root authority? tmbrwolf53 Linux - Server 2 03-31-2007 08:15 PM
Latex Issues bng Linux - Newbie 3 06-10-2005 01:27 PM
Latex Compiling Issues ??? teckboy1243 Linux - Software 4 04-04-2005 02:30 PM
LaTeX commands: texi2pdf, latex, dvipdf kaon Linux - Software 7 01-23-2005 03:32 PM
The_Sims for Linux doesnt run in regular User, but in Root. Slackware issue. RHLinuxGUY Linux - Games 4 11-02-2004 09:35 PM


All times are GMT -5. The time now is 12:58 PM.

Main Menu
 
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
Open Source Consulting | Domain Registration