INSTALL from sources
Stephen J. Turnbull
stephen at xemacs.org
Wed Oct 12 05:03:03 EDT 2011
Andreas Röhler writes:
> downloaded sources from new bitbucket archive, which went fine.
> Thanks a lot!
> Can't see any prescription how to install from sources so far.
Just like curing the cold, it's as simple as "Take two aspirin and
call me in the morning."
> What about introducing an INSTALL.SOURCES containing that?
If you think you need it, you're probably thinking too much. It's
./configure --prefix=$PREFIX --with-system-packages=$PATH_TO_INSTALLED_PACKAGES
make install # you may need su or sudo
--prefix may be omitted if the default of /usr/local is appropriate,
and --with-system-packages may be omitted if the default of
$prefix/share/xemacs is appropriate. ($PATH_TO_INSTALLED_PACKAGES
should contain xemacs-packages and possibly mule-packages and/or
The only tricky thing about it is that the packages *must* be in
installed format (there is a way to create a symlink farm instead of
physical copies, but I don't know if that really makes sense); you
can't use packages in the source tree. (This is admittedly stupid,
but only Mike knows enough about the package system to do something
about it in the near future and he doesn't seem interested.) The
easiest way to install packages is
# NOTE NOTE NOTE: the host is FTP.xemacs.org, not WWW.xemacs.org
# There's also a .bz2 which saves about 25% bandwidth.
tar xzf /tmp/xemacs-sumo.tar.gz
To work on packages you do need a package source tree, of course. But
that's a different thread.
All of this is documented in excruciating detail in man/beta.texi, or
if you have a working Info reader, you can cd to man, do make
beta.info, and read it more pleasantly.
No, I see no point in adding more documentation. beta.texi is the
appropriate place, this *is* a beta distribution. The next public
release of XEmacs *will* build and install with the above
instructions, and the various feature options are documented in
./configure --help. I also hope to make package bootstrapping somewhat
more self-contained (but that's a different thread, too).
More information about the XEmacs-Beta