Gentoo Archives: gentoo-user

From: Rodrigo Lazo <rlazo.paz@×××××.com>
To: Gentoo User Mailing List <gentoo-user@l.g.o>
Subject: [gentoo-user] kpathsea(latex) search path problem
Date: Tue, 15 Aug 2006 06:18:12
Message-Id: 86y7tqpluf.fsf@mash.doux
1 Hi,
2
3 I've been facing a lot of issues using latex under my user for quite
4 some time and now I (think) finally get to the root of the problem.
5
6 Using latex under my normal user is soooo frustraiting, it take about
7 5 or 6 second *just* to start compiling it. I use to wonder what it
8 was doing all that time, now I have some clues. Under root the
9 compilation was automatic, less than a second.
10
11 using this command:
12
13 latex -kpathsea-debug=25
14
15 under boot I found that as my user it searchs *ALL* my home directory.
16
17 This is where the output of the above command is different:
18
19 AS ROOT
20 kdebug:kpse_normalize_path (/root/.texmf-config) => 1
21 kdebug:kpse_normalize_path (/root/.texmf-config) => 1
22 kdebug:path element /root/.texmf-config => /root/.texmf-config/
23 kdebug:kpse_normalize_path (/root/.texmf-config/ls-R) => 1
24 kdebug:kpse_normalize_path (/root/.texmf-config/ls-r) => 1
25
26 AS MY USER
27
28 kdebug:kpse_normalize_path (/home/rodrigo//.texmf-config) => 1
29 kdebug:kpse_normalize_path (/home/rodrigo//.texmf-config) => 1
30 kdebug:dir_links(/home/rodrigo/m) => -1
31 kdebug:dir_links(/home/rodrigo/r) => -1
32 .
33 .
34 .
35 (all my directory hierarchy, a some of thousand of file)
36 kdebug:path element /home/rodrigo//.texmf-config => /home/rodrigo/.texmf-config/
37 kdebug:kpse_normalize_path (/home/rodrigo/.texmf-config/ls-R) => 1
38 kdebug:kpse_normalize_path (/home/rodrigo/.texmf-config/ls-r) => 1
39
40 Why is that? How could I fix it?
41
42 Regards
43
44 --
45
46 Rodrigo Lazo (rlazo)
47 --
48 gentoo-user@g.o mailing list