[Top][All Lists]

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

Re: build problem on fedora 25

From: joakim
Subject: Re: build problem on fedora 25
Date: Tue, 21 Mar 2017 22:13:40 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Paul Eggert <address@hidden> writes:

> On 03/20/2017 12:12 PM, Eli Zaretskii wrote:
>>> From: address@hidden
>>> Date: Mon, 20 Mar 2017 19:10:54 +0100
>>> I get funny linkage problems. I used to be able to build emacs fine on
>>> this machine.
>>> I suppose theres something wrong with fedora.
>>>    CCLD     temacs
>>> /usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../lib64/libgtk-3.so: 
>>> undefined reference to `cairo_surface_set_device_scale'
>>> /usr/lib64/libpangoft2-1.0.so.0: undefined reference to `FcWeightToOpenType'
>>> /usr/lib64/libpangoft2-1.0.so.0: undefined reference to 
>>> `FcWeightFromOpenType'
>>> /usr/lib/gcc/x86_64-redhat-linux/6.3.1/../../../../lib64/libgtk-3.so: 
>>> undefined reference to `cairo_surface_get_device_scale'
>> Looks like some development packages are missing, nothing to do with
>> Emacs per se (because the unresolved references are in GTK and Pango,
>> not in Emacs).
> For what it's worth I have no problem building Emacs master on Fedora
> 25 x86-64. I configured with './configure --enable-gcc-warnings
> --with-cairo'. The command 'ldd -v src/temacs' outputs the attached
> file. The symbol cairo_surface_set_device_scale is defined in the file
> /lib64/libcairo.so.2.11400.8.The other two symbols you had trouble
> with are defined in the file /lib64/libfontconfig.so.1.9.2. These are
> supplied by the packages cairo-1.14.8-1.fc25.x86_64 and
> fontconfig-2.12.1-1.fc25.x86_64, respectively. So perhaps the
> following command will help fix your problem:
> dnf install cairo-devel fontconfig-devel

Thanks Paul!

I found out the culprit was a python environment manager I was using,

I'm not really sure how it could break my emacs build environment, but
it did. 

Joakim Verona

reply via email to

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