-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Trying to compile ExifTool results in
./jperl Image-ExifTool-13.43/exiftool -ver
Compilation failed in require: Expected token OPERATOR with text ) but got LexerToken{type=IDENTIFIER, text='and'} at /C/C/dennis/Desktop/PerlOnJava-5.42.2/Image-ExifTool-13.43/lib/Image/ExifTool.pm line 4916, near "() and $dir"
JVM Stack Trace:
org.perlonjava.operators.ModuleOperators.require at ModuleOperators.java line 751
org.perlonjava.parser.StatementParser.parseUseDeclaration at StatementParser.java line 517
org.perlonjava.parser.StatementResolver.parseStatement at StatementResolver.java line 88
org.perlonjava.parser.ParseBlock.parseBlock at ParseBlock.java line 110
org.perlonjava.parser.ParseBlock.parseBlock at ParseBlock.java line 48
The offending lines are
if (length and not $self->IsDirectory($dir) and
# don't try to create a network drive root directory
not (IsPC() and $dir =~ m{^//[^/]*$}))
Download and unpack Image-ExifTool-13.43.tar.gz from exiftool.org.
I'm pretty weak with perl so forgive me if this is something that should not be expected to work.