i cant´t istall the ExifTool on my Mac

Started by sauerwald, October 09, 2015, 03:45:45 AM

Previous topic - Next topic

sauerwald

Hi folks,

i have some problems to install ExifTool on my iMac.
I use OSX El Capitan 10.11

When I run the install tool it says to me that the istallation is finisch, but on the terminal i can´t find exiftool.

I read the installing.

I wrote to Marco S Hyman, the writer of the GeoTag  tool. He gives me some advice but nothing helps.

I post the conversation

1.
Quote
Hi Marc,

i´m from Germany and my english is not so good.
I hope you understand me.

I have some Problems to start and use GeoTag. After the installing auf exiftool 10.2 for Mac and install GeoTag 3.5 Geotag say the the exiftool was not found.

GeoTag requires the 3rd party application exiftool to update the geolocation information in your images.  Exiftool could not be found in its normal location.   Are you sure you have it installed?

http://www.exiftool.org/

The above address is the home page for exiftool.  It contains a link to a Mac OS X package.  Please download the package and install the tool.

I download and install many time but it´s not work.

Have you an idea for me.

Best regards

Markus Sauerwald

2
Quote
On Oct 6, 2015, at 11:42 AM, Markus Sauerwald <sauerwald@me.com> wrote:

Hi Marc,

i´m from Germany and my english is not so good.
I hope you understand me.

No problem, Markus. And if help is needed I've a friend (also named Markus) who can translate.

I have some Problems to start and use GeoTag. After the installing auf exiftool 10.2 for Mac and install GeoTag 3.5 Geotag say the the exiftool was not found.

Can you please open a terminal window and enter the command "which exiftool". The output should look something like this:

xxxxx$ which exiftool
/usr/local/bin/exiftool

Then try the command "exiftool -ver".  Output should be similar to this:

xxxxx$ exiftool -ver
10.02

GeoTag looks for exiftool in /usr/bin, /usr/local/bin, and /opt/bin.  If it is in some other place it will not work.  When I installed exiftool it went in /usr/local/bin.

Also, what version of OS X are you using?

Marc
3
Quote
Hi Marc,

thank your for your answer.
I open Terminal and type exfitool

markus-PC:~ markus$ exiftool
-bash: exiftool: command not found
markus-PC:~ markus$ exiftool


I installed 5 times an the answer is the same.

i search for  the path /usr/local/bin/exiftool
but the path is not there.

I use El Capitan 10.11.1

Markus

4
QuoteMarkus,

I open Terminal and type exfitool

markus-PC:~ markus$ exiftool
-bash: exiftool: command not found
markus-PC:~ markus$ exiftool


I installed 5 times an the answer is the same.

i search for  the path /usr/local/bin/exiftool
but the path is not there.

Thank you.  I need to do some digging to find out why exiftool isn't where I think it should be and look into where the installer is putting it.

I use El Capitan 10.11.1

I'm on 10.11 (no .1). Perhaps that makes a difference.  I'll get back to you
once I learn more.

Marc
5
Quote
Markus,

I installed 5 times an the answer is the same.

And I found the issue... the exiftool installer doesn't always work correctly with 10.11.  I think it worked for me because I'd addressed the root issue as part of installing some other tools.

Apple changed the permissions of /usr/local.  I think the exiftool installer is trying to install in /usr/local but doesn't have permission, even when running as the administrative user.

In a terminal window the output of the command

...$ ls -ld /usr/local

probably looks like this:

drwxr-xr-x  21 root  wheel  714 Sep 30 15:22 /usr/local/

I changed the permissions on my machine using this command:

...$ sudo chgrp admin /usr/local
...$ sudo chmod g+w /usr/local

After issuing those two commands the output of "ls -ld" looks like:
drwxrwxr-x  21 root  admin  714 Sep 30 15:22 /usr/local/

I *think* that is all I did. After doing that try to install exiftool again.  It that works I'll pass the info to the exiftool folks so they can adjust their documentation.  I don't know if they can fix it in the installer.

Marc
6
QuoteHi Marc,

