Skip to content

Error running make; make install on PNETCDF #3507

Answered by dham
Nickfu0911 asked this question in Install FAQ
Discussion options

You must be logged in to vote

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 for m4 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

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Nickfu0911
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@dham
Comment options

Answer selected by Nickfu0911
@Nickfu0911
Comment options

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