emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [platform-testers] Emacs 26.2 RC1 is out!


From: Nelson H. F. Beebe
Subject: Re: [platform-testers] Emacs 26.2 RC1 is out!
Date: Fri, 22 Mar 2019 06:54:04 -0600

Eli Zaretskii <address@hidden> 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: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]