From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: Compiling Emacs from Source Date: Tue, 7 Nov 2017 17:01:03 -0800 Message-ID: References: <87d14w4byu.fsf@robertthorpeconsulting.com> <86lgjhbpz1.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1510102915 13683 195.159.176.226 (8 Nov 2017 01:01:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Nov 2017 01:01:55 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 08 02:01:52 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCEkZ-0003LQ-25 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Nov 2017 02:01:51 +0100 Original-Received: from localhost ([::1]:56473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCEke-0005tY-Sq for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Nov 2017 20:01:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCEkB-0005tE-7Y for help-gnu-emacs@gnu.org; Tue, 07 Nov 2017 20:01:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCEkA-0007ql-EW for help-gnu-emacs@gnu.org; Tue, 07 Nov 2017 20:01:27 -0500 Original-Received: from mail-qt0-x22f.google.com ([2607:f8b0:400d:c0d::22f]:48801) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eCEkA-0007qa-AG for help-gnu-emacs@gnu.org; Tue, 07 Nov 2017 20:01:26 -0500 Original-Received: by mail-qt0-x22f.google.com with SMTP id f8so1435715qta.5 for ; Tue, 07 Nov 2017 17:01:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=P5eoDos7TYS13FCsMPdAGmiivF08sgxRbwdVo5iVWx8=; b=nnJw0TBluozy0CdhhyLAwgLuTFGwwvyq+5Hw4kotorTWKFB+Xy1UuCxECdpjy1ZwGE 8TnPTeDl92yQLSxEeJaK58FnmCuAVAm1czF91JCbwTfI0WGh3f4nGcwGtUzwfskBEqPl lQetNwxei3F2A6QQutnsEZIfBKcxS7wEuTZKixCE55xWZmoWMPqn+2SQf+H+3kfCoBod eZfesa7LcL1lEPTdh2PRz+kkr1e0f/ptUV8RJzhF34Q7yna23NYlxe5ODVpsNoeGKfbX 5kJioE1fOE1adtmnZmSQ9QlR0iXqE6yMdXVz3O9yVPnwJbwyQtlxz3jlDlkIhYYWSBrH 2/HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=P5eoDos7TYS13FCsMPdAGmiivF08sgxRbwdVo5iVWx8=; b=GT5lg5gNiCbFfwD47WpIa3fqgAwtgXp/3qFLW5N8blHAIilTlcFdAf6sEJoQXZRtP9 7t5Ba+fRlxNM2/iwFy7Qv+v0oFU5dgChQ+Z16nLQQHVOVAJDbHvLwDnEG330Qe9mO078 FrEHLFrLPk6qPGUhMfq/EQbDBbegnIf+YHYZwM2JoPCBX/oVdAt6GNgqBZIfW+xU+OKY Xa55fbu32F4RZrdPUtSub+LFRBA4KwNpX6Lkrt+unDOmH8tRsAz+LR/Zyt7RCQ0aLl/j vD5po95R/ev534goqXHK6KJnOxZBh//4Im9JK4uREsMLjshbxOkzlu4etTZhW21+tAYg IWDA== X-Gm-Message-State: AJaThX6OpxddspLlwx5N8jtHyE7vrn6urEuq9R1ooPwZhscWmN26NGTz v6enu2i6kuelKHuO1cEMwDkFp4qFo/NwEU3aI6vT7IyQ X-Google-Smtp-Source: AGs4zMZQiWU68yToqdcNqS367EWYJb4YQhb64j+yJ+lSGobHoCdW/89l1FVFFVVxS5OzM+Jdp/XRE8vw0oZJ69V6sQo= X-Received: by 10.200.54.85 with SMTP id n21mr1008093qtb.179.1510102884922; Tue, 07 Nov 2017 17:01:24 -0800 (PST) Original-Received: by 10.200.40.183 with HTTP; Tue, 7 Nov 2017 17:01:03 -0800 (PST) In-Reply-To: <86lgjhbpz1.fsf@zoho.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::22f X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114803 Archived-At: Emanuel Berg wrote: >> Recently there was some discussion about >> upgrading Emacs. Package managers and distros >> were discussed. >> >> I have a more basic question. The distro I'm >> using doesn't provide Emacs 25, I'm still on >> 24.4. So, I want to compile Emacs 25. >> >> The problem for me is the configuration >> flags. I don't understand them that well. >> What configuration flags would this >> list recommend? > > I think it is very difficult to give a good > answer *in general*... Isn't there a tutorial > somewhere how to compile Emacs? Or even better, > a script that figures it out for you :) > > I'm going to compile the latest version right > now because I have an issue with Gnus and > SSL/TLS, and got the suggestion I upgrade > Emacs, so if that makes me any wiser with > respect to this question I'll get back with > details :) For no-X builds, I use: ./configure --with-xml2 --with-zlib --with-gnutls \ --with-x-toolkit=no --without-xpm --without-jpeg --without-tiff \ --without-gif --without-png --without-pop --without-compress-install For builds with X support, I use: ./configure --with-xml2 --with-zlib --with-gnutls --with-imagemagick \ --with-x-toolkit=lucid --with-xft --with-libotf --with-m17n-flt \ --without-pop --without-compress-install To be honest, I don't know if e.g. "--with-gnutls" is really necessary or if it would be auto-detected, so much of this may be redundant. John