* configure script does not fail and stop when it should
@ 2007-10-25 8:25 rdiezmail-emacs
2007-10-25 11:10 ` Johan Bockgård
0 siblings, 1 reply; 2+ messages in thread
From: rdiezmail-emacs @ 2007-10-25 8:25 UTC (permalink / raw)
To: bug-gnu-emacs
Hi all:
I recently had some trouble building emacs 22.1 on Debian 4.0r1. I
don't know that much about emacs or Linux, but hopefully my experience
will help others avoid the following problems. I just downloaded the
sources and did:
./configure
make
Point 1) I have a fully-functional Linux system with X Windows, Gnome
and so on. When I build emacs, I expect it to automatically build with
X Windows support.
I would expect the configure script to detect a running/installed X
Windows, and then perhaps complain that the development headers /
libraries for X Windows are not available. I mean, I expect "configure"
to fail, that means, to NOT generate a makefile. It would be nice if it
then said something along the line "you probably need to install the X
Windows development files/package/whatever".
I know the INSTALL file says I should review the libraries that were
automatically found, but like the INSTALL file also says:
If the details printed by `configure' don't make any sense to
you, assume that `configure' did its job and proceed.
What I got instead was an Emacs binary that would not start due to some
weird TERMCAP error.
Point 2) After some googling, I finally realised I had to be explicit
and say:
./configure --with-x
But I did not have the development headers and so on. So I ended up
with the same lame emacs binary.
At this point I thought: if I explicitly say "I want X Windows", then
the "configure" script should fail and NOT generate a makefile if it
cannot find the necessary headers / libraries. Like I said above, it
would be nice if the "configure" script said in the error message
something along the line "you probably need to install the X Windows
development files/package/whatever".
I could probably read INSTALL thoroughly and learn a lot more in order
to avoid these problems, but I think these little things would help
save everybody's time.
Thanks,
Ruben
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: configure script does not fail and stop when it should
2007-10-25 8:25 configure script does not fail and stop when it should rdiezmail-emacs
@ 2007-10-25 11:10 ` Johan Bockgård
0 siblings, 0 replies; 2+ messages in thread
From: Johan Bockgård @ 2007-10-25 11:10 UTC (permalink / raw)
To: bug-gnu-emacs
<rdiezmail-emacs@yahoo.de> writes:
> I would expect the configure script to detect a running/installed X
> Windows, and then perhaps complain that the development headers /
> libraries for X Windows are not available. I mean, I expect "configure"
> to fail, that means, to NOT generate a makefile. It would be nice if it
> then said something along the line "you probably need to install the X
> Windows development files/package/whatever".
Thanks for the report. In CVS, the configure script stops with the
message
You seem to be running X, but no X development libraries were found.
You should install the relevant development files for X and for the
toolkit you want, such as Gtk+, Lesstif or Motif. Also make sure you
have development files for image handling, i.e. tiff, gif, jpeg, png
and xpm.
If you are sure you want Emacs compiled without X window support,
pass --without-x
2007-06-20 Jan Djärv <jan.h.d@swipnet.se>
* configure.in: Complain if X seems to be installed but no
development files were found.
--
Johan Bockgård
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-25 11:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-25 8:25 configure script does not fail and stop when it should rdiezmail-emacs
2007-10-25 11:10 ` Johan Bockgård
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.