From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Unable to find libgif/libungif on RHEL 6 Date: Thu, 10 Sep 2015 11:36:09 -0700 Organization: UCLA Computer Science Department Message-ID: <55F1CD99.6010906@cs.ucla.edu> References: <55F1563F.7000604@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1441910203 12901 80.91.229.3 (10 Sep 2015 18:36:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Sep 2015 18:36:43 +0000 (UTC) Cc: Emacs developers To: Kaushal Modi , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 10 20:36:33 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Za6hz-00005Y-Mk for ged-emacs-devel@m.gmane.org; Thu, 10 Sep 2015 20:36:31 +0200 Original-Received: from localhost ([::1]:51155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Za6hy-0001fG-Lg for ged-emacs-devel@m.gmane.org; Thu, 10 Sep 2015 14:36:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Za6hl-0001es-DF for emacs-devel@gnu.org; Thu, 10 Sep 2015 14:36:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Za6hg-0002s7-EL for emacs-devel@gnu.org; Thu, 10 Sep 2015 14:36:17 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:40159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Za6hg-0002rk-8n for emacs-devel@gnu.org; Thu, 10 Sep 2015 14:36:12 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 75B7C1605F3; Thu, 10 Sep 2015 11:36:11 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id VXI0eyUpIaGD; Thu, 10 Sep 2015 11:36:10 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1AA71161076; Thu, 10 Sep 2015 11:36:10 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9zvtl1MyYZRz; Thu, 10 Sep 2015 11:36:10 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id C4260161071; Thu, 10 Sep 2015 11:36:09 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189818 Archived-At: Kaushal Modi wrote: > Something else is not right in my system.. but at least I am glad I can > still build emacs, be it without gif. Yes, that's what I do. Your other problems can undoubtedly be fixed by using the proper combination of environment variables and configure options, though these days it's typically not worth the trouble. > Just as we have LIBOTF_CFLAGS, LIBOTF_LIBS, > can we not have LIBGIF_CFLAGS and LIBGIF_LIBS? It'd be a pain, as LIBOTF_CFLAGS is generated automatically by configure.ac via EMACS_CHECK_MODULES via PKG_CHECK_MODULES via pkg-config, but libgif typically isn't packaged and so we'd have to do a lot of stuff by hand in configure.ac. This what we did ten or twenty years ago but nowadays it's typically not worth the trouble. Builders who care about this and are expert enough can set env vars and configure options accordingly, which is about the best that can be expected for this messy area.