SyntaxHighlighter

2009/08/14

How to Use gpsPhoto.pl with MacPorts

Mac OS X for Unix GeeksTo use gpsPhoto.pl on Mac, an additional Perl package ExifTool is needed for Perl provided by MacPorts. So we should run the following command:
sudo port install p5-image-exiftool

Then, we should modify the gpsPhoto.pl script to use Perl of MacPorts instead of MacOSX like:
- #!/usr/bin/perl -w
+ #!/usr/bin/env perl -w

The reason why we should use Perl of MacPorts is that Perl of MacOSX doesn't have ExifTool package officially.

Installation for Linux and Cygwin was introduced here.

0 件のコメント: