Open BoundaryValueProblems opened 6 years ago
BTW, in order to successfully install librsvg
under Homebrew.jl (the Julia specific version of Homebrew stuff), I had to install librsvg
on my main systemwide Homebrew system first. By doing so, it also automatically installed rust
on the systemwide Homebrew system. So, it is not a good situation at all. I had to install all these packages twice for the systemwide Homebrew and the Julia-specific Homebrew...
I just want to add that I didn't have any problem installing it on my Windows 10 machine with Julia v1.0.1.
The issue seems that the OSX version is pretty old. We run tests but these are on more recent versions.
│ We (and Apple) do not provide support for this old version. │ You will encounter build failures and other breakages.
I think the "we" here refers to Homebrew (and not Homebrew.jl). It seems like you either need to upgrade your OS or make a fix yourself and contribute it to Homebrew. It's probably easier to upgrade.
I also installed Gtk.jl on linux machines: it initially failed to build due to the failure of installing libgtk-3-dev
, but after running sudo apt-get install libgtk-3-dev
explicitly on the shell/terminal, it worked. Hence, so far, installing Gtk.jl on Mac is the most difficult and cumbersome, perhaps, partially due to the current problematic status of Homebrew.jl...
About the version of OS X (El Capitan, 10.11.6), I believe many people still use this quite stable and reliable version of OS X. Although I plan to update to Mojave (10.14.x) soon, it would be great if things works under El Capitan. In fact, finally, I could build Gtk, but I had to install all these packages (rust
, librsvg
, etc.) twice: one under Julia-specific version of Homebrew, and the other under the systemwide Homebrew. @tknopp and @jonathanBieler : you didn't have to install these twice under your newer macOS, correct? I just want to double check with you guys.
I do not use system wide homebrew and so does not Travis:
https://travis-ci.org/JuliaGraphics/Gtk.jl
Every commit that we make is tested there so that nothing brakes. But this is not done across a variety of OSX versions.
In general, this is more a Homebrew.jl issue and not so much a Gtk.jl issue. So the solution is not in this package but in the formulas provided by Homebrew.jl
I just added the current master branch of Gtk.jl on my MacBook Pro (OSX 10.11.6), and tried to build and precompile it, but it failed as follows:
It's strange since I already built
cargo
when I builtrust
. I also installedharfbuzz
andcairo
via Homebrew.jl. When I explicitly ran the Homebrew installatation oflibrsvg
via Terminal, it was installed after quite a bit of effort:Before this, I had to install
rust
etc., via Homebrew on Terminal, which took a long time to compile and install. In principle, we should not need to run Homebrew on Terminal, andbuild Gtk
within the package management in Julia should do all these necessary installation. What is wrong here? I use the current master branch ofHomebrew.jl
, by the way. Thanks for your help!