Giter Site home page Giter Site logo

Comments (4)

s-u avatar s-u commented on August 23, 2024

This has nothing to do with recipes, because the pkg-config output is as follows:

$ pkg-config --cflags fontconfig freetype2
-DPCRE_STATIC -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include
$ pkg-config --libs fontconfig freetype2
-L/usr/local/lib -lfontconfig -lexpat -lfreetype -lbz2 -lpng16 -lz -lharfbuzz -lm -lglib-2.0 -lintl -liconv -lm -Wl,-framework,CoreFoundation -Wl,-framework,Carbon -Wl,-framework,Foundation -Wl,-framework,AppKit -lpcre

so the flags are correct. An entirely separate issue is how systemfonts obtains incorrect flags on the build machine. The build process explicitly makes sure that the local .pcs come before XQuartz, so I'll close this and trace the build.

from recipes.

jeroen avatar jeroen commented on August 23, 2024

The configure script from systemfonts prints the output it gets from pkg-config to the install log, which shows something else from what you have above:

Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/opt/X11/include/freetype2
Using PKG_LIBS=-L/opt/X11/lib -lfreetype -lz -lbz2

Some somehow the PATH or PKG_CONFIG_PATH is different from within your R builds.

from recipes.

jeroen avatar jeroen commented on August 23, 2024

For future reference, this may be fixed via r-devel/r-dev-web@6de8b69

from recipes.

s-u avatar s-u commented on August 23, 2024

Ah, nice, I didn't realize you also mirror R-dev-web or I would have posed the diff link ...

from recipes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.