sorry but it doesn't work.

I post the Terminal Window, hope you can read it.

Last login: Thu Oct  8 05:36:32 on console
markus-PC:~ markus$ -ld /usr/local
-bash: -ld: command not found
markus-PC:~ markus$ ls -ld /usr/local
drwxr-xr-x  4 root  wheel  136 18 Sep 14:34 /usr/local
markus-PC:~ markus$ sudo chgrp admin /usr/local
Password:
markus-PC:~ markus$ sudo chmod g+w /usr/loca
chmod: /usr/loca: No such file or directory
markus-PC:~ markus$ sudo chmod g+w /usr/local
markus-PC:~ markus$ ls -ld /usr/local
drwxrwxr-x  4 root  admin  136 18 Sep 14:34 /usr/local
markus-PC:~ markus$ exiftool
-bash: exiftool: command not found
markus-PC:~ markus$ exiftool -ver
-bash: exiftool: command not found
markus-PC:~ markus$ exiftool -ver
-bash: exiftool: command not found
markus-PC:~ markus$ exiftool -ver
-bash: exiftool: command not found
markus-PC:~ markus$ exiftool
-bash: exiftool: command not found
markus-PC:~ markus$ sudo chmod g+w /usr/local
markus-PC:~ markus$ sudo chmod g+w /usr/local
markus-PC:~ markus$ sudo chmod g+w /usr/local
markus-PC:~ markus$ sudo chgrp admin /usr/local
markus-PC:~ markus$ ls -ld /usr/local
drwxrwxr-x  4 root  admin  136 18 Sep 14:34 /usr/local
markus-PC:~ markus$

Markus

7
Quote
On Oct 8, 2015, at 7:38 AM, Markus Sauerwald <sauerwald@me.com> wrote:

sorry but it doesn't work.

I post the Terminal Window, hope you can read it.

Yes, I can read it just fine...

markus-PC:~ markus$ sudo chmod g+w /usr/local
markus-PC:~ markus$ sudo chgrp admin /usr/local
markus-PC:~ markus$ ls -ld /usr/local
drwxrwxr-x  4 root  admin  136 18 Sep 14:34 /usr/local
markus-PC:~ markus$

That shows that the group is admin and the ownership allows admin to update the directory.   Alas, it was already set to admin so the commands didn't really change anything.  I guess that was not the issue.

I had to install 10.11 on my laptop from scratch.  I downloaded the exiftool dmg file from the exiftool site. To open the dmg file I had to first change the security settings in System Preferences to "Allow apps downloaded from Anywhere".   Once the dmg file was opened I double clicked on the exiftool installer and it just worked.

At this point you might get better help from the exiftool people.   With luck there will be a German speaking expert who knows about this problem and how to fix.

Marc

System Preferences to "Allow apps downloaded from Anywhere".

I turned on earlier

Thank you

Markus

Phil Harvey

Hi Markus,

Thanks for the report.  This is unfortunate.  I won't be able to test this out until I install El Capitan (in about a year or so).

But luckily you don't need to install Exiftool to use it.  Just download the full ExifTool package (.tar.gz) and copy "exiftool" and the "lib" directory to anywhere in your path.

For 10 years the ExifTool installers have worked on OS X and Windows, but OS X 10.11 and Windows 10 have both managed to break this. :(

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

Alan Clifford

Hi Phil

I switched on my old macbook and installed el Capitan to do some testing.  But I forgot to download Xcode which is needed for make :(   As this is a big download, I'll do it this evening when my megabits are cheaper and let you know how it goes with exiftool install.

I do have an old version of exiftool on the macbook and that appear to be working ok.

Phil Harvey

You don't need XCode.

The problem is with the OS X package, which apparently doesn't install properly sometimes in /usr/local/bin as it should.  This install does not require XCode.

You could use XCode to install the Unix (.tar.gz) version, but I would not recommend this for someone that has already installed the OS X version because then you could have a conflict between versions installed in different locations.

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

Alan Clifford

Ahh, OK, I see I wasn't being very helpful by posting in this thread :(