From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
Newsgroups: gmane.emacs.devel
Subject: Re: [platform-testers] Emacs 26.2 RC1 is out!
Date: Fri, 22 Mar 2019 06:54:04 -0600
Message-ID: <CMM.0.96.0.1553259244.beebe@gamma.math.utah.edu>
References: <834l7vtlp0.fsf@gnu.org>
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
	logging-data="147217"; mail-complaints-to="usenet@blaine.gmane.org"
Cc: "Nelson H. F. Beebe" <beebe@math.utah.edu>, emacs-devel@gnu.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 22 13:54:28 2019
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Envelope-to: ged-emacs-devel@m.gmane.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.89)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1h7Jgn-000c37-0L
	for ged-emacs-devel@m.gmane.org; Fri, 22 Mar 2019 13:54:25 +0100
Original-Received: from localhost ([127.0.0.1]:56956 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1h7Jgm-0001DZ-1o
	for ged-emacs-devel@m.gmane.org; Fri, 22 Mar 2019 08:54:24 -0400
Original-Received: from eggs.gnu.org ([209.51.188.92]:47787)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <beebe@math.utah.edu>) id 1h7Jga-0001At-D3
	for emacs-devel@gnu.org; Fri, 22 Mar 2019 08:54:15 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <beebe@math.utah.edu>) id 1h7JgW-0000Al-EZ
	for emacs-devel@gnu.org; Fri, 22 Mar 2019 08:54:12 -0400
Original-Received: from ipo7.cc.utah.edu ([155.97.144.42]:24661)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <beebe@math.utah.edu>)
	id 1h7JgU-0008Vi-VF; Fri, 22 Mar 2019 08:54:08 -0400
X-IronPort-AV: E=Sophos;i="5.60,256,1549954800"; 
   d="scan'208";a="6177358"
Original-Received: from mail.math.utah.edu ([155.101.98.135])
	by ipo7smtp.cc.utah.edu with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
	22 Mar 2019 06:54:05 -0600
Original-Received: from gamma.math.utah.edu (gamma.math.utah.edu [155.101.96.20])
	by mail.math.utah.edu (8.14.8/8.14.8) with ESMTP id x2MCs4S6020352;
	Fri, 22 Mar 2019 06:54:04 -0600 (MDT)
Original-Received: from gamma.math.utah.edu (localhost [127.0.0.1])
	by gamma.math.utah.edu (8.15.1/8.15.1) with ESMTP id x2MCs4Jf065278;
	Fri, 22 Mar 2019 06:54:04 -0600
Original-Received: (from beebe@localhost)
	by gamma.math.utah.edu (8.15.1/8.15.1/Submit) id x2MCs4pO065277;
	Fri, 22 Mar 2019 06:54:04 -0600
X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S
	1400 E RM 233, Salt Lake City, UT 84112-0090, USA"
X-Telephone: +1 801 581 5254
X-FAX: +1 801 581 4148
X-URL: http://www.math.utah.edu/~beebe
In-Reply-To: <834l7vtlp0.fsf@gnu.org>
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.8
	(mail.math.utah.edu [155.101.98.135]);
	Fri, 22 Mar 2019 06:54:04 -0600 (MDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 155.97.144.42
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel/>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.devel:234552
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/234552>

Eli Zaretskii <eliz@gnu.org> asks about the Solaris 11.4 problem in
building emacs-26.2: the lmcs2.h header file is not found, because it
is expected in /usr/include, but actually stored in /usr/include/lcms:

>> Does that system have an lcms2/pc file and pkg-config, and does the
>> following command show the correct -I switch:
>>
>> pkg-config --cflags lcms2

The file

	/usr/gnu/lib/pkgconfig/lcms2.pc

is supplied by Oracle in Solaris 11.4, and the command reports

	% pkg-config --cflags lcms2
	-I/usr/include/lcms

So, it seems to be a reasonable solution to have configure.ac
use pkg-config to find the needed -I option.

Eli also asks:

>> I believe Emacs 26.1 also doesn't compile on that system for the
>> same reason?

I tried a similar build of emacs-26.1 on Solaris 11.4 with

	set path= ( /opt/developerstudio12.6/bin /bin )
	env CC=cc ./configure --prefix=$prefix --with-gnutls=no --with-pop --with-gif=no && gmake all check

It too fails with

	  CC       lcms.o
	"lcms.c", line 23: cannot find include file: <lcms2.h>

I ran

	gmake CFLAGS="-I${prefix}/include -I/usr/include/lcms"

and got a build and installation to complete.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe@math.utah.edu  -
- 155 S 1400 E RM 233                       beebe@acm.org  beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------