From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: Re: Building Emacs 21.2 - using X-windows (newbie question) Date: Mon, 25 Mar 2002 13:10:07 +0200 (IST) Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: <3C9ED58E.2000102@hotmail.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1017056945 11574 127.0.0.1 (25 Mar 2002 11:49:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2002 11:49:05 +0000 (UTC) Cc: gnu-emacs-bug@moderators.isc.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16pSyG-00030Z-00 for ; Mon, 25 Mar 2002 12:49:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16pSon-0002VE-00; Mon, 25 Mar 2002 06:39:17 -0500 Original-Received: from chx400.switch.ch ([130.59.10.2]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16pSNm-0007IS-00 for ; Mon, 25 Mar 2002 06:11:22 -0500 Original-Received: from is.elta.co.il ([199.203.121.2]) by chx400.switch.ch with esmtp (Exim 3.20 #1) id 16pSNk-0003z3-00 for gnu-emacs-bug@moderators.isc.org; Mon, 25 Mar 2002 12:11:20 +0100 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id NAA14774; Mon, 25 Mar 2002 13:10:07 +0200 (IST) X-Sender: eliz@is Original-To: Piet Suy In-Reply-To: <3C9ED58E.2000102@hotmail.com> Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:145 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:145 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.)