Re: [Ifeffit] using the mail list archive for mac install

2018-07-11 Thread Simon James
Hi all,

I must admit that couldn’t cut it in terms of wrangling MacPorts and opted to 
run a windows virtual machine on my Mac and use Demeter in on the virtual 
machine.

This can be somewhat awkward but for the most part I’ve found this to work well 
enough.

Cheers,

Simon


This mail was composed on the move via my phone. Apologies for any typos.

Florey Institute of Neuroscience and a Mental Health
Melbourne Brain Centre
30 Royal Pde
Parkville, 3052 VIC

Office:   +61 3 9035 4260
Mobile: + 61 4 3811 0982


On 11 Jul 2018, at 4:17 pm, Schindler Karl-Michael 
mailto:karl-michael.schind...@web.de>> wrote:



> Am 11.07.2018 um 00:44 schrieb Matt Newville 
> mailto:newvi...@cars.uchicago.edu>>:
>
> Hi Joel,
>
>> 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…
>
> Yeah, Demeter on MacOS is a continuing challenge. Even when it can be 
> installed, parts of the GUI interaction are pretty buggy (I believe this must 
> be due to wxPerl on Mac). MacPorts seems to need a fair amount of attention 
> and expects the end user to know Unix command line tools well enough to be 
> able to run updates and understand and react to error messages. For sure, it 
> is a useful resource for developers, but it seems like it is not really 
> designed for deploying end-user software.
>
> ​Still​, I don't know of a better alternative for getting Demeter working on 
> MacOS. I've tried many of the alternatives, and wxPerl seems to be a real 
> stumbling block for all of them.
>
>> 1) I can’t download Template.pm from the archive (bin 
>> file that uncompresses to cpgz file
>> that uncompresses back to a bin file…)
>
> I think that the advice from Luke and Bruce back in April was to try to find 
> and install version 1.47 of Text::Template. You might find this at
> https://metacpan.org/source/MSCHOUT/Text-Template-1.47/lib/Text
>
> and try unpacking and installing that. There may be a way to specify 
> particular versions with the "cpan" program, but I do not know how to do it. 
> I don't think we want "install old version of some library" to be a long term 
> solution (this will break other things eventually), but it might work for you.
>
>> 2) Matt mentions that he installed 0.9.26 from macports, but I see only 
>> 0.9.25 (stable & develop).
>
> To clarify, in April I updated MacPorts to the latest versions, installed the 
> packages for Demeter 0.9.25. Then I installed Demeter 0.9.26 from source code 
> on top of that. That might also work​, but it's probably more work than most 
> folks would want to do.​
>
> ​Cheers,​
>
> —Matt

Just to let you know: For other reasons, I am using fink instead of MacPorts on 
my Mac and I tried to create a package description with that for larch, but got 
stuck with some of the wx… stuff. However, sooner or later, I will have another 
go at it. Fink has a similar barrier as macPorts, as both need an installation 
of Xcode. At least, there is a GUI for the installation of packages.

Michael Schindler
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit


Re: [Ifeffit] using the mail list archive for mac install

2018-07-11 Thread Schindler Karl-Michael


