Philipp Reichmuth | 1 Nov 2006 10:53
Picon

AucTeX install problem on EmacsW32

Hi everybody,

I am experiencing an installation problem with AUCTeX with the patched 
version of EmacsW32 on Windows XP.  It happens with AucTeX CVS
and the 11.83 release alike.  The 'make' part of the installation fails 
with an error in byte-compiling tex-info.el, see the make output below.

The machine is running Windows XP SP2, the TeX distribution is W32TeX,
the Emacs version is GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
  of 2006-10-23 on W2ONE.  Since the wrapper script (emacs.cmd) does not 
do anything useful in many situations and makes AucTeX's check for Emacs 
vs. XEmacs fail, I have to bypass it for the purpose of this 
installation.  (I guess in the long run it would be less trouble if the 
other EmacsW32 binaries such as GnuServ etc. would be packaged in the 
original emacs directory.  The convenience of having a command "emacs" 
that passes its commandline to gnuclientw is IMHO not worth the 
compatibility problem.)

I'm asking this separately on the AucTeX list, but since they are likely 
to point out that this might well be EmacsW32's fault, I'm posting it 
here as well.

Anyway, here's AucTeX's configure output from a CVS checkout:
--------------------------------------------------------------------
reichmuth <at> Elektra /cygdrive/c/down/tex/auctex-cvs/auctex
$ ./configure --prefix='C:/Tools/Emacs'
--with-texmf-dir='C:/W32TeX/share/texmf -local'
--with-emacs='C:/Tools/Emacs/bin/Emacs.exe'
checking for make... make
checking whether make sets $(MAKE)... yes
(Continue reading)

Lennart Borgman | 1 Nov 2006 17:29
Picon
Picon
Favicon

Re: AucTeX install problem on EmacsW32

Philipp Reichmuth wrote:
> Hi everybody,
>
> I am experiencing an installation problem with AUCTeX with the patched 
> version of EmacsW32 on Windows XP.  It happens with AucTeX CVS
> and the 11.83 release alike.  The 'make' part of the installation 
> fails with an error in byte-compiling tex-info.el, see the make output 
> below.
>
> The machine is running Windows XP SP2, the TeX distribution is W32TeX,
> the Emacs version is GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
>  of 2006-10-23 on W2ONE.  Since the wrapper script (emacs.cmd) does 
> not do anything useful in many situations and makes AucTeX's check for 
> Emacs vs. XEmacs fail, I have to bypass it for the purpose of this 
> installation.  (I guess in the long run it would be less trouble if 
> the other EmacsW32 binaries such as GnuServ etc. would be packaged in 
> the original emacs directory.  The convenience of having a command 
> "emacs" that passes its commandline to gnuclientw is IMHO not worth 
> the compatibility problem.)

Just rename the wrapper script emacs.cmd if it gets in your way.

Gnuserv etc is a temporary solution until emacsclient/server is ready 
for use on MS Windows. They will soon be that and then I will use them 
instead in EmacsW32.

It would be very good if you tried the same thing that you have had 
problem with with the unpatched EmacsW32 binaries. If you remove 
emacs.el, site-lisp.el and default.el files you have nothing but a bare 
bone Emacs. (BTW, please always try this if you have any problems.)
(Continue reading)

Philipp Reichmuth | 2 Nov 2006 11:12
Picon

Re: AucTeX install problem on EmacsW32

Lennart Borgman schrieb:
> It would be very good if you tried the same thing that you have had 
> problem with with the unpatched EmacsW32 binaries. If you remove 
> emacs.el, site-lisp.el and default.el files you have nothing but a bare 
> bone Emacs. (BTW, please always try this if you have any problems.)

Thanks to the excellent AucTeX team, we tracked it down to a couple of 
broken files in the EmacsW32 distribution that contain leftovers from 
CVS merge conflicts, notably Emacs/lisp/shell.el, line 301 (and 
Emacs/lisp/progmodes/ada-xref.el, line 1919).  Could you check those in 
your tree?

Philipp

Lennart Borgman | 2 Nov 2006 19:51
Picon
Picon
Favicon

Re: Re: AucTeX install problem on EmacsW32

Philipp Reichmuth wrote:
> Lennart Borgman schrieb:
>> It would be very good if you tried the same thing that you have had 
>> problem with with the unpatched EmacsW32 binaries. If you remove 
>> emacs.el, site-lisp.el and default.el files you have nothing but a 
>> bare bone Emacs. (BTW, please always try this if you have any problems.)
>
> Thanks to the excellent AucTeX team, we tracked it down to a couple of 
> broken files in the EmacsW32 distribution that contain leftovers from 
> CVS merge conflicts, notably Emacs/lisp/shell.el, line 301 (and 
> Emacs/lisp/progmodes/ada-xref.el, line 1919).  Could you check those 
> in your tree?
>
> Philipp
>

I am glad you solved the problem.

And I am sorry for the inconvenience. I thought I had added a check for 
merge conflicts to avoid uploading broken distributions. Obviously I 
have forgotten that before.

I will upload a new version of the patched Emacs+EmacsW32 later today.

Lennart Borgman | 3 Nov 2006 14:34
Picon
Picon
Favicon

Re: Re: AucTeX install problem on EmacsW32

Lennart Borgman wrote:
> Philipp Reichmuth wrote:
>> Lennart Borgman schrieb:
>>> It would be very good if you tried the same thing that you have had 
>>> problem with with the unpatched EmacsW32 binaries. If you remove 
>>> emacs.el, site-lisp.el and default.el files you have nothing but a 
>>> bare bone Emacs. (BTW, please always try this if you have any 
>>> problems.)
>>
>> Thanks to the excellent AucTeX team, we tracked it down to a couple 
>> of broken files in the EmacsW32 distribution that contain leftovers 
>> from CVS merge conflicts, notably Emacs/lisp/shell.el, line 301 (and 
>> Emacs/lisp/progmodes/ada-xref.el, line 1919).  Could you check those 
>> in your tree?
>>
>> Philipp
>>
>
> I am glad you solved the problem.
>
> And I am sorry for the inconvenience. I thought I had added a check 
> for merge conflicts to avoid uploading broken distributions. Obviously 
> I have forgotten that before.
>
> I will upload a new version of the patched Emacs+EmacsW32 later today.
>

I have uploaded new versions of both the patched and unpatched 
distributions. Maybe it would be good if you tried again now?

(Continue reading)


Gmane