Project

General

Profile

unexist.dev

Assorted tidbits and projects

Bug #315

subtle does not compile on archlinux

Added by François-Xavier LdM almost 10 years ago. Updated almost 7 years ago.

Status:
Fixed
Priority:
Immediate
Assignee:
-
Category:
-
Target version:
-
Start date:
01/06/2015
Due date:
% Done:

100%

Estimated time:
0.00 h

Description

When compiling :

/usr/include/X11/Xft/Xft.h:39:22: fatal error: ft2build.h: No such file or directory
#include <ft2build.h>

Quickfix : add

-I/usr/include/freetype2

in the ccppath variable of the RakeFile.

The Xft library package 2.3.2-1 seams to be the problem, but since subtle didn't needed to be rebuild until new version of ruby 2.2.0-1, the problems was hidden.

History

#1 Updated by Christoph Kappel almost 10 years ago

Thanks for the report, unfortunately I don't have an arch machine here right now.

Can you please show me the output of pkg-config --libs --cflags xft?

#2 Updated by François-Xavier LdM almost 10 years ago

Hello,

here is the result :
@
~$ pkg-config --libs --cflags xft

-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -lXft
@

#3 Updated by Christoph Kappel almost 10 years ago

Do you compile subtle on your own or via pkgbuild?

When you do it on your own, did you try to re-run the build script and wipe the old cached config data? The output of pkgconfig looks fine for me tho.

#5 Updated by Christoph Kappel almost 10 years ago

Weird, let me fetch 2.2.0 and give it a spin.

#6 Updated by Christoph Kappel almost 10 years ago

  • Status changed from Confirmed to Fixed
  • % Done changed from 0 to 100

Applied in changeset 31e0a9716e58.

#7 Updated by Christoph Kappel almost 10 years ago

  • Status changed from Fixed to Unconfirmed
  • % Done changed from 100 to 0

I've added a check for this in r3244, please update your repo and give it a try.

#8 Updated by François-Xavier LdM almost 10 years ago

No more compilation compilation issue !
Thank you for this fix (sadly, #316 does not allow me to use subtle for now :/ )

#9 Updated by Christoph Kappel almost 10 years ago

No problem, I am looking into #316 right now.

#10 Updated by Christoph Kappel almost 7 years ago

  • Status changed from Unconfirmed to Fixed
  • % Done changed from 0 to 100

Applied in changeset 31e0a9716e58.

Also available in: Atom PDF