Skip to content
Prev 12649 / 15075 Next

Compiling packages from source under Mojave (10.14.x)

Hi Simon:

here goes.  I was running 10.13.xx,  xx being whatever was the most recent version.  I was compiling packages from source no problem.  Also,  the Upgrade Section of App Store was telling me there was an incompatible version of software available,  which was a new version of Xcode.

I upgraded to 10.14.4,  by the usual means,  did nothing special.

Upgrades in App Store said there was a new version of Xcode (among other things).  So installed that.

Ran Xcode,  so that it would install "Other Components" which it often does with a new version.

To be certain I had the Command lIne Tools,  in a terminal I ran:   sudo xcode-select --install

Next time I ran RStudio,  two package upgrades were from source  (I apologize I don't remember which packages).  Compilation failed with errors of couldn't find the appropriate header files.

Ran the command in my note.

Restarted RStudio,  asked it to check for package updates,  same packages appeared,  compilation went fine.

I am running Xcode 10.2

HTH,

-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 at 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.