From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Building 22.1 Date: Fri, 07 Sep 2007 21:12:19 +0300 Message-ID: References: <711a73df0709071041s5deafe5ar6d96851e17da4f33@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1189188770 20351 80.91.229.12 (7 Sep 2007 18:12:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2007 18:12:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 07 20:12:51 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ITiJw-0005xp-SR for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Sep 2007 20:12:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITiJu-0001b0-R0 for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Sep 2007 14:12:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITiJc-0001Xb-JL for help-gnu-emacs@gnu.org; Fri, 07 Sep 2007 14:12:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITiJa-0001Wl-OT for help-gnu-emacs@gnu.org; Fri, 07 Sep 2007 14:12:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITiJa-0001We-KW for help-gnu-emacs@gnu.org; Fri, 07 Sep 2007 14:12:22 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ITiJa-0001v0-8w for help-gnu-emacs@gnu.org; Fri, 07 Sep 2007 14:12:22 -0400 Original-Received: from romy.inter.net.il ([213.8.233.24]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITiJZ-0004cZ-AU for help-gnu-emacs@gnu.org; Fri, 07 Sep 2007 14:12:21 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-13-121.inter.net.il [80.230.13.121]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id IVK51517 (AUTH halo1); Fri, 7 Sep 2007 21:12:10 +0300 (IDT) In-reply-to: <711a73df0709071041s5deafe5ar6d96851e17da4f33@mail.gmail.com> (dave.pawson@gmail.com) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47303 Archived-At: > Date: Fri, 7 Sep 2007 18:41:32 +0100 > From: "Dave Pawson" > > I've just moved from Fedora to Ubuntu 7.04(feisty fawn). > By default they have emacs 21 installed so I'm trying to build > 22.1 from source. > > ./configure shows > root@marge:/temp/emacs-22.1# ./configure > checking build system type... i686-pc-linux-gnulibc1 > checking host system type... i686-pc-linux-gnulibc1 > checking for gcc... gcc > checking for C compiler default output file name... > configure: error: C compiler cannot create executables > See `config.log' for more details. > > gcc shows > gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4) > > the log shows > > configure:3670: result: > configure: failed program was: > | /* confdefs.h. */ > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define MAIL_USE_POP 1 > | /* end confdefs.h. */ > | > | int > | main () > | { > | > | ; > | return 0; > | } > configure:3677: error: C compiler cannot create executables > > > Any suggestions for a way forward please? Can you compile the above program from the command line?