* problem with openning emacs after installation of emacs-22.1
@ 2007-06-18 14:05 Christine Sacerdot
2007-06-18 19:39 ` Glenn Morris
0 siblings, 1 reply; 5+ messages in thread
From: Christine Sacerdot @ 2007-06-18 14:05 UTC (permalink / raw)
To: bug-gnu-emacs
I have just downloaded the version emacs-22.1 of GNU Emacs (file
emacs-22.1.tar.gz from http://ftp.gnu.org/pub/gnu/emacs/ ) and the
installation occurred without error apparently (using the commands:
'./configure --with-X', then 'make bootstrap', then 'sudo make install',
in an Xterm). However, I cannot open emacs. Here is a copy of the Xterm
window when I try to edit a text file:
~>emacs toto.txt &
[1] 279
~>
[1] + suspended (tty output) emacs toto.txt
~>
Thank you in advance for your help.
Sincerely,
Dr Christine Sacerdot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: problem with openning emacs after installation of emacs-22.1
2007-06-18 14:05 problem with openning emacs after installation of emacs-22.1 Christine Sacerdot
@ 2007-06-18 19:39 ` Glenn Morris
2007-06-19 10:41 ` Richard Stallman
[not found] ` <467F7E2D.40505@pasteur.fr>
0 siblings, 2 replies; 5+ messages in thread
From: Glenn Morris @ 2007-06-18 19:39 UTC (permalink / raw)
To: Christine Sacerdot; +Cc: bug-gnu-emacs
Christine Sacerdot wrote:
> I have just downloaded the version emacs-22.1 of GNU Emacs (file
> emacs-22.1.tar.gz from http://ftp.gnu.org/pub/gnu/emacs/ ) and the
> installation occurred without error apparently (using the commands:
> './configure --with-X', then 'make bootstrap', then 'sudo make
> install',
No need for the "bootstrap" part; just "make" would have been fine,
and quicker.
> in an Xterm). However, I cannot open emacs. Here is a copy of the
> Xterm window when I try to edit a text file:
>
> ~>emacs toto.txt &
> [1] 279
> ~>
> [1] + suspended (tty output) emacs toto.txt
What happens if you remove the '&' ?
It lookes like your Emacs was built without X support. Re-run
configure and look at the output, especially at the end where it says:
"What window system should Emacs use?". You are probably missing some
X libraries and/or development packages on your system. Further
information will be earlier in the output of configure, and in the
file config.log.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: problem with openning emacs after installation of emacs-22.1
2007-06-18 19:39 ` Glenn Morris
@ 2007-06-19 10:41 ` Richard Stallman
2007-06-19 14:09 ` Stefan Monnier
[not found] ` <467F7E2D.40505@pasteur.fr>
1 sibling, 1 reply; 5+ messages in thread
From: Richard Stallman @ 2007-06-19 10:41 UTC (permalink / raw)
To: Glenn Morris; +Cc: emacs-devel
It lookes like your Emacs was built without X support. Re-run
configure and look at the output, especially at the end where it says:
"What window system should Emacs use?". You are probably missing some
X libraries and/or development packages on your system. Further
information will be earlier in the output of configure, and in the
file config.log.
This is another example of why we should make this change:
We could probably use some heuristics: if DISPLAY is set, and/or if
X11 runtime libraries appear available and/or an executable named X
(the last probably being most reliable and easy to check), then we'll
barf unless the user explicitly says -without-X11.
However, we must be careful about handling this for cross-compilation.
In cross compilation, you can't assume that DISPLAY or presence of
runtime libs or presence of an X executable says anything about the
target environment.
This, for cross-compilation we should arrange to handle these issues
in one of the following three ways:
* The old way: enable the feature if the development is present
or --with-x is given.
* Manual: enable only if --with-x is given.
* Enable by default, and disable only if --with-no-x is given.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: problem with openning emacs after installation of emacs-22.1
2007-06-19 10:41 ` Richard Stallman
@ 2007-06-19 14:09 ` Stefan Monnier
0 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2007-06-19 14:09 UTC (permalink / raw)
To: rms; +Cc: Glenn Morris, emacs-devel
> > We could probably use some heuristics: if DISPLAY is set, and/or if
> > X11 runtime libraries appear available and/or an executable named X
> > (the last probably being most reliable and easy to check), then we'll
> > barf unless the user explicitly says -without-X11.
Looking at DISPLAY sounds like a bad idea to me. It seems sufficient to
look for the runtime libraries.
> However, we must be careful about handling this for cross-compilation.
> In cross compilation, you can't assume that DISPLAY or presence of
> runtime libs or presence of an X executable says anything about the
> target environment.
> This, for cross-compilation we should arrange to handle these issues
> in one of the following three ways:
> * The old way: enable the feature if the development is present
> or --with-x is given.
> * Manual: enable only if --with-x is given.
> * Enable by default, and disable only if --with-no-x is given.
I'd vote for "the old way" without any doubt whatsoever. People who do
cross-compilation expect this kind of behavior from a configuration script.
At least I do when I cross-compile packages.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: problem with openning emacs after installation of emacs-22.1
[not found] ` <467F7E2D.40505@pasteur.fr>
@ 2007-06-25 18:42 ` Glenn Morris
0 siblings, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2007-06-25 18:42 UTC (permalink / raw)
To: bug-gnu-emacs
Reply received off list:
Christine Sacerdot wrote (on Mon, 25 Jun 2007 at 10:34 +0200):
> > What happens if you remove the '&' ?
> >
> An old basic emacs opens within the Xterm.
> > It lookes like your Emacs was built without X support. Re-run
> > configure and look at the output, especially at the end where it says:
> > "What window system should Emacs use?".
> The problem was indeed at this question: the answer was 'mac' instaed of
> 'x11'.
> Re-installing emacs-22.1 with the following command (following
> suggestion of a colleague):
>
> ./configure --prefix=/usr/local --without-carbon --with-x
>
> resolved the problem (!)
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-06-25 18:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-18 14:05 problem with openning emacs after installation of emacs-22.1 Christine Sacerdot
2007-06-18 19:39 ` Glenn Morris
2007-06-19 10:41 ` Richard Stallman
2007-06-19 14:09 ` Stefan Monnier
[not found] ` <467F7E2D.40505@pasteur.fr>
2007-06-25 18:42 ` Glenn Morris
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.