From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#10313: configure fails to find include path on openbsd Date: Fri, 16 Dec 2011 17:23:24 -0800 Organization: UCLA Computer Science Department Message-ID: <4EEBEF0C.4050604@cs.ucla.edu> References: <87y5ucvlg3.fsf@ledu-giraud.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1324085073 17715 80.91.229.12 (17 Dec 2011 01:24:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 17 Dec 2011 01:24:33 +0000 (UTC) Cc: 10313@debbugs.gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 17 02:24:29 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rbj0m-0005w0-KM for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Dec 2011 02:24:28 +0100 Original-Received: from localhost ([::1]:43230 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rbj0l-0006gS-L0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Dec 2011 20:24:27 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:59448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rbj0j-0006gN-5R for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 20:24:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rbj0i-0005Kx-BD for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 20:24:25 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rbj0i-0005Ks-9Y for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 20:24:24 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Rbj2I-0004do-2r for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 20:26:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87y5ucvlg3.fsf@ledu-giraud.fr> Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Dec 2011 01:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10313 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10313-submit@debbugs.gnu.org id=B10313.132408510417761 (code B ref 10313); Sat, 17 Dec 2011 01:26:02 +0000 Original-Received: (at 10313) by debbugs.gnu.org; 17 Dec 2011 01:25:04 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rbj1L-0004cP-9i for submit@debbugs.gnu.org; Fri, 16 Dec 2011 20:25:03 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rbj1I-0004c1-VZ for 10313@debbugs.gnu.org; Fri, 16 Dec 2011 20:25:02 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 8377239E8013; Fri, 16 Dec 2011 17:23:21 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fPe45R9UduPa; Fri, 16 Dec 2011 17:23:21 -0800 (PST) Original-Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 0CEEF39E8012; Fri, 16 Dec 2011 17:23:21 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 16 Dec 2011 20:26:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55032 Archived-At: Thanks for the bug report. I worry that that fix, though it works for you, may cause problmes on other OpenBSD installations. So I have some questions. First, Is this use of /usr/local standardized by OpenBSD? Is there documentation for this somewhere? Second, gcc looks at /usr/local/include by default. Why doesn't that work for you? What's the output of the following shell script for you? If you're not using gcc, which compiler are you using, and can you do a similar test for it? echo 'int main (void) { return 0; }' >t.c gcc -v t.c Third, why is this problem limited to /usr/local/include? Why doesn't it also happen for /usr/local/lib? Thanks for any further info you can provide.