From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alp Aker Newsgroups: gmane.emacs.help Subject: Re: emacs compiled with --with-ns doesn't find installed libraries Date: Sat, 14 Jul 2012 20:23:38 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1342311827 14884 80.91.229.3 (15 Jul 2012 00:23:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 Jul 2012 00:23:47 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Dan Maftei Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 15 02:23:47 2012 Return-path: Envelope-to: geh-help-gnu-emacs@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 1SqCck-0008Bl-NE for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Jul 2012 02:23:46 +0200 Original-Received: from localhost ([::1]:40698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqCck-00077N-0H for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Jul 2012 20:23:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqCce-00077C-Uf for help-gnu-emacs@gnu.org; Sat, 14 Jul 2012 20:23:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SqCce-0005EI-1g for help-gnu-emacs@gnu.org; Sat, 14 Jul 2012 20:23:40 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:39117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqCcd-0005EE-Te for help-gnu-emacs@gnu.org; Sat, 14 Jul 2012 20:23:39 -0400 Original-Received: by obhx4 with SMTP id x4so8543069obh.0 for ; Sat, 14 Jul 2012 17:23:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8sC/poa8ZUC4+GleqpRfHEPi2BPstfSoJxtgJqvAy1E=; b=G5c6iCAD+y6Asj+bUoFT8fBnhAT/ATKz4rvOLL/48KamPifZCdG3gJEtQc/crvbFmN GnovS0D5Xkqo4BsgFEjQVfKH2OX1tQcHZkKFdokJijl0oazmxiioZnO7vbGihpI50Z54 GhJSfDLBUIS4O3/zP13mxdAaKGHH29RiuNihuOxxdl8LzrxD1iO9g8G8JCM6KytYYqZ/ hT9NUIxO4cFtQ5R/64JXVcJG21lroXbtNBk0bsebBtedag1hLQXrjsQJzrNZdSZPflXG HCn96E3qlLBCt1gogto7uRtkHFh3iyq+RD7uWlC1qgFDqYCPjt22jpiT0XoInW+YogTi HDYg== Original-Received: by 10.50.202.102 with SMTP id kh6mr2240198igc.69.1342311818768; Sat, 14 Jul 2012 17:23:38 -0700 (PDT) Original-Received: by 10.64.142.70 with HTTP; Sat, 14 Jul 2012 17:23:38 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85854 Archived-At: > I compile GNU emacs 24.1.1 for X and it finds most of my installed image > libraries (png, gif, jpeg), at /usr/local. > > If I compile with --with-ns, it does not find any of them. However, I can > nevertheless view, e.g., .png files in emacs.app. Should I be worried that > the configure script says it couldn't find these libraries? The NS port uses the Cocoa framework for image support; it doesn't need the image libraries you have in /usr/local. > Another oddity is that neither configure script finds my dbus installation, > which is at /usr/local like all my image libraries. When I was using > macports, dbus was found. Has anyone experienced this, or know how I can get > the configure script to locate dbus? You can tell the configure script where to look for libraries (and header files, etc.) by setting the appropriate environment variable when you run it. See 'configure --help' for details. (As for why the macports build found dbus: it might have installed a version of dbus in /opt/local/include and used that.)