[Top][All Lists]

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

Re: Compiling emacs 22 on ubuntu 7.0.4

From: Richard Stallman
Subject: Re: Compiling emacs 22 on ubuntu 7.0.4
Date: Wed, 13 Jun 2007 04:07:34 -0400

    It would require us to check for the run time shared library, and that would
    fail anyway if the user is crosscompiling.  Not to mention we don't know 
    version to check for.

One simple solution is that configure should not check for them, but
instead assume they are present.  Then building Emacs will always try
to link with them, and if they are missing, it will get an error.

This is not ideal, since it won't give the user explicit clear advice.
But it seems better than what happens now, which is to build an Emacs
that is missing a normal feature, and make it seem this is normal.

      But if libXpm is not found, I guess we could print out
    a warning saying that icons and images will be in black and white and
    installation of libxpm-dev(el) or similar would fix this.

If we know enough to give a specific message with specific advice,
that is better than an error from ld.  But it should be a fatal error,
not a mere warning.  It should make the user fix things and try again.

Perhaps this should be done only on GNU/Linux.  If on other systems it
really is normal for those libraries to be missing, maybe configure
should check for the libraries (as it does now) on those systems.

reply via email to

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