unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Building Emacs 21.2 - using X-windows (newbie question)
@ 2002-03-25  7:45 Piet Suy
  2002-03-25 11:10 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Piet Suy @ 2002-03-25  7:45 UTC (permalink / raw)


Hi,

I don't succeed in compiling emacs 21.2 so that X is used.
When I run the configure-script, the X windows libraries and
headers are not found. I tried to add them with the --x-includes
and --x-libraries options (like this: ./configure 
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib),
but compilation failed, ending with the error:

gcc -c -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src 
-I/home/piet/emacs-21.2/lib-src -I/home/piet/emacs-21.2/lib-src/../src 
-D_BSD_SOURCE   -g -O2 -Demacs  /home/piet/emacs-21.2/lib-src/movemail.c
/home/piet/emacs-21.2/lib-src/movemail.c: In function `strerror':
/home/piet/emacs-21.2/lib-src/movemail.c:947: conflicting types for 
`sys_errlist'
/usr/include/stdio.h:554: previous declaration of `sys_errlist'
make[1]: *** [movemail.o] Fout 1

I'm using the Mandrake 8.1 distribution of GNU/Linux.

Can anyone help me ?

thanks,

piet

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Building Emacs 21.2 - using X-windows (newbie question)
  2002-03-25  7:45 Building Emacs 21.2 - using X-windows (newbie question) Piet Suy
@ 2002-03-25 11:10 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2002-03-25 11:10 UTC (permalink / raw)
  Cc: gnu-emacs-bug


On Mon, 25 Mar 2002, Piet Suy wrote:

> I don't succeed in compiling emacs 21.2 so that X is used.
> When I run the configure-script, the X windows libraries and
> headers are not found.

Please send the full transcript of the failed configure run (the one 
without the --x-includes and --x-libraries options), and also the file 
config.log created when it runs.

> I tried to add them with the --x-includes
> and --x-libraries options (like this: ./configure 
> --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib),
> but compilation failed, ending with the error:
> 
> gcc -c -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src 
> -I/home/piet/emacs-21.2/lib-src -I/home/piet/emacs-21.2/lib-src/../src 
> -D_BSD_SOURCE   -g -O2 -Demacs  /home/piet/emacs-21.2/lib-src/movemail.c
> /home/piet/emacs-21.2/lib-src/movemail.c: In function `strerror':
> /home/piet/emacs-21.2/lib-src/movemail.c:947: conflicting types for 
> `sys_errlist'
> /usr/include/stdio.h:554: previous declaration of `sys_errlist'
> make[1]: *** [movemail.o] Fout 1

This indicates that the configure script thinks your library doesn't have 
the strerror function.  I'd be surprised if that were true for a 
GNU/Linux system.  The file config.log should show why the test for 
strerror failed.

(IIRC, you posted an identical report to gnu.emacs.help, and I replied 
with almost identical questions there.)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-25 11:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-25  7:45 Building Emacs 21.2 - using X-windows (newbie question) Piet Suy
2002-03-25 11:10 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).