[R-SIG-Mac] Compiling packages from source under Mojave (10.14.x)

Roy Mendelssohn - NOAA Federal roy@mende|@@ohn @end|ng |rom no@@@gov
Sat Mar 30 19:21:47 CET 2019


I recently updated to Mojave and all of a sudden I was getting header not found errors when trying to compile packages.  I was pretty certain my Makevars files was correct,  as I had been compiling before the upgrade successfully,  and the compilers hadn't changed.

The following is in some of the docs,  but just in case it helps,  cause it took me awhile to find it,  after installing the Command Line Tools for Xcode,  you should run:

sudo installer -pkg \
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg \
 -target /

and voila packages that had failed to compile just a few minutes ago compiled successfully.

Hope this helps someone.

-Roy


**********************
"The contents of this message do not reflect any position of the U.S. Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: Roy.Mendelssohn using noaa.gov www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected" 
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.



More information about the R-SIG-Mac mailing list