Hi Yimeng, I'm not sure this is really the best approach or an actual solution, but I put a copy of that version of the file at https://cars.uchicago.edu/gsecars/data/Larch/Demeter/Template.pm if that helps you or anyone else get Demeter working on MacOSX.
Cheers,
_______________________________________________ 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