Skip to content

Conversation

@ostigley
Copy link

@ostigley ostigley commented May 6, 2025

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:

$ gem build exiv2.gemspec
$ gem install ./exiv2-0.1.2.gem

Installed the gem correctly.

@ostigley ostigley marked this pull request as draft May 6, 2025 07:43
@ostigley ostigley force-pushed the oliver/m1-mac-os-15.4-fix branch from 5e73b18 to 5d4a6aa Compare May 6, 2025 07:44
@@ -1,5 +1,6 @@
require 'mkmf'

CONFIG['CXX'] = ENV['CXX'] || 'clang++'
Copy link
Author

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++'
Copy link
Contributor

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


if have_macro("EXV_USE_CURL", "exiv2/exv_conf.h")
if dir_config("libcurl") == [nil, nil]
if dir_config("curl") == [nil, nil]
Copy link
Contributor

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?

Copy link
Author

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about #34 instead?

@ostigley ostigley closed this May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants