hi all, LateX (part of tetex) on Arch 0.8 runs very very slowly. It searchs for ~/.texmf-config in every (sub)directories of my $HOME. So strangely! Everything that tex should look for is the files in current directory (doesnot include its sub directories) and the $HOME/.texmf-config.
Please explain! I cannot suffer this very slow tetex! -- kyanh === BELOW THE CODE === # creating the tex file $ cat > foobar.tex <<\eof > \documentclass{article} > \begin{document} > \end{document} > eof # timing $ time latex foobar.tex # tex log goes here real 0m3.259s user 0m1.988s sys 0m0.764s # use strace to see what goes wrong... $strace latex foobar.tex open("/home/users/kyanh/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3 fstat64(3, {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 stat64("/home/users/kyanh/.texmf-config", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 getdents64(3, /* 131 entries */, 4096) = 4072 stat64("/home/users/kyanh/tmp", {st_mode=S_IFDIR|0755, st_size=131072, ...}) = 0 stat64("/home/users/kyanh/tmp/.texmf-config", 0xbfc3185c) = -1 ENOENT (No such file or directory) open("/home/users/kyanh/tmp/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4 fstat64(4, {st_mode=S_IFDIR|0755, st_size=131072, ...}) = 0 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 stat64("/home/users/kyanh/tmp/.texmf-config", 0xbfc317fc) = -1 ENOENT (No such file or directory) getdents64(4, /* 25 entries */, 4096) = 936 stat64("/home/users/kyanh/tmp/x", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("/home/users/kyanh/tmp/x/.texmf-config", 0xbfc317fc) = -1 ENOENT (No such file or directory) stat64("/home/users/kyanh/tmp/xyz", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 stat64("/home/users/kyanh/tmp/xyz/.texmf-config", 0xbfc317fc) = -1 ENOENT (No such file or directory) stat64("/home/users/kyanh/tmp/vnmik-3.0.3.zip", {st_mode=S_IFREG|0600, st_size=29769743, ...}) = 0 stat64("/home/users/kyanh/tmp/svn", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("/home/users/kyanh/tmp/svn/.texmf-config", 0xbfc317fc) = -1 ENOENT (No such file or directory) stat64("/home/users/kyanh/tmp/w32tex", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("/home/users/kyanh/tmp/w32tex/.texmf-config", 0xbfc317fc) = -1 ENOENT (No such file or directory) stat64("/home/users/kyanh/tmp/gentoo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("/home/users/kyanh/tmp/gentoo/.texmf-config", 0xbfc317fc) = -1 ENOENT (No such file or directory) open("/home/users/kyanh/tmp/gentoo/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5 _______________________________________________ arch mailing list arch@archlinux.org http://www.archlinux.org/mailman/listinfo/arch