From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: build problem on fedora 25 Date: Tue, 21 Mar 2017 22:13:40 +0100 Message-ID: References: <83fui7wynm.fsf@gnu.org> <1e436ee8-ccf7-8ef7-a659-323429f1f1e2@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1490130854 13716 195.159.176.226 (21 Mar 2017 21:14:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Mar 2017 21:14:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 21 22:14:06 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqR6T-0002mY-2G for ged-emacs-devel@m.gmane.org; Tue, 21 Mar 2017 22:14:05 +0100 Original-Received: from localhost ([::1]:42483 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqR6Z-00061l-0I for ged-emacs-devel@m.gmane.org; Tue, 21 Mar 2017 17:14:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqR6T-00061R-5A for emacs-devel@gnu.org; Tue, 21 Mar 2017 17:14:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqR6S-0003KN-8V for emacs-devel@gnu.org; Tue, 21 Mar 2017 17:14:05 -0400 Original-Received: from gate.verona.se ([82.115.149.64]:36072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqR6O-0003JT-Fb; Tue, 21 Mar 2017 17:14:00 -0400 Original-Received: from mta.verona.se (h-223-63.a149.priv.bahnhof.se [81.170.223.63]) by gate.verona.se (Postfix) with ESMTPSA id 6562558120F; Tue, 21 Mar 2017 22:13:57 +0100 (CET) Original-Received: from localhost (unknown [127.0.0.1]) by mta.verona.se (Postfix) with ESMTP id 4F3F6500D5A; Tue, 21 Mar 2017 21:13:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at verona.se Original-Received: from mta.verona.se ([127.0.0.1]) by localhost (exodia.verona.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jWL95UB8VJ92; Tue, 21 Mar 2017 22:13:40 +0100 (CET) Original-Received: from exodia.verona.se (www.verona.se [192.168.200.15]) by mta.verona.se (Postfix) with ESMTP id 13F62500C40; Tue, 21 Mar 2017 22:13:40 +0100 (CET) DMARC-Filter: OpenDMARC Filter v1.3.1 mta.verona.se 13F62500C40 Authentication-Results: mta.verona.se; dmarc=none header.from=verona.se Authentication-Results: mta.verona.se; spf=pass smtp.mailfrom=joakim@verona.se In-Reply-To: <1e436ee8-ccf7-8ef7-a659-323429f1f1e2@cs.ucla.edu> (Paul Eggert's message of "Tue, 21 Mar 2017 10:14:43 -0700") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 82.115.149.64 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213216 Archived-At: Paul Eggert 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