From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.devel
Subject: Re: [platform-testers] Emacs 26.2 RC1 is out!
Date: Fri, 22 Mar 2019 15:29:21 +0200
Message-ID: <834l7vrqa6.fsf@gnu.org>
References: <CMM.0.96.0.1553259244.beebe@gamma.math.utah.edu>
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
	logging-data="80101"; mail-complaints-to="usenet@blaine.gmane.org"
Cc: emacs-devel@gnu.org
To: "Nelson H. F. Beebe" <beebe@math.utah.edu>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 22 14:37:35 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 1h7KMZ-000Kd3-0A
	for ged-emacs-devel@m.gmane.org; Fri, 22 Mar 2019 14:37:35 +0100
Original-Received: from localhost ([127.0.0.1]:57485 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 1h7KMX-0004hl-Sp
	for ged-emacs-devel@m.gmane.org; Fri, 22 Mar 2019 09:37:33 -0400
Original-Received: from eggs.gnu.org ([209.51.188.92]:58224)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eliz@gnu.org>) id 1h7KKk-0004GX-9q
	for emacs-devel@gnu.org; Fri, 22 Mar 2019 09:35:45 -0400
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42144)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@gnu.org>)
	id 1h7KEf-0003nA-Nb; Fri, 22 Mar 2019 09:29:25 -0400
Original-Received: from [176.228.60.248] (port=2279 helo=home-c4e4a596f7)
	by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <eliz@gnu.org>)
	id 1h7KEe-0004v5-PW; Fri, 22 Mar 2019 09:29:25 -0400
In-reply-to: <CMM.0.96.0.1553259244.beebe@gamma.math.utah.edu>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
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:234558
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/234558>

> Date: Fri, 22 Mar 2019 06:54:04 -0600
> From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
> Cc: beebe@math.utah.edu, "Nelson H. F. Beebe" <beebe@math.utah.edu>,
>         emacs-devel@gnu.org
> 
> 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.

Would you mind filing a bug report about this?  I believe using
pkg-config is the right solution here.

> 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.

Thanks, as expected.