Discussion:
Windows change?
Sean Hallgren
2005-02-24 17:07:00 UTC
Permalink
Hi,

I'm trying to install auc-tex on XP and my old init files (that work on
several other computers running XP) don't work. I get: "File mode
specification error: (void-variable TeX-auto-global". This seems to be
a result of calling (autoload 'tex-mode "tex" no-doc t) in tex-site.el.
I tried commenting that out, which gives no error, but C-c C-c doesn't
work in any case. Did something change? I saw a complicated looking
install thing at "Installation under MS Windows", but I don't see a
date, so I don't know if that's new or old. Plus doing seems complicated.

Thanks,

Sean
Ralf Angeli
2005-02-24 17:41:06 UTC
Permalink
Post by Sean Hallgren
I'm trying to install auc-tex on XP and my old init files (that work on
several other computers running XP) don't work. I get: "File mode
specification error: (void-variable TeX-auto-global". This seems to be
a result of calling (autoload 'tex-mode "tex" no-doc t) in tex-site.el.
I tried commenting that out, which gives no error, but C-c C-c doesn't
work in any case. Did something change?
Yes, a lot. tex-site.el is not a user-editable file anymore but will
be generated automatically when AUCTeX is being configured. You
should get rid of your old tex-site.el and do customizations in your
user init file (e.g. via `M-x customize-group RET AUCTeX RET').
Post by Sean Hallgren
I saw a complicated looking
install thing at "Installation under MS Windows", but I don't see a
date, so I don't know if that's new or old.
The version an AUCTeX manual applies to is mentioned right at the
start of the manual.
--
Ralf
Sean Hallgren
2005-02-24 18:33:36 UTC
Permalink
Thanks for your answers. I guess I don't understand the overall
interaction between things. I just downloaded the latest XEmacs and
Miktex for XP. Since XEmacs seems to have the auctex package when I
download it, do I still need to download it separately? Is there
anything easier than doing configure, make, etc (for some reason that
wasn't necessary before). I did not see any bug report commands. I
can't get configure to work. I tried many things, including:

***@pc-hallgren2 /cygdrive/c/Documents and
Settings/hallgren.NECI/Desktop/a
uctex/auctex-11.55
$ ./configure --prefix 'c:\Program Files\XEmacs' -with-xemacs
'/cygdrive/c/Prog
ram Files/XEmacs/'
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /cygdrive/c/Program Files/XEmacs/
checking whether make sets $(MAKE)... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for xemacs... no
checking for emacs... no
checking for xemacs... no
configure: error: (X)Emacs not found! Aborting!

Thanks,

Sean
Ralf Angeli
2005-02-25 07:58:31 UTC
Permalink
Post by Sean Hallgren
Thanks for your answers. I guess I don't understand the overall
interaction between things. I just downloaded the latest XEmacs and
Miktex for XP. Since XEmacs seems to have the auctex package when I
download it, do I still need to download it separately?
That depends on the version shipped with XEmacs. The best choice
currently is AUCTeX 11.55 which is available as an XEmacs package in
pre-release state. There should be instructions on how to get and
install it on the XEmacs web site.
Post by Sean Hallgren
Is there
anything easier than doing configure, make, etc (for some reason that
wasn't necessary before).
Maybe the package mentioned above (in contrast to the installation
with `./configure', `make' and `make install') suits you better.
Post by Sean Hallgren
I did not see any bug report commands. I
Settings/hallgren.NECI/Desktop/a
uctex/auctex-11.55
$ ./configure --prefix 'c:\Program Files\XEmacs' -with-xemacs
'/cygdrive/c/Prog
ram Files/XEmacs/'
The switch for XEmacs is called --with-xemacs, not -with-xemacs. And
has to be the path including the executable. If this is working, you
will probably want to check if the resulting package directory suits
you. If not, you should use the --with-packagedir option and specify
the site-packages directory of your XEmacs installation or a folder in
your home directory where XEmacs looks for packages.

I am not sure about quoting on Windows. If the above gives problems,
you could try with "double" quotes.

Anyway, if you use the XEmacs package, you don't have to do the
configuration procedure.
--
Ralf
David Kastrup
2005-02-24 18:03:06 UTC
Permalink
Post by Sean Hallgren
I'm trying to install auc-tex on XP and my old init files (that work
on several other computers running XP) don't work. I get: "File
mode specification error: (void-variable TeX-auto-global". This
seems to be a result of calling (autoload 'tex-mode "tex" no-doc t)
in tex-site.el. I tried commenting that out, which gives no error,
but C-c C-c doesn't work in any case. Did something change?
Why would we release new versions if nothing changed?
Post by Sean Hallgren
I saw a complicated looking install thing at "Installation under MS
Windows", but I don't see a date, so I don't know if that's new or
old. Plus doing seems complicated.
The AUCTeX package comes with installation instructions inside. Those
are accurate (as well as we could manage) for the version of AUCTeX
that they are contained in. Please don't just use any instructions
you find flying around on the web: of course they will more likely
than not be wrong for the particular version of AUCTeX you are using.

Packages change, and so do the instructions for "init files". Without
you using the bug report commands or including the information by
hand, it is impossible to guess what you might have been writing in
your init files, and what version of AUCTeX you are trying to get to
work.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Continue reading on narkive:
Loading...