> Am 11.07.2018 um 00:44 schrieb Matt Newville :
> 
> Hi Joel,
> 
>> 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…
> 
> Yeah, Demeter on MacOS is a continuing challenge. Even when it can be 
> installed, parts of the GUI interaction are pretty buggy (I believe this must 
> be due to wxPerl on Mac).  MacPorts seems to need a fair amount of attention 
> and expects the end user to know Unix command line tools well enough to be 
> able to run updates and understand and react to error messages.  For sure, it 
> is a useful resource for developers, but it seems like it is not really 
> designed for deploying end-user software.
> 
> ​Still​, I don't know of a better alternative for getting Demeter working on 
> MacOS. I've tried many of the alternatives, and wxPerl seems to be a real 
> stumbling block for all of them.
> 
>> 1) I can’t download Template.pm from the archive (bin file that uncompresses 
>> to cpgz file
>> that uncompresses back to a bin file…)
> 
> I think that the advice from Luke and Bruce back in April was to try to find 
> and install version 1.47 of Text::Template. You might find this at
>https://metacpan.org/source/MSCHOUT/Text-Template-1.47/lib/Text
> 
> and try unpacking and installing that.  There may be a way to specify 
> particular versions with the "cpan" program, but I do not know how to do it.  
> I don't think we want "install old version of some library" to be a long term 
> solution (this will break other things eventually), but it might work for you.
> 
>> 2) Matt mentions that he installed 0.9.26 from macports, but I see only 
>> 0.9.25 (stable & develop).
> 
> To clarify, in April I updated MacPorts to the latest versions, installed the 
> packages for Demeter 0.9.25.  Then I installed Demeter 0.9.26 from source 
> code on top of that.   That might also work​, but it's probably more work 
> than most folks would want to do.​
> 
> ​Cheers,​
> 
> —Matt

Just to let you know: For other reasons, I am using fink instead of MacPorts on 
my Mac and I tried to create a package description with that for larch, but got 
stuck with some of the wx… stuff. However, sooner or later, I will have another 
go at it. Fink has a similar barrier as macPorts, as both need an installation 
of Xcode. At least, there is a GUI for the installation of packages.

Michael Schindler


signature.asc
Description: Message signed with OpenPGP
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit


Re: [Ifeffit] using the mail list archive for mac install

2018-07-10 Thread Matt Newville
Hi Joel,

> 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…

Yeah, Demeter on MacOS is a continuing challenge. Even when it can be
installed, parts of the GUI interaction are pretty buggy (I believe this
must be due to wxPerl on Mac).  MacPorts seems to need a fair amount of
attention and expects the end user to know Unix command line tools well
enough to be able to run updates and understand and react to error
messages.  For sure, it is a useful resource for developers, but it seems
like it is not really designed for deploying end-user software.

​Still​
, I don't know of a better alternative for getting Demeter working on
MacOS. I've tried many of the alternatives, and wxPerl seems to be a real
stumbling block for all of them.

> 1) I can’t download Template.pm from the archive (bin file that
uncompresses to cpgz file
> that uncompresses back to a bin file…)

I think that the advice from Luke and Bruce back in April was to try to
find and install version 1.47 of Text::Template. You might find this at
https://metacpan.org/source/MSCHOUT/Text-Template-1.47/lib/Text

and try unpacking and installing that.  There may be a way to specify
particular versions with the "cpan" program, but I do not know how to do
it.  I don't think we want "install old version of some library" to be a
long term solution (this will break other things eventually), but it might
work for you.

> 2) Matt mentions that he installed 0.9.26 from macports, but I see only
0.9.25 (stable & develop).

To clarify, in April I updated MacPorts to the latest versions, installed
the packages for Demeter 0.9.25.  Then I installed Demeter 0.9.26 from
source code on top of that.   That might also work
​, but it's probably more work than most folks would want to do.​


​Cheers,​

--Matt
___
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit


[Ifeffit] using the mail list archive for mac install

2018-07-10 Thread Joel Brugger SAM
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

* Previous message (by thread): [Ifeffit] install for mac error

* Next message (by thread): [Ifeffit] install for mac error

* Messages sorted by: [ date ]
  [ thread ] 
  [ subject ] 
  [ author ] 
 

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 http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit> > on behalf of
Chris Patridge http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit> >
Reply-To: XAFS Analysis using Ifeffit http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit> >
Date: Tuesday, 3 April 2018 at 19:22
To: XAFS Analysis using Ifeffit http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit> >
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 http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit>  >> wrote:
Hi Chris,

On Mon, Apr 2, 2018 at 4:15 PM, Christopher Patridge http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit>
 >> 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
  >
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: 

-- next part --
A non-text attachment was scrubbed...
Name: Template.pm
Type: text/x-perl-script
Size: 61809 bytes
Desc: Template.pm
URL: