-
Notifications
You must be signed in to change notification settings - Fork 200
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
Miniportile2 recipe.host is nil on windows in extconf.rb #506
Comments
@jmarrec Sorry you're having problems. Miniportile's
What does your compiler emit when given a |
@flavorjones I appreciate the quick answer, thank you. Note that I've worked around it already by using
(cl is |
|
It throws on this line as a result
sqlite3-ruby/ext/sqlite3/extconf.rb
Line 70 in 16470de
I do use a mswin built of ruby (
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x64-mswin64_140]
) in this specific case, but I can reproduce using 2.7.2 mingw.Miniportile2 uses the output of running
gcc -v
to detect the host, and obviously this fails in this case.https://github.com/flavorjones/mini_portile/blob/52fb0bc41c89a10f1ac7b5abcf0157e059194374/lib/mini_portile2/mini_portile.rb#L542-L557
I am able to work around it by using the same code as nokogiri: https://github.com/sparklemotion/nokogiri/blob/d7ee3b683246a9fdc19c51aabc98868dc8dcf134/ext/nokogiri/extconf.rb#L443-L446
The text was updated successfully, but these errors were encountered: