Error running make; make install on PNETCDF #3507
-
Hi, I encountered some problems when installing Firedrake on MacOS 14.4. The error message says: "Error running make; make install on PNETCDF". I've attached my install log file below. Any help would be highly appreciated! (I'm using Python 3.11 from Homebrew) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Could you please also add the |
Beta Was this translation helpful? Give feedback.
-
It looks like be associated with a failure to find |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
I hit this yesterday. It looks like apple have made a mess of this. It appears command line tools has renamed m4 to gm4 (for GNU m4) but MacOS itself hasn't caught up, so
/usr/bin/m4
goes looking form4
in command-line tools and fails. It then fires off that pop-up. This is very stupid.The solution that works for me is to make a symlink somewhere in my $PATH to map m4 to /Library/Developer/CommandLineTools/usr/bin/gm4