-
Couldn't load subscription status.
- Fork 58
Closed
Description
Below is the command's output
looks like freetype dependency is not being installed by Homebrew.
julia> Pkg.add("Cairo")
INFO: Installing Cairo v0.3.1
INFO: Building Homebrew
Already up-to-date.
INFO: Building Cairo
WARNING: The following packages do not have relocatable bottles, installation may fail!
Please report these packages to https://github.com/JuliaLang/Homebrew.jl:
staticfloat/juliadeps/fontconfig
==> Installing fontconfig from staticfloat/juliadeps
==> Downloading https://www.freedesktop.org/software/fontconfig/release/fontconf
Already downloaded: /Users/sivapvarma/Library/Caches/Homebrew.jl/fontconfig-2.12.1.tar.bz2
==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/3790b
Already downloaded: /Users/sivapvarma/Library/Caches/Homebrew.jl/fontconfig--patch-e7c074109a367bf3966578034b20d11f7e0b4a611785a040aef1fd11359af04d.diff
==> Patching
==> Applying patch-2.12.1-fccache.diff
patching file src/fccache.c
==> ./configure --disable-silent-rules --enable-static --with-add-fonts=/System/
Last 15 lines from /Users/sivapvarma/Library/Logs/Homebrew/fontconfig/01.configure:
checking for struct statfs.f_flags... yes
checking for struct statfs.f_fstypename... yes
checking for struct dirent.d_type... yes
checking for FREETYPE... no
configure: error: in `/private/tmp/fontconfig-20171103-26222-17wwa08/fontconfig-2.12.1':
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables FREETYPE_CFLAGS
and FREETYPE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details
If reporting this issue please do so to (not Homebrew/brew or Homebrew/core):
staticfloat/juliadeps
====================================[ ERROR: Cairo ]=====================================
LoadError: failed process: Process(`/Users/sivapvarma/.julia/v0.6/Homebrew/deps/usr/bin/brew install --ignore-dependencies staticfloat/juliadeps/fontconfig`, ProcessExited(1)) [1]
while loading /Users/sivapvarma/.julia/v0.6/Cairo/deps/build.jl, in expression starting on line 162
=========================================================================================
====================================[ BUILD ERRORS ]=====================================
WARNING: Cairo had build errors.
- packages with build errors remain installed in /Users/sivapvarma/.julia/v0.6
- build the package(s) and all dependencies with `Pkg.build("Cairo")`
- build a single package by running its `deps/build.jl` script
=========================================================================================
INFO: Package database updated
INFO: METADATA is out-of-date — you may not have the latest version of Cairo
INFO: Use `Pkg.update()` to get the latest versions of your packages
Here is my versioninfo
julia> versioninfo()
Julia Version 0.6.1
Commit 0d7248e (2017-10-24 22:15 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin14.5.0)
CPU: Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, broadwell)
Metadata
Metadata
Assignees
Labels
No labels