bruceravel / demeter

Process and analyze X-ray Absorption Spectroscopy data using Feff and either Larch or Ifeffit.
http://bruceravel.github.io/demeter
Other
67 stars 32 forks source link

Install probleme on MacOS 14.4.1 #71

Closed ELEGER closed 7 months ago

ELEGER commented 7 months ago

Hello, I'm trying to install Demeter on a MacOS machine. X11 version 1.20.11

After installing macport and X11, I ran : "sudo port install xorg-server demeter" and finished with

`` ---> Fetching archive for ifeffit

---> Attempting to fetch ifeffit-1.2.13_8+gcc13.darwin_23.arm64.tbz2 from https://packages.macports.org/ifeffit

---> Attempting to fetch ifeffit-1.2.13_8+gcc13.darwin_23.arm64.tbz2 from https://mse.uk.packages.macports.org/ifeffit

---> Attempting to fetch ifeffit-1.2.13_8+gcc13.darwin_23.arm64.tbz2 from https://fra.de.packages.macports.org/ifeffit

---> Building ifeffit

Error: Failed to build ifeffit: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ifeffit/ifeffit/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port demeter failed `` Did anyone went through the same kind of issue ?

Thanks in advance

Emmanuel

bruceravel commented 7 months ago

Building all of demeter on a Mac is very challenging and is not something that I am able to support. It would be much easier for you to install a virtual Windows machine and use the Windows installer package.

ELEGER commented 7 months ago

ok thanks. Could you leave the issue open a little while ? Maybe/probably I'm not the only one with this issue and I am certain that someone has a solution :). Cheers

newville commented 7 months ago

@ELEGER Well, it's not like "getting Demeter to work on a Mac is hard" is a new problem. See #60 or #64, or the documentation page at https://bruceravel.github.io/demeter/#mac. Over at the Ifeffit mailing list, this seems to come up every 6 months or so. It seems that some people can sometimes get it to work, but I am not certain that there is a durable solution.

It looks like the errors you are seeing are from building the ifeffit library. Development and support for the ifeffit library ended 10 years ago. Build problems will become inevitable, and I am not aware of anyone trying to fix or maintain those. It is free software so someone can try to build and/or use it, but I sure wish they wouldn't.

ELEGER commented 7 months ago

Thanks for your answer @newville . I'll switch to linux/winos machine. Best Emmanuel

bruceravel commented 7 months ago

I think what Matt is trying to say is that you should take a look at Larch http://xraypy.github.io/xraylarch/