-
Notifications
You must be signed in to change notification settings - Fork 17
I needed to make this change to install this gem #33
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
Conversation
Signed-off-by: Oliver Stigley <[email protected]>
5e73b18 to
5d4a6aa
Compare
| @@ -1,5 +1,6 @@ | |||
| require 'mkmf' | |||
|
|
|||
| CONFIG['CXX'] = ENV['CXX'] || 'clang++' | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what this will do to our ubuntu users (CMCG)
| @@ -1,5 +1,6 @@ | |||
| require 'mkmf' | |||
|
|
|||
| CONFIG['CXX'] = ENV['CXX'] || 'clang++' | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be solved on the user's system. I'd rather we did a check for CXX and fail loudly up front if it's not present.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can do that with cxx.have_devel? it seems: https://github.com/ruby/ruby/blob/cbf9c088f8005a49b6aa3f475c70041357774c61/lib/mkmf.rb#L3022C9-L3022C20
|
|
||
| if have_macro("EXV_USE_CURL", "exiv2/exv_conf.h") | ||
| if dir_config("libcurl") == [nil, nil] | ||
| if dir_config("curl") == [nil, nil] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This only renames the flag --with-libcurl-dir to --with-curl-dir, but shouldn't affect compilation. Unless we have some really weird side effect here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given I've resolved my issues and all fingers are pointing to ruby-build, I'm happy to clsoe this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about #34 instead?
I'm having trouble installing this gem on Market.
System details:
Mac OS 15.4
Ruby: 3.3.8
Making this change (with the help of chatgpt), and then running:
Installed the gem correctly.