- changed status to open
- removed comment
GetComponents has syntax errors
When I run GetComponents, it aborts due to syntax errors:
$ bin/GetComponents --status --root=. manifest/einsteintoolkit.th "my" variable $ret masks earlier declaration in same scope at bin/GetComponents line 520. "my" variable %svn_servers masks earlier declaration in same scope at bin/GetComponents line 524. "my" variable $base masks earlier declaration in same scope at bin/GetComponents line 524. syntax error at bin/GetComponents line 518, near "$base " syntax error at bin/GetComponents line 664, near "}" Execution of bin/GetComponents aborted due to compilation errors. eschnett@erik-schnetters-macbook-pro:/EinsteinToolkit-hg-vanilla (15:04:45)
Keyword:
Comments (3)
-
-
reporter - removed comment
No, I am running perl 5.8.9 installed via MacPorts. Stock perl is 5.10.
-
- changed status to resolved
- removed comment
Thanks for pointing this out. I have been using the stock perl 5.10, and apparently I used a syntax element that was not present in 5.8.9. I just submitted a fix to GitHub.
- Log in to comment
This is very strange. I ran the exact same command using the latest version of GetComponents from GitHub with no errors... Are you using the stock version of Perl shipped with OS X?