From unknown Thu Sep 11 06:07:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10313: 24.0.92; configure fails to find include path on openbsd Resent-From: Manuel Giraud Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Dec 2011 16:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10313 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 10313@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.132405448120139 (code B ref -1); Fri, 16 Dec 2011 16:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Dec 2011 16:54:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rbb3Q-0005Eg-3e for submit@debbugs.gnu.org; Fri, 16 Dec 2011 11:54:41 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbVQ7-0004aL-SV for submit@debbugs.gnu.org; Fri, 16 Dec 2011 05:53:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbVOV-0008U7-Gx for submit@debbugs.gnu.org; Fri, 16 Dec 2011 05:52:09 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_00, FSL_HELO_NON_FQDN_1, HELO_LOCALHOST autolearn=no version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:39638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbVOV-0008U2-FV for submit@debbugs.gnu.org; Fri, 16 Dec 2011 05:52:03 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbVOR-0005W0-9q for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 05:52:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbVOL-0008Sw-GP for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 05:51:59 -0500 Received: from sd-27894.dedibox.fr ([88.191.146.115]:56589 helo=localhost) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbVOK-0008RP-Uj for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 05:51:53 -0500 Received: from K (manuel@localhost [127.0.0.1]) by localhost (8.14.5/8.14.5) with ESMTP id pBGApbFR017406 for ; Fri, 16 Dec 2011 11:51:38 +0100 (CET) From: Manuel Giraud Date: Fri, 16 Dec 2011 11:51:24 +0100 Message-ID: <87y5ucvlg3.fsf@ledu-giraud.fr> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Mailman-Approved-At: Fri, 16 Dec 2011 11:54:37 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) On OpenBSD, running ./configure fails to find some libraries (libjpeg, libpng,...) that are correctly installed (via package system). The following patch fixes this bug but I don't know if it is the right place to do it. --- configure.in.orig Fri Dec 16 11:30:34 2011 +++ configure.in Fri Dec 16 11:24:36 2011 @@ -478,6 +478,7 @@ sparc*) machine=sparc ;; vax-*) machine=vax ;; esac + CPPFLAGS="-I/usr/local/include" ;; ## Apple Darwin / Mac OS X In GNU Emacs 24.0.92.1 (i386-unknown-openbsd5.0, GTK+ Version 2.24.8) of 2011-12-16 on K Windowing system distributor `The X.Org Foundation', version 11.0.11102000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: fr_FR.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: e M-x c u s t a i - p a a p s m t p m a i l M-x M-p s m t p C-p C-e C-x C-e C-a C-f C-f C-f C-f C-f C-f C-x o C-p C-n C-n C-e ( t e s e t q SPC u s e r - m a i l - a d d r e s s SPC $ " m a n u e l @ l u e d u - g i r a a u d . f r " ) C-e C-x C-e M-x C-g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. customize-apropos: No customizable items matching (smtpmail) customize-apropos: No customizable items matching (smtp) Mark set "localhost" "manuel@ledu-giraud.fr" Quit Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug apropos cus-edit easymenu cus-start cus-load wid-edit time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- Manuel Giraud From unknown Thu Sep 11 06:07:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10313: configure fails to find include path on openbsd References: <87y5ucvlg3.fsf@ledu-giraud.fr> 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: To: Manuel Giraud Cc: 10313@debbugs.gnu.org Received: via spool by 10313-submit@debbugs.gnu.org id=B10313.132408510417761 (code B ref 10313); Sat, 17 Dec 2011 01:26:02 +0000 Received: (at 10313) by debbugs.gnu.org; 17 Dec 2011 01:25:04 +0000 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 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 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 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) 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) Message-ID: <4EEBEF0C.4050604@cs.ucla.edu> Date: Fri, 16 Dec 2011 17:23:24 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) 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. From unknown Thu Sep 11 06:07:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10313: configure fails to find include path on openbsd Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Dec 2011 03:10:01 +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: To: Paul Eggert Cc: 10313@debbugs.gnu.org, Manuel Giraud Received: via spool by 10313-submit@debbugs.gnu.org id=B10313.132409136426677 (code B ref 10313); Sat, 17 Dec 2011 03:10:01 +0000 Received: (at 10313) by debbugs.gnu.org; 17 Dec 2011 03:09:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbkeJ-0006wD-MO for submit@debbugs.gnu.org; Fri, 16 Dec 2011 22:09:24 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbkeH-0006w5-4o for 10313@debbugs.gnu.org; Fri, 16 Dec 2011 22:09:22 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Rbkce-0005mv-TQ; Fri, 16 Dec 2011 22:07:40 -0500 From: Glenn Morris References: <87y5ucvlg3.fsf@ledu-giraud.fr> <4EEBEF0C.4050604@cs.ucla.edu> X-Spook: UNSCOM Security Council Bruxelles cryptanalysis anthrax X-Ran: Pa2vak.$4L#P/c-(UEfvFk]2m|X:O:y:+7z:puu@gSj(kvb6o_[.~z-YY4y^\Lf/0Bg8T] X-Hue: red X-Attribution: GM Date: Fri, 16 Dec 2011 22:07:40 -0500 In-Reply-To: <4EEBEF0C.4050604@cs.ucla.edu> (Paul Eggert's message of "Fri, 16 Dec 2011 17:23:24 -0800") Message-ID: <9m8vmbnber.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Paul Eggert wrote: > Third, why is this problem limited to /usr/local/include? > Why doesn't it also happen for /usr/local/lib? There's a comment in configure.in (for freebsd though) that sounds related: ## Let `ld' find image libs and similar things in /usr/local/lib. ## The system compiler, GCC, has apparently been modified to not ## look there, contrary to what a stock GCC would do. LD_SWITCH_SYSTEM=-L/usr/local/lib This dates from at least Emacs 21 (was in src/s/freebsd.h there). From unknown Thu Sep 11 06:07:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10313: configure fails to find include path on openbsd Resent-From: David De La Harpe Golden Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Dec 2011 03:43: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: To: Paul Eggert Cc: 10313@debbugs.gnu.org, Manuel Giraud , Glenn Morris Received: via spool by 10313-submit@debbugs.gnu.org id=B10313.132469817715108 (code B ref 10313); Sat, 24 Dec 2011 03:43:02 +0000 Received: (at 10313) by debbugs.gnu.org; 24 Dec 2011 03:42:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ReIVc-0003vb-S8 for submit@debbugs.gnu.org; Fri, 23 Dec 2011 22:42:57 -0500 Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ReIVX-0003vR-7Y for 10313@debbugs.gnu.org; Fri, 23 Dec 2011 22:42:52 -0500 Received: from [87.198.47.210] (87-198-47-210.ptr.magnet.ie [87.198.47.210]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 69FA668413; Sat, 24 Dec 2011 03:40:30 +0000 (GMT) Message-ID: <4EF549AC.3050104@harpegolden.net> Date: Sat, 24 Dec 2011 03:40:28 +0000 From: David De La Harpe Golden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 References: <87y5ucvlg3.fsf@ledu-giraud.fr> <4EEBEF0C.4050604@cs.ucla.edu> In-Reply-To: <4EEBEF0C.4050604@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On 17/12/11 01:23, Paul Eggert wrote: > 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? I for one welcome our OpenBSD over... I mean, I suspect Emacs upstream (i.e. "us") hardcoding an extra /usr/local search path would _not_ be welcomed by the GNU Emacs OpenBSD port&package maintainers - though I don't actually speak for them, maybe one Manuel Giraud already knows them [0]? Why? Well... *** OpenBSD local modifications to gcc seem comprehensively documented in their gcc-local manpage: policy is to explicitly modify the system gcc to stop it looking in /usr/local [1]: """ gcc does not search under /usr/local for include files nor for libraries: as a system compiler, it only searches the system paths by default. """ *** BUT: /usr/local is where OpenBSD packages and ports install to, it's not quite the playground it is on some systems. The OpenBSD system is fairly simple [2]: """ Packages install to /usr/local """ *** So, um how does that work, you may ask? Well, AFAICS the Done Thing is to always explicitly specify the extra paths required on the command line in the package/port build wrapper scripts [3]: """ CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include \ -I${LOCALBASE}/include/libpng" \ LDFLAGS="-L${LOCALBASE}/lib" """ *** But note $LOCALBASE variable, it is NOT just a hardcoded /usr/local ! In bsd.port.mk, we find [4]: """ LOCALBASE where other ports have already been installed. Default: /usr/local. """ *** So, in conclusion, a hardcoded /usr/local is IMO The Wrong Thing for upstream Emacs on OpenBSD, especially seeing as advanced folk may be futzing with $LOCALBASE. Now, the OpenBSD ports&package maintainers can of course just patch out anything that upstream Emacs adds that they don't like, but IMO no point putting them to that hassle, and IMO users building from upstream source on OpenBSD outside the garden of the ports&packages system are advanced and therefore might be expected to be prepared for little OpenBSD quirks like having to add the extra paths themselves. *** [0] http://www.openbsd.org/cgi-bin/cvsweb/ports/editors/emacs23/distinfo [1] http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1 [2] http://www.openbsd.org/cgi-bin/man.cgi?query=packages&sektion=7 [3] http://www.openbsd.org/cgi-bin/cvsweb/ports/editors/emacs23/Makefile [4] http://www.openbsd.org/cgi-bin/man.cgi?query=bsd.port.mk&sektion=5 From unknown Thu Sep 11 06:07:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10313: configure fails to find include path on openbsd Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Jan 2012 18:46: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: To: David De La Harpe Golden Cc: 10313@debbugs.gnu.org, Paul Eggert , Manuel Giraud Received: via spool by 10313-submit@debbugs.gnu.org id=B10313.132552995512486 (code B ref 10313); Mon, 02 Jan 2012 18:46:02 +0000 Received: (at 10313) by debbugs.gnu.org; 2 Jan 2012 18:45:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhmtP-0003FL-Hp for submit@debbugs.gnu.org; Mon, 02 Jan 2012 13:45:55 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhmtM-0003FD-US for 10313@debbugs.gnu.org; Mon, 02 Jan 2012 13:45:54 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RhmqC-0003AZ-2D; Mon, 02 Jan 2012 13:42:36 -0500 From: Glenn Morris References: <87y5ucvlg3.fsf@ledu-giraud.fr> <4EEBEF0C.4050604@cs.ucla.edu> <4EF549AC.3050104@harpegolden.net> X-Spook: sweep SHA Ron Brown Aladdin Syria illuminati Europol X-Ran: XXO)y3-)1IC<]e5`z-dCz7|Wkr9CGseJm,k3'oh3He6W1:!X:A4m|?& (David De La Harpe Golden's message of "Sat, 24 Dec 2011 03:40:28 +0000") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) I agree that the Emacs build process should not add /usr/local back to the include etc paths if the BSDs have decided to remove it. (I assume this is true for all of them, not just OpenBSD?) So rather than adding this patch, I suggest doing nothing for Emacs 24.1, but after that actually removing the existing configure.in piece that sets LD_SWITCH_SYSTEM to /usr/local/lib for freebsd. Does the same apply to /usr/pkg for netbsd (see configure.in)? Though it seems odd to me to have a system where gcc does not look in /usr/local, yet that is where packages get installed. If I were using such a system, I'd just end up putting /usr/local in CPPFLAGS and LDFLAGS all the time. Are things in /usr/local found at run-time, or do they also have to set LD_LIBRARY_PATH, or use -rpath as well during compilation (the netbsd entry in configure.in uses the latter)? From unknown Thu Sep 11 06:07:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10313: configure fails to find include path on openbsd Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Jan 2012 18:56:01 +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: To: Glenn Morris Cc: 10313@debbugs.gnu.org, Manuel Giraud , David De La Harpe Golden Received: via spool by 10313-submit@debbugs.gnu.org id=B10313.132553051513374 (code B ref 10313); Mon, 02 Jan 2012 18:56:01 +0000 Received: (at 10313) by debbugs.gnu.org; 2 Jan 2012 18:55:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rhn2R-0003Te-76 for submit@debbugs.gnu.org; Mon, 02 Jan 2012 13:55:15 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rhn2P-0003TS-KB for 10313@debbugs.gnu.org; Mon, 02 Jan 2012 13:55:14 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id E3213A60004; Mon, 2 Jan 2012 10:51:53 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu 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 tvUbJ4WGwJSy; Mon, 2 Jan 2012 10:51:53 -0800 (PST) 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 5A16EA60002; Mon, 2 Jan 2012 10:51:53 -0800 (PST) Message-ID: <4F01FCC9.7080102@cs.ucla.edu> Date: Mon, 02 Jan 2012 10:51:53 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 References: <87y5ucvlg3.fsf@ledu-giraud.fr> <4EEBEF0C.4050604@cs.ucla.edu> <4EF549AC.3050104@harpegolden.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) On 01/02/12 10:42, Glenn Morris wrote: > If I were using > such a system, I'd just end up putting /usr/local > in CPPFLAGS and LDFLAGS all the time. Likewise. > Are things in /usr/local found at run-time, or do > they also have to set LD_LIBRARY_PATH, or use -rpath as well during > compilation (the netbsd entry in configure.in uses the latter)? I expect the latter. It's a bit of a hassle -- they're essentially making it harder to install source off the net, and they're expecting installers to know that one must specify "-L/usr/local/lib -R/usr/local/lib -I/usr/local/include" or whatever the magic incantation happens to be. From unknown Thu Sep 11 06:07:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10313: configure fails to find include path on openbsd Resent-From: David De La Harpe Golden Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Jan 2012 20:59:01 +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: To: Glenn Morris Cc: 10313@debbugs.gnu.org, Paul Eggert , Manuel Giraud Received: via spool by 10313-submit@debbugs.gnu.org id=B10313.132553788324327 (code B ref 10313); Mon, 02 Jan 2012 20:59:01 +0000 Received: (at 10313) by debbugs.gnu.org; 2 Jan 2012 20:58:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhoxG-0006KJ-BG for submit@debbugs.gnu.org; Mon, 02 Jan 2012 15:58:02 -0500 Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhoxD-0006Jw-Dk for 10313@debbugs.gnu.org; Mon, 02 Jan 2012 15:58:00 -0500 Received: from [87.198.47.210] (87-198-47-210.ptr.magnet.ie [87.198.47.210]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 63437683D9; Mon, 2 Jan 2012 20:54:43 +0000 (GMT) Message-ID: <4F021991.7030100@harpegolden.net> Date: Mon, 02 Jan 2012 20:54:41 +0000 From: David De La Harpe Golden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 References: <87y5ucvlg3.fsf@ledu-giraud.fr> <4EEBEF0C.4050604@cs.ucla.edu> <4EF549AC.3050104@harpegolden.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On 02/01/12 18:42, Glenn Morris wrote: > Though it seems odd to me to have a system where gcc does not look in > /usr/local, yet that is where packages get installed. Well, the meaning of "package" is maybe also a bit different: OpenBSD's much-vaunted security claims only apply [1] to its monolithic "system" (though note that includes a whole bunch of things that would be packages on a lot of other OSes, AFAIUI [2][3]) and _not_ the OpenBSD ports&packages. The latter are strictly add-ons that have not been subjected to the same security auditing, it's not like the debian situation, say, where the whole "system" is pretty much /made of/ packages (like the base-files .deb with the filesystem hierarchy itself...) So I guess the idea is to exclude them by default and require an active choice to use them, since once you start using the ports&packages system at all (never mind installing stuff direct from upstream sources...), you're choosing to break that assumption you're only running fully openbsd project audited code. [1] http://www.openbsd.org/faq/faq15.html#Intro """ The packages and ports collection does NOT go through the same thorough security audit that is performed on the OpenBSD base system. Although we strive to keep the quality of the packages collection high, we just do not have enough human resources to ensure the same level of robustness and security. """ [2] http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/ [3] http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ From unknown Thu Sep 11 06:07:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10313: configure fails to find include path on openbsd Resent-From: David De La Harpe Golden Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Jan 2012 21:56: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: To: Glenn Morris Cc: 10313@debbugs.gnu.org, Paul Eggert , Manuel Giraud Received: via spool by 10313-submit@debbugs.gnu.org id=B10313.132554131329584 (code B ref 10313); Mon, 02 Jan 2012 21:56:02 +0000 Received: (at 10313) by debbugs.gnu.org; 2 Jan 2012 21:55:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rhpqb-0007h7-HQ for submit@debbugs.gnu.org; Mon, 02 Jan 2012 16:55:13 -0500 Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhpqZ-0007h0-Gx for 10313@debbugs.gnu.org; Mon, 02 Jan 2012 16:55:12 -0500 Received: from [87.198.47.210] (87-198-47-210.ptr.magnet.ie [87.198.47.210]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 23DD368413; Mon, 2 Jan 2012 21:51:55 +0000 (GMT) Message-ID: <4F0226F9.9010603@harpegolden.net> Date: Mon, 02 Jan 2012 21:51:53 +0000 From: David De La Harpe Golden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 References: <87y5ucvlg3.fsf@ledu-giraud.fr> <4EEBEF0C.4050604@cs.ucla.edu> <4EF549AC.3050104@harpegolden.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On 02/01/12 18:42, Glenn Morris wrote: > Are things in /usr/local found at run-time, or do > they also have to set LD_LIBRARY_PATH, The OpenBSD case: Once a /usr/local/lib exists, /etc/rc (i.e. startup) will just add it in to be searched [1]. Simple, but presumably works adequately for their needs, avoids having to tell new users a mouthful something like "add a /usr/local/lib to shlib_dirs in your /etc/rc.conf.local to use the shared libraries installed by packages/ports" [1] http://www.openbsd.org/cgi-bin/cvsweb/src/etc/rc?rev=1.397;content-type=text%2Fx-cvsweb-markup """ ... if [ -d /usr/local/lib ]; then shlib_dirs="/usr/local/lib $shlib_dirs" fi if [ -d /usr/X11R6/lib ]; then shlib_dirs="/usr/X11R6/lib $shlib_dirs" fi ldconfig $shlib_dirs ... """ From unknown Thu Sep 11 06:07:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10313: configure fails to find include path on openbsd Resent-From: Manuel Giraud Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Jan 2012 14:15: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: To: David De La Harpe Golden Cc: 10313@debbugs.gnu.org, Paul Eggert , Glenn Morris Received: via spool by 10313-submit@debbugs.gnu.org id=B10313.132560005428225 (code B ref 10313); Tue, 03 Jan 2012 14:15:02 +0000 Received: (at 10313) by debbugs.gnu.org; 3 Jan 2012 14:14:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ri582-0007LC-9M for submit@debbugs.gnu.org; Tue, 03 Jan 2012 09:14:14 -0500 Received: from sd-27894.dedibox.fr ([88.191.146.115] helo=localhost) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ri57z-0007L3-G7 for 10313@debbugs.gnu.org; Tue, 03 Jan 2012 09:14:12 -0500 Received: from K (manuel@localhost [127.0.0.1]) by localhost (8.14.5/8.14.5) with ESMTP id q03EAdVa010356; Tue, 3 Jan 2012 15:10:39 +0100 (CET) From: Manuel Giraud References: <87y5ucvlg3.fsf@ledu-giraud.fr> <4EEBEF0C.4050604@cs.ucla.edu> <4EF549AC.3050104@harpegolden.net> Date: Tue, 03 Jan 2012 15:10:39 +0100 In-Reply-To: <4EF549AC.3050104@harpegolden.net> (David De La Harpe Golden's message of "Sat, 24 Dec 2011 03:40:28 +0000") Message-ID: <87ehvgev1c.fsf@ledu-giraud.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) David De La Harpe Golden writes: > So, in conclusion, a hardcoded /usr/local is IMO The Wrong Thing for > upstream Emacs on OpenBSD, especially seeing as advanced folk may be > futzing with $LOCALBASE. Hum, you're right. I missed it (and made a fool of myself). I'll try to build emacs 24 *inside* the ports framework and report back. -- Manuel Giraud From unknown Thu Sep 11 06:07:37 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10313: configure fails to find include path on openbsd Resent-From: Manuel Giraud Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Jan 2012 16:44:01 +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: To: David De La Harpe Golden Cc: 10313@debbugs.gnu.org, Paul Eggert , Glenn Morris Received: via spool by 10313-submit@debbugs.gnu.org id=B10313.132612743514032 (code B ref 10313); Mon, 09 Jan 2012 16:44:01 +0000 Received: (at 10313) by debbugs.gnu.org; 9 Jan 2012 16:43:55 +0000 Received: from localhost ([127.0.0.1]:51204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RkIK9-0003eG-Ly for submit@debbugs.gnu.org; Mon, 09 Jan 2012 11:43:54 -0500 Received: from sd-27894.dedibox.fr ([88.191.146.115]:51157 helo=gmail.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RkIK6-0003e6-Qs for 10313@debbugs.gnu.org; Mon, 09 Jan 2012 11:43:52 -0500 Received: from gmail.com (manuel@localhost [127.0.0.1]) by gmail.com (8.14.5/8.14.5) with ESMTP id q09GhMhs009129; Mon, 9 Jan 2012 17:43:22 +0100 (CET) From: Manuel Giraud References: <87y5ucvlg3.fsf@ledu-giraud.fr> <4EEBEF0C.4050604@cs.ucla.edu> <4EF549AC.3050104@harpegolden.net> Date: Mon, 09 Jan 2012 17:43:22 +0100 In-Reply-To: <4EF549AC.3050104@harpegolden.net> (David De La Harpe Golden's message of "Sat, 24 Dec 2011 03:40:28 +0000") Message-ID: <87hb04akt1.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -1.8 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.8 (-) Ok, so within the openbsd's ports framework (where CPPFLAGS is correctly set inside the port Makefile) this issue doesn't stand. So this bug report can safely be closed. Best regards, -- Manuel Giraud From unknown Thu Sep 11 06:07:37 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Manuel Giraud Subject: bug#10313: closed (Re: bug#10313: configure fails to find include path on openbsd) Message-ID: References: <4F0B2019.2000508@cs.ucla.edu> <87y5ucvlg3.fsf@ledu-giraud.fr> X-Gnu-PR-Message: they-closed 10313 X-Gnu-PR-Package: emacs Reply-To: 10313@debbugs.gnu.org Date: Mon, 09 Jan 2012 17:14:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1326129242-16720-1" This is a multi-part message in MIME format... ------------=_1326129242-16720-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #10313: 24.0.92; configure fails to find include path on openbsd which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 10313@debbugs.gnu.org. --=20 10313: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10313 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1326129242-16720-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 10313-done) by debbugs.gnu.org; 9 Jan 2012 17:13:37 +0000 Received: from localhost ([127.0.0.1]:51217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RkImr-0004Kr-Dh for submit@debbugs.gnu.org; Mon, 09 Jan 2012 12:13:37 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:46947) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RkIml-0004KY-N5 for 10313-done@debbugs.gnu.org; Mon, 09 Jan 2012 12:13:32 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 67BCAA60002; Mon, 9 Jan 2012 09:13:07 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu 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 Fc98w26f1E6R; Mon, 9 Jan 2012 09:13:02 -0800 (PST) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id B70A2A60004; Mon, 9 Jan 2012 09:13:02 -0800 (PST) Message-ID: <4F0B2019.2000508@cs.ucla.edu> Date: Mon, 09 Jan 2012 09:12:57 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 MIME-Version: 1.0 To: Manuel Giraud Subject: Re: bug#10313: configure fails to find include path on openbsd References: <87y5ucvlg3.fsf@ledu-giraud.fr> <4EEBEF0C.4050604@cs.ucla.edu> <4EF549AC.3050104@harpegolden.net> <87hb04akt1.fsf@gmail.com> In-Reply-To: <87hb04akt1.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10313-done Cc: Glenn Morris , 10313-done@debbugs.gnu.org, David De La Harpe Golden X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) On 01/09/12 08:43, Manuel Giraud wrote: > this bug report can safely be closed. Thanks, I'm closing it now. http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10313 ------------=_1326129242-16720-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Dec 2011 16:54:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rbb3Q-0005Eg-3e for submit@debbugs.gnu.org; Fri, 16 Dec 2011 11:54:41 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbVQ7-0004aL-SV for submit@debbugs.gnu.org; Fri, 16 Dec 2011 05:53:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbVOV-0008U7-Gx for submit@debbugs.gnu.org; Fri, 16 Dec 2011 05:52:09 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_00, FSL_HELO_NON_FQDN_1, HELO_LOCALHOST autolearn=no version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:39638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbVOV-0008U2-FV for submit@debbugs.gnu.org; Fri, 16 Dec 2011 05:52:03 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbVOR-0005W0-9q for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 05:52:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbVOL-0008Sw-GP for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 05:51:59 -0500 Received: from sd-27894.dedibox.fr ([88.191.146.115]:56589 helo=localhost) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbVOK-0008RP-Uj for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 05:51:53 -0500 Received: from K (manuel@localhost [127.0.0.1]) by localhost (8.14.5/8.14.5) with ESMTP id pBGApbFR017406 for ; Fri, 16 Dec 2011 11:51:38 +0100 (CET) From: Manuel Giraud To: bug-gnu-emacs@gnu.org Subject: 24.0.92; configure fails to find include path on openbsd Date: Fri, 16 Dec 2011 11:51:24 +0100 Message-ID: <87y5ucvlg3.fsf@ledu-giraud.fr> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 16 Dec 2011 11:54:37 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) On OpenBSD, running ./configure fails to find some libraries (libjpeg, libpng,...) that are correctly installed (via package system). The following patch fixes this bug but I don't know if it is the right place to do it. --- configure.in.orig Fri Dec 16 11:30:34 2011 +++ configure.in Fri Dec 16 11:24:36 2011 @@ -478,6 +478,7 @@ sparc*) machine=sparc ;; vax-*) machine=vax ;; esac + CPPFLAGS="-I/usr/local/include" ;; ## Apple Darwin / Mac OS X In GNU Emacs 24.0.92.1 (i386-unknown-openbsd5.0, GTK+ Version 2.24.8) of 2011-12-16 on K Windowing system distributor `The X.Org Foundation', version 11.0.11102000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: fr_FR.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: e M-x c u s t a i - p a a p s m t p m a i l M-x M-p s m t p C-p C-e C-x C-e C-a C-f C-f C-f C-f C-f C-f C-x o C-p C-n C-n C-e ( t e s e t q SPC u s e r - m a i l - a d d r e s s SPC $ " m a n u e l @ l u e d u - g i r a a u d . f r " ) C-e C-x C-e M-x C-g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. customize-apropos: No customizable items matching (smtpmail) customize-apropos: No customizable items matching (smtp) Mark set "localhost" "manuel@ledu-giraud.fr" Quit Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug apropos cus-edit easymenu cus-start cus-load wid-edit time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- Manuel Giraud ------------=_1326129242-16720-1--