[tex-live] Fwd: Running In Ubuntu, within Virtualbox on Windows

George N. White III gnwiii at gmail.com
Fri Mar 5 13:47:09 CET 2010


On Fri, Mar 5, 2010 at 7:40 AM, Philip Stubbs <philip at stuphi.co.uk> wrote:
> Opps. Sorry George.
>
>
> ---------- Forwarded message ----------
> From: Philip Stubbs <philip at stuphi.co.uk>
> Date: 5 March 2010 11:32
> Subject: Re: [tex-live] Running In Ubuntu, within Virtualbox on Windows
> To: "George N. White III" <gnwiii at gmail.com>
>
>
> On 5 March 2010 11:25, George N. White III <gnwiii at gmail.com> wrote:
>> On Fri, Mar 5, 2010 at 7:12 AM, Philip Stubbs <philip at stuphi.co.uk> wrote:
>>
>>> I Have Ubuntu Linux installed within a virtualbox on top of a Windows
>>> system. My files are on a windows server that I can mount within
>>> Ubuntu. I can see and edit my files from within Ubuntu just fine.
>>> However, when I try and run LaTeX, it complains that the file is not
>>> found.
>>>
>>> Does anybody have a clue as to what is going wrong?
>>
>> We need more information.  You should provide the exact command
>> and error message.
>
> philip at philip-desktop:/mnt/danmail/Engineering/Full/CAD_Home/PhilStubbs/reports/2010/10-03_M1_with_L160_LED$
> ls -l
> total 5
> -rwxr-xr-x 1 philip philip 3055 2010-02-19 12:29 10-03_M1_with_L160_LED.tex
> drwxr-xr-x 1 philip philip    0 2010-02-19 12:33 colour
> drwxr-xr-x 1 philip philip    0 2010-02-19 12:01 data
> drwxr-xr-x 1 philip philip    0 2010-02-19 11:59 goni
> drwxr-xr-x 1 philip philip    0 2010-02-19 10:48 images
> philip at philip-desktop:/mnt/danmail/Engineering/Full/CAD_Home/PhilStubbs/reports/2010/10-03_M1_with_L160_LED$
> latex 10-03_M1_with_L160_LED.tex
> This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
>  restricted \write18 enabled.
> entering extended mode
> ! I can't find file `10-03_M1_with_L160_LED.tex'.
> <*> 10-03_M1_with_L160_LED.tex
>
> (Press Enter to retry, or Control-D to exit)
> Please type another input file name:

Interesting.   What does "kpsewhich st10-03_M1_with_L160_LED.tex" give?
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.

>>> If I have not explained the situation well enough, please say so that
>>> I can add any extra information that may help sort this issue out.
>>
>> Are you using CTAN TeX Live that you installed yourself or the
>> Ubuntu packaged version?   If CTAN, did you install TL on the windows
>> drive or in the virtual disk?
>
> It is the version of LaTeX that comes with Ubuntu. I am running 10.04,
> but the same thing happened with 9.10.
>
>>
>> Does LateX work if you copy the file to the virtual disk?
>
> It does just fine. However, I need my files to be on the server
> because the backups only happen on the server.
>>
>> Are you using a GUI environment to run LaTeX or the command
>> line?
>
> Command line
>
>>
>> What happens if you run "pdflatex sample2e" in a terminal?
>
> philip at philip-desktop:/mnt/danmail/Engineering/Full/CAD_Home/PhilStubbs/reports/2010/10-03_M1_with_L160_LED$
> pdflatex sample2e
> This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
>  restricted \write18 enabled.
> entering extended mode
> (/usr/share/texmf-texlive/tex/latex/base/sample2e.tex
> LaTeX2e <2009/09/24>
> Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
> yphenation, farsi, arabic, croatian, bulgarian, ukrainian, russian, czech, slov
> ak, danish, dutch, finnish, french, basque, ngerman, german, german-x-2009-06-1
> 9, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek, hungarian, san
> skrit, italian, latin, latvian, lithuanian, mongolian2a, mongolian, bokmal, nyn
> orsk, romanian, irish, coptic, serbian, turkish, welsh, esperanto, uppersorbian
> , estonian, indonesian, interlingua, icelandic, kurmanji, slovenian, polish, po
> rtuguese, spanish, galician, catalan, swedish, ukenglish, pinyin, loaded.
> (/usr/share/texmf-texlive/tex/latex/base/article.cls
> Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
> (/usr/share/texmf-texlive/tex/latex/base/size10.clo))
> No file sample2e.aux.
> (/usr/share/texmf-texlive/tex/latex/base/omscmr.fd) [1{/var/lib/texmf/fonts/map
> /pdftex/updmap/pdftex.map}] [2] [3]
> ! I can't find file `sample2e.aux'.
> \enddocument ...makeatletter \input \jobname .aux
>                                                  \fi \@dofilelist \ifdim \f...
> l.204 \end{document}
>                                   % End of document.
> (Press Enter to retry, or Control-D to exit)
> Please type another input file name:

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):

<http://www.openoffice.org/issues/show_bug.cgi?id=104974>
"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.

>> --
>> George N. White III <aa056 at chebucto.ns.ca>
>> Head of St. Margarets Bay, Nova Scotia
>
> Thanks for your help.
>
>
>
> --
> Philip Stubbs
>
>
>
> --
> Philip Stubbs
>
>



-- 
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia



More information about the tex-live mailing list