Author Topic: macOS bundle with perl (like for Windows)  (Read 176 times)

ribtoks

  • Full Member
  • ***
  • Posts: 36
    • Xpiks
macOS bundle with perl (like for Windows)
« on: August 02, 2020, 06:09:50 AM »
Hi Phil

Just an idea to make exiftool work with macOS Big Sur where Apple will reportedly remove Perl (https://developer.apple.com/documentation/macos-release-notes/macos-catalina-10_15-release-notes#3318257) together with Python/Ruby.

Maybe it'll be a good idea to bundle exiftool with Perl? This is done for Windows anyway.

Thanks,
Taras

Hubert

  • Full Member
  • ***
  • Posts: 35
Re: macOS bundle with perl (like for Windows)
« Reply #1 on: August 03, 2020, 03:31:42 AM »
The public beta of Big Sur is available now, and on my setup (with the OS installed over Catalina, not a clean install) ExifTool runs fine. There do seem to be some issues with the installer, though - I shall do my best to report if they continue.

ribtoks

  • Full Member
  • ***
  • Posts: 36
    • Xpiks
Re: macOS bundle with perl (like for Windows)
« Reply #2 on: August 03, 2020, 03:54:13 AM »
with the OS installed over Catalina, not a clean install

Thanks for your reply. There's a chance that you had perl inherited from Catalina so you don't see this problem.

Hubert

  • Full Member
  • ***
  • Posts: 35
Re: macOS bundle with perl (like for Windows)
« Reply #3 on: August 03, 2020, 03:42:33 PM »

There's a chance that you had perl inherited from Catalina so you don't see this problem.

Indeed. But there's nothing in the current release notes for Big Sur Beta 3 at https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11-beta-release-notes to indicate that Perl, or any other scripting languages, have actually been dropped. The Catalina release notes from last year that you linked to are quite vague:

Quote
Future versions of macOS won’t include scripting language runtimes by default, and might require you to install additional packages


The only way to know for sure would be to run a clean install of Big Sur beta. Not something I'm inclined to do myself.

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16706
    • ExifTool Home Page
Re: macOS bundle with perl (like for Windows)
« Reply #4 on: August 06, 2020, 06:25:48 PM »
Keep me up to date, but I'm pretty sure that if Perl is dropped there will be convenient packages for installing it.  I'm hoping it won't become necessary to bundle it with ExifTool because that is something I would rather avoid.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Hubert

  • Full Member
  • ***
  • Posts: 35
Re: macOS bundle with perl (like for Windows)
« Reply #5 on: August 07, 2020, 07:07:06 AM »
Keep me up to date.

Will do. Reading between the lines, I think it's possible that the Perl packaged with MacOS may never be updated to v6 or v7. For now, ExifTool is running fine on my Customer Beta version of Big Sur.

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16706
    • ExifTool Home Page
Re: macOS bundle with perl (like for Windows)
« Reply #6 on: August 07, 2020, 07:24:47 AM »
It would be ideal if perl was never updated to Perl6 because ExifTool is not compatible with Perl6 and it is unlikely that it ever will be (it would require a substantial rewrite).

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Hubert

  • Full Member
  • ***
  • Posts: 35
Re: macOS bundle with perl (like for Windows)
« Reply #7 on: August 07, 2020, 06:05:18 PM »
Fingers crossed is all I can say.