Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: mach/host_info.h: No such file or directory #630

Open
jiarui123zhang opened this issue Feb 2, 2024 · 4 comments
Open

fatal error: mach/host_info.h: No such file or directory #630

jiarui123zhang opened this issue Feb 2, 2024 · 4 comments

Comments

@jiarui123zhang
Copy link

Hi, when I use "make libquip“ or ”make' code

fatal error: mach/host_info.h: No such file or directory
#include <mach/host_info.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [cutil.o] Error 1
make[1]: Leaving directory `********/lammps-29Sep2021/lib/QUIP/build/darwin_x86_64_gfortran'
make: *** [libAtoms] Error 2

how to address that. Thank you.

NOTE: *********** is my path

@lijiext
Copy link

lijiext commented Apr 23, 2024

same issue
image

@jameskermode
Copy link
Member

what architecture are you on?

@lijiext
Copy link

lijiext commented Apr 23, 2024

I was using a aarch64 server, i didn't found the linux arch so i use darwin, my os distro is ubuntu 20.04
image
image

@jameskermode
Copy link
Member

The Linux makefiles are probably a better starting point, since Darwin is macOS. In any case you will need to find the location of the standard C include files like mach/host_info.h on your machine and ensure it is on the compiler include path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants