Giter VIP home page Giter VIP logo

Comments (4)

dcjones avatar dcjones commented on May 16, 2024

I don't think you're doing anything wrong. You're installation of fontconfig is just not behaving the way the code is assuming it should.

Were you at some point prompted with several options for installing dependencies? If so, which one did you choose?

from gadfly.jl.

reinholdsson avatar reinholdsson commented on May 16, 2024

I am not totally sure which dependencies that are needed, but I have reinstalled Cairo and fontconfig via MacPorts (without any options prompted).

I also tried with installing pango:

$ brew install pango
==> Installing pango dependency: pkg-config
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pkg-config-
######################################################################## 100,0%
==> Pouring pkg-config-0.28.mountain_lion.bottle.tar.gz
  /usr/local/Cellar/pkg-config/0.28: 10 files, 636K
==> Installing pango dependency: automake
==> Downloading http://ftpmirror.gnu.org/automake/automake-1.13.1.tar.gz
######################################################################## 100,0%
==> ./configure --prefix=/usr/local/Cellar/automake/1.13.1
==> make install
  /usr/local/Cellar/automake/1.13.1: 126 files, 2,3M, built in 11 seconds
==> Installing pango dependency: icu4c
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/icu4c-50.1.
######################################################################## 100,0%
==> Pouring icu4c-50.1.mountainlion.bottle.1.tar.gz
==> Caveats
This formula is keg-only: so it was not symlinked into /usr/local.

Conflicts; see: https://github.com/mxcl/homebrew/issues/issue/167

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/icu4c/lib
    CPPFLAGS: -I/usr/local/opt/icu4c/include

==> Summary
  /usr/local/Cellar/icu4c/50.1: 235 files, 55M
==> Installing pango dependency: freetype
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/freetype-2.
######################################################################## 100,0%
==> Pouring freetype-2.4.11.mountain_lion.bottle.tar.gz
  /usr/local/Cellar/freetype/2.4.11: 57 files, 2,5M
==> Installing pango dependency: fontconfig
==> Downloading http://fontconfig.org/release/fontconfig-2.10.91.tar.gz
######################################################################## 100,0%
==> Patching
patching file src/fcarch.h
==> ./configure --with-add-fonts=/Library/Fonts,~/Library/Fonts --prefix=/usr/lo
==> make install
  /usr/local/Cellar/fontconfig/2.10.91: 442 files, 3,9M, built in 38 seconds
==> Installing pango dependency: harfbuzz
==> Downloading http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.
######################################################################## 100,0%
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/harfbuzz/0.9.12
==> make install
  /usr/local/Cellar/harfbuzz/0.9.12: 29 files, 1,8M, built in 58 seconds
==> Installing pango dependency: pixman
==> Downloading http://cairographics.org/releases/pixman-0.28.2.tar.gz
######################################################################## 100,0%
==> ./configure --disable-gtk --prefix=/usr/local/Cellar/pixman/0.28.2 --disable
==> make install
  /usr/local/Cellar/pixman/0.28.2: 11 files, 1,2M, built in 30 seconds
==> Installing pango dependency: cairo
==> Downloading http://cairographics.org/releases/cairo-1.12.14.tar.xz
######################################################################## 100,0%
==> ./configure --prefix=/usr/local/Cellar/cairo/1.12.14 --with-x
==> make install
  /usr/local/Cellar/cairo/1.12.14: 106 files, 7,4M, built in 2.3 minutes
==> Installing pango
==> Downloading http://ftp.gnome.org/pub/GNOME/sources/pango/1.32/pango-1.32.6.t
######################################################################## 100,0%
==> Patching
patching file pango/pangoft2-render.c
patching file pango/pangoft2.c
==> ./configure --prefix=/usr/local/Cellar/pango/1.32.6 --enable-man --with-html
==> make
==> make install
  /usr/local/Cellar/pango/1.32.6: 119 files, 3,8M, built in 37 seconds

from gadfly.jl.

ViralBShah avatar ViralBShah commented on May 16, 2024

Could you try with the mac binaries that are on the downloads page? I am just curious to see if those work for you.

from gadfly.jl.

reinholdsson avatar reinholdsson commented on May 16, 2024

Now I tried with building Julia from source instead (Version 0.2.0-227.r7f62) and it works! :) at least when running it as root.

I never managed to get it to work with the mac binaries (Julia-0.1.dmg; Version 0.1.1+111038832.r2e9c.dirty).

from gadfly.jl.

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.