From: joakim@verona.se
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: build problem on fedora 25
Date: Tue, 21 Mar 2017 22:13:40 +0100 [thread overview]
Message-ID: <m3zigemiyj.fsf@chopper> (raw)
In-Reply-To: <1e436ee8-ccf7-8ef7-a659-323429f1f1e2@cs.ucla.edu> (Paul Eggert's message of "Tue, 21 Mar 2017 10:14:43 -0700")
Paul Eggert <eggert@cs.ucla.edu> writes:
> On 03/20/2017 12:12 PM, Eli Zaretskii wrote:
>>> From: joakim@verona.se
>>> 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,
Anaconda.
I'm not really sure how it could break my emacs build environment, but
it did.
>
>
--
Joakim Verona
joakim@verona.se
next prev parent reply other threads:[~2017-03-21 21:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-20 18:10 build problem on fedora 25 joakim
2017-03-20 19:12 ` Eli Zaretskii
2017-03-21 17:14 ` Paul Eggert
2017-03-21 21:13 ` joakim [this message]
2017-03-22 0:02 ` Fabrice Popineau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3zigemiyj.fsf@chopper \
--to=joakim@verona.se \
--cc=eggert@cs.ucla.edu \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.