shawnlaffan / biodiverse

A tool for the spatial analysis of diversity
http://shawnlaffan.github.io/biodiverse/
GNU General Public License v3.0
75 stars 19 forks source link

installing on OSX #588

Closed wf8 closed 8 years ago

wf8 commented 8 years ago

Hello,

Using the Mac install directions all the perl modules seem to install correctly. However when I try to run Biodiverse I get the errors below. Any suggestions? I'm running Yosemite 10.10.5.

Thanks! Will

will@voltron:/Applications/biodiverse/bin$ sudo /opt/local/bin/perl5.22 BiodiverseGUI.pl Adding BIODIVERSE_LIB paths to @INC

[USE_BASE] No user defined extensions Invalid initialization by assignment at /Applications/biodiverse/bin/../lib/Biodiverse/Metadata/Export.pm line 16. Compilation failed in require at /Applications/biodiverse/bin/../lib/Biodiverse/BaseStruct.pm line 41. BEGIN failed--compilation aborted at /Applications/biodiverse/bin/../lib/Biodiverse/BaseStruct.pm line 41. Compilation failed in require at /Applications/biodiverse/bin/../lib/Biodiverse/BaseData.pm line 34. BEGIN failed--compilation aborted at /Applications/biodiverse/bin/../lib/Biodiverse/BaseData.pm line 34. Compilation failed in require at /Applications/biodiverse/bin/../lib/Biodiverse/GUI/Project.pm line 9. BEGIN failed--compilation aborted at /Applications/biodiverse/bin/../lib/Biodiverse/GUI/Project.pm line 9. Compilation failed in require at /Applications/biodiverse/bin/../lib/Biodiverse/GUI/GUIManager.pm line 26. Compilation failed in require at BiodiverseGUI.pl line 37. BEGIN failed--compilation aborted at BiodiverseGUI.pl line 37.

shawnlaffan commented 8 years ago

Hello Will,

This is caused by a recent change in a library we are using.

If you are using the git version then please do a git pull to update your version of the code.

Otherwise, please edit two files as per this link (change "= (" to "=> (" in those lines):
https://github.com/shawnlaffan/biodiverse/commit/43788b3f793da6fd4936861f3090d03fff70f604

Regards, Shawn.

wf8 commented 8 years ago

Thank you that helped. Now onto the GDAL installation problem...

shawnlaffan commented 8 years ago

WRT GDAL, the last comment in issue #578 might help.

shawnlaffan commented 8 years ago

See also issue #573