[tex-live] Fwd: Running In Ubuntu, within Virtualbox on Windows
George N. White III
gnwiii at gmail.com
Fri Mar 5 20:29:57 CET 2010
On Fri, Mar 5, 2010 at 2:21 PM, Philip Stubbs <philip at stuphi.co.uk> wrote:
> On 5 March 2010 12:47, George N. White III <gnwiii at gmail.com> wrote:
>> Interesting. What does "kpsewhich st10-03_M1_with_L160_LED.tex" give?
> Nothing at all.
You should get the filename, e.g.:
$ kpsewhich st10-03_M1_with_L160_LED.tex
This is very helpful as kpsewhich has lots of debugging support.
>> You can use "strace latex ..." to see what system call is failing. This will
>> generate a huge amount of output, so you need to set a terminal with lots
>> of scrolback space or use a shell in an emacs buffer.
>> Was the sample2e.aux file created? What about log files?
>> This smells like a problem with using mmap2 on a CIFS
>> filesystem (using StarOffice aka OpenOffice):
>> "StarOffice is trying to mmap(2) a file in the smbfs mount point, which
>> returns ENOSYS because smbfs(7fs) does not support mmap"
>> At work we deal with hdf files and often have problems with apps
>> failing for files on CIFS mounts due to the same issue. On Ubuntu
>> "man mmap" has explanations for a long list of possible errors.
> I did a quick test with trace. The last line before it stopped did
> have mmap in it. I can't give more details now, as I am at home, but I
> will definitely follow this line of inquiry on Monday.
pdftex uses mmap2 for lots of files -- you need to look for
entering extended mode
open("st10-03_M1_with_L160_LED.tex", O_RDONLY) = 3
I installed Samba on my Ubuntu 9.10 box and mounted my home directory
using cifs on the same machine and can't reproduce the error.
$ df -t cifs
Filesystem 1K-blocks Used Available Use% Mounted on
//localhost/gwhite 159038260 77037176 73986032 52% /mnt/cifs/gwhite
$ cat st10-03_M1_with_L160_LED.tex
A quick brown fox jumps over the lazy dog.
$ latex st10-03_M1_with_L160_LED.tex
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)
entering extended mode
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
No file st10-03_M1_with_L160_LED.aux.
 (./st10-03_M1_with_L160_LED.aux) )
Output written on st10-03_M1_with_L160_LED.dvi (1 page, 264 bytes).
Transcript written on st10-03_M1_with_L160_LED.log.
In my test using CTAN TL2009 the tex source file is not memory mapped.
Your version may behave differently, but the kpathsea problem suggests
that the problem is elsewhere.
> Philip Stubbs
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
More information about the tex-live