-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gtk3 3.3.2] Install error on Windows 10 #1271
Comments
I'm pretty sure it is pkg-config not detecting my msys2 correctly. I use the official MSYS2 installer, as I want to test ruby 2.4/2.5/2.6. pkg-config only search default locations, and fails. |
Could you show your paths? |
On windows, if ruby_installer is available, the path should be available with : |
On my system, I have : |
Thanks. |
For the time being, I just created a symlink, but it would be nice if it is fixed in the next release, or the one after. |
Could you try pkg-config 1.3.3? |
Short answer: It does not work. Long answer: I still needed the symlink for the compilation to success.
[1]
|
We stepped forward. :-) |
I get the same error with pkg-config 1.3.4. |
I replaced all your path detection in pkg-config with:
and it compiled fine. As almost all ruby installation on windows will use ruby installer, I think that should be fine. |
Could you show the output of the following script? require "pkg-config"
require "pp"
p RUBY_PLATFORM
p PKGConfig::VERSION
pp RbConfig::CONFIG
p PKGConfig.cflags_only_I("gobject-2.0") |
"x64-mingw32" |
this script seems to work better: require "pkg-config"
require "pp"
require "ruby_installer"
RubyInstaller::Runtime::Msys2Installation.new().with_msys_apps_enabled do
p RUBY_PLATFORM
p PKGConfig::VERSION
pp RbConfig::CONFIG
p PKGConfig.cflags_only_I("gobject-2.0")
end |
Thanks. |
Upstream changes (from NEWS): == 1.3.6 - 2019-03-09 === Improvements * Added support for Homebrew environment without pkg-config formula. == 1.3.5 - 2019-03-08 === Fixes * Fixed MSYS2 detection installed at non standard folder. [GitHub:ruby-gnome/ruby-gnome#1271][Reported by Simon Arnaud] === Thanks * Simon Arnaud
Compilation works. Your little script does not. That's because you do not use RubyInstaller in your script. Anyway, it does fix my bug, as pkgconfig will always be called with RI pulled in before compilation. |
Ah, sorry. I wanted you to try |
Similar to #1247, if not identical, but on ruby 2.6.1.
I tried to update pkg-config, but it didn't change anything.
Windows 10 (1709) 64b
ruby 2.6.1p33 from ruby installer
The text was updated successfully, but these errors were encountered: