[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-AUCTeX] Re: rel-0-9-1; installation problem

From: David Kastrup
Subject: [Bug-AUCTeX] Re: rel-0-9-1; installation problem
Date: Wed, 06 Apr 2005 23:57:25 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Jeff Flowers <address@hidden> writes:

> David Kastrup wrote:
>> Jeff Flowers <address@hidden> writes:
>>>To: address@hidden
>>>Subject: rel-0-9-1; installation problem
>>>--text follows this line--
>>>Dear Maintainer
>>>I tried to install preview latex under Windows XP using Miktex and
>>>the Cygwin tools.
>> Uh oh.  You are installing a Mingw Emacs:
> Is that bad? What is the alternative? Emacs seems okay on this
> system.

Hey, don't quote me in misleading ways: you are installing on Mingw
Emacs with Cygwin tools.  INSTALL.windows has this to say:

  2. The installation of preview-latex will require the MSYS tool set
     from `http://www.mingw.org'.  If you have the Cygwin tool set from
     `http://cygwin.com' installed, that should do just fine as well,
     but it is quite larger and slower.

     If you are installing preview-latex with one of those sets for an
     Emacs compiled in a different one, you should try to avoid
     tool-specific path names like `/cygwin/c'.  Instead, use the `c:'
     syntax.  It might also help to use forward slashes instead of the
     backward slashes more typical for MS Windows: while backward
     slashes are supposed to work if properly escaped in the shell,
     this is one area easily overlooked by the developers.

I am not sure whether possibly the "tool-specific path names" issue is
biting here.  Generally, I'd use msys with mingw Emacs, and Cygwin
with Cygwin Emacs.  As I said: I don't think that this is the issue

>>>Emacs  : GNU Emacs (i386-mingw-nt5.1.2600)
>>>  of 2005-01-30 on NONIQPC
>>>Package: rel-0-9-1
>> with Cygwin tools.  This can be somewhat problematic, though
>> probably
>> not related to your problem.
>>>The command line was
>>>$ ./configure --prefix=d:\\emacs --with-texmf-dir=c:\\texmf
>>>(athough changing the slashes to single ones or / didn't help)
>>>this gave lots of stuff seeming to find tex and emacs then
>> Uh oh.
>>>./mkinstalldirs /emacs/d:/emacs/site-lisp/preview
>> What happens if you inside of Emacs say
>> M-: (expand-file-name "d:\\emacs\\site-lisp\\preview" "\\emacs") RET
> The result is "d:/emacs/site-lisp/preview"

Looks ok.

>> Could you post the contents of the file preview-latex.el?
> attached


> (add-to-list 'load-path (expand-file-name "preview" (file-name-directory 
> load-file-name)))
> (defvar preview-icondir (expand-file-name "preview/images" 
> (file-name-directory load-file-name)))

Looks ok.  Just for the record: what is the output of
M-: preview-icondir RET

and apart from that, I am afraid that we'll need config.log to further
diagnose this.


David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]