"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
>>>>> "David" == David Kastrup
<dak(a)gnu.org> writes:
David> The complete tarball as well as the prebuilt XEmacs
David> package are available from
David> <
URL:ftp://ftp.gnu.org/pub/gnu/auctex>,
Yup. My preliminary assessment is that the sources are broken,
though it's not clear how badly.
Serves me right.
A bug report was filed; I will take a closer look sometime next
week, most likely, if the AUCTeX developers don't respond first.
While I suppose they will, I'll just give you the fast run-down here
first so that you don't waste time. It seems that you have mostly
taken a look at the source rather than the installation instructions.
Following the installation instructions would leave you with the
well-tried procedures. And that means that you are on rough ground.
This does not mean that AUCTeX per se is broken (it works if you
follow instructions), but that stuff that is not in use ordinarily
might not work. But it will not harm if we fix those things.
Principal issues: It is not obvious how to successfully configure
the install not to overwrite a working installation.
That's not unusual for a configure/make installation. Either remove
previous installations, or configure for a different target directory.
configure does not respect the user's setting of --prefix in the
presence of --without-packagedir. The default non-package install
is to site-lisp, which has been deprecated for 5 years, and may not
be enabled in the user's XEmacs.
Please note that --without-packagedir requests to ignore the XEmacs
package system and its structure completely. This particular option
should not really be used and is basically untested. It might be
saner to remove it completely. Unfortunately systems like Debian have
a weird non-package layout for some stuff, so it might actually be
needed in some cases. So we should make it either work, or throw it
out.
The default non-package install will probably try to install
documentation to .../no/man, which presumably is not very useful.
Quite so. One can help with overriding options, but this is
definitely a bug.
On *BSD, one can't build the package, without hand-editing the
Makefile or similar workaround, since it uses "cp -a" to prepare the
target directory.
Well, if you take a look at the installation instructions, you'll see
that building a binary package is not mentioned in there. The normal
configure/install basically has the effect of building and installing
the package in one step: you can remove it using XEmacs' package
manager after that. The xemacs-package target is for maintainers
only. It requires using the maintainer-only tar-ball target before,
and tar-ball checks out a fresh copy from CVS before building.
Since this stuff is undocumented and maintainer-only, it is not a
problem per se that it only run's on the maintainers' operating
systems.
While this has not yet made it into the docs (as we just have started
providing the XEmacs tarball), people are not supposed to build a
separate package file for themselves, but rather are supposed to get a
prebuilt package _if_ they want to have a standard package setup. It
is quite pointless for people to build a package which will look just
the same as a prebuilt package.
XEmacs users who are not comfortable working around the above
defects should not try to build AUCTeX from sources.
Building and installing AUCTeX from sources is not a problem. You
just should not use -without-package-dir explicitly in order to get a
deprecated layout. Building and _not_ installing a binary XEmacs
package is what users should not attempt. It is quite undocumented
and requires CVS access.
It is not clear that it would be beneficial for users to build a
package file with the same name as our official XEmacs binary package
but possibly different contents. I'd rather install the thing right
into the package tree without making it a separate file.
I don't really want to remove the maintainer-only targets from the
Makefile, but maybe we should do a better job of marking them as
intended just for internal use.
I have no comment on the package, except that "tar tzf"
suggests
that everything is where it belongs, XEmacs-wise.
Which would be an indicator that the target with which they were built
works to some degree on the maintainers' machines. We had positive
reports from the package, anyway.
Thanks for taking a look. It will help to improve the AUCTeX building
experience, but still leaves the question of how one can with the
least amount of effort import the stuff into the XEmacs package
repository. The current procedures require far too much manual labor,
given that we essentially start with a viable end product already.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum