I ran into the problem that some people seem to have with Demeter on mac while upgrading to High Sierra. I found a fix on this mail list, but…
1) I can’t download Template.pm from the archive (bin file that uncompresses to cpgz file that uncompresses back to a bin file…)
2) Matt mentions that he installed 0.9.26 from macports, but I see only 0.9.25 (stable & develop).
Sorry for the trivial questions :-)
All the best, JOEL
[Ifeffit] install for mac error
Luke Higgins pmljrh at leeds.ac.uk
Tue Apr 3 12:47:31 CDT 2018
Hi All,
I see this error too. This is a bit of a bodge job, but if you replace:
/opt/local/lib/perl5/vendor_perl/5.26/Text/Template.pm
With the attached template.pm from p5.24, it seems to work fine. I’d just rename the old Template.pm in the same directory, rather than deleting it – since another program may end up needing the most recent one.
Cheers,
Luke
From: Ifeffit <ifeffit-bounces at millenia.cars.aps.anl.gov> on behalf of Chris Patridge <patridge at buffalo.edu>
Reply-To: XAFS Analysis using Ifeffit <ifeffit at millenia.cars.aps.anl.gov>
Date: Tuesday, 3 April 2018 at 19:22
To: XAFS Analysis using Ifeffit <ifeffit at millenia.cars.aps.anl.gov>
Subject: Re: [Ifeffit] install for mac error
Thank you for the input Matt. I am glad to hear that it is not “user error”. I tried it again and I need to correct my earlier statement because Artemis GUI will stay open after the warning however Athena closes/crashes.
I will try on a different system.
Thanks again,
Chris
Sent from my iPhone
On Apr 3, 2018, at 11:52 AM, Matt Newville <newville at cars.uchicago.edu<mailto:newville at cars.uchicago.edu>> wrote:
Hi Chris,
On Mon, Apr 2, 2018 at 4:15 PM, Christopher Patridge <patridge at buffalo.edu<mailto:patridge at buffalo.edu>> wrote:
Hello everyone,
I tried to install demeter on my mac (running high Sierra) and it appeared everything went well. However when I run either Athena or Artemis I get an error shown below about Demeter::Templates: showing a error and I am not sure how I can correct this error. Any help would be appreciated.
Thanks in advanced,
I can confirm this. I just did a fresh install of Macports on 10.13.3 (high sierra). The MacPorts install was not super easy, but once it got to the demeter install, that part went fine.
I see the same problem with athena from demeter 0.9.25. I think the warnings about "Demeter::Templates::F" and so forth are meant to be warnings only -- I think they may not be related to the crash of athena. For me, hephaestus gives the same sort of warnings, but runs fine.
I can install and run Demeter 0.9.26 (including using Larch as a backend) using Macports, though there are definitely some Mac-specific weirdness. Anyway, I do not believe that "install from source" is a feasible approach for demeter on OSX. I do not know enough about Macports to update the existing package. I don't know that using some other system would be an improvement.
We keep seeing problems with demeter on OSX. I'm not sure what the right answer is. Anyone have any suggestions?
--Matt
_______________________________________________
Ifeffit mailing list
Ifeffit at millenia.cars.aps.anl.gov<mailto:Ifeffit at millenia.cars.aps.anl.gov>
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20180403/cdf0ebf7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Template.pm
Type: text/x-perl-script
Size: 61809 bytes
Desc: Template.pm
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20180403/cdf0ebf7/attachment-0001.bin>
More information about the Ifeffit mailing list