Skip to content
Prev 12572 / 15075 Next

Issues with rj (requirement for StatET) since Mojave/3.5.1 update

Ok, figured it out but it was non-trivial.  I found the solution here:
https://github.com/velocyto-team/velocyto.R/issues/2#issuecomment-352584213

TLDR you need to use homebrew (https://brew.sh/):
1) Install homebrew as linked above
2) Install llvm (and maybe boost):
brew install llvm
brew install boost
3) Mod your ~/.R/Makevars (nano ~/.R/Makevars) to read:

CC=/usr/local/clang4/bin/clang
CXX=/usr/local/clang4/bin/clang++
CXX11=/usr/local/clang4/bin/clang++
CXX14=/usr/local/clang4/bin/clang++
CXX17=/usr/local/clang4/bin/clang++
CXX1X=/usr/local/clang4/bin/clang++
LDFLAGS=-L/usr/local/clang4/lib

That allowed me to properly get rj and rj.gd<http://rj.gd> working again which then allowed me to start using Stat-ET again.

I imagine this will solve other problems MacOS X Mojave package installs.

--jonathan
On Sat, Nov 17, 2018 at 5:50 AM Jonathan Greenberg <jgreenberg at unr.edu<mailto:jgreenberg at unr.edu>> wrote:
I'm aware rJava can be installed as a binary and that this is an OS issue, hence posting on r-sig-mac.  I assumed more people are familiar with rJava then rj and I'm fairly confident it's the same issue, hence my showing that error. rj is not on CRAN AFAIK so I'm trying to solve the source install issue for that particular package.

The manual and the website have not, this far, led me to getting this working.  The clang and gfortran installers do not solve the issue.  I suspect there is a Makevars solution but, again, I haven't found one that works.

This happened post Mojave (I had everything working in High Sierra).

J
On Fri, Nov 16, 2018, 11:14 PM Prof Brian Ripley <ripley at stats.ox.ac.uk<mailto:ripley at stats.ox.ac.uk><mailto:ripley at stats.ox.ac.uk<mailto:ripley at stats.ox.ac.uk>>> wrote:
BTW, reading the manual (in this case 'R Installation and
Administration') often helps, and would have here.
On 16/11/2018 19:10, Jonathan Greenberg wrote:
Why are you not installing from CRAN?  Discussing off-CRAN versions here
is frowned on, not least as we know the CRAN version works.
That is not an *error*!  It is a warning from the OS (ld is part of the
OS) about parts of the OS being out of step, and has been going on for
some time (AFAIR with High Sierra too).  You have not shown us the
complete output, but on my systems installation of CRAN rJava proceeds.
--
Brian D. Ripley,                  ripley at stats.ox.ac.uk<mailto:ripley at stats.ox.ac.uk><mailto:ripley at stats.ox.ac.uk<mailto:ripley at stats.ox.ac.uk>>
Emeritus Professor of Applied Statistics, University of Oxford

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org<mailto:R-SIG-Mac at r-project.org><mailto:R-SIG-Mac at r-project.org<mailto:R-SIG-Mac at r-project.org>>
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
--
--
Jonathan A. Greenberg, PhD
Randall Endowed Professor and Associate Professor of Remote Sensing
Global Environmental Analysis and Remote Sensing (GEARS) Laboratory
Natural Resources & Environmental Science
University of Nevada, Reno
1664 N Virginia St MS/0186
Reno, NV 89557
Phone: 415-763-5476<tel:(415)%20763-5476>
http://www.unr.edu/nres
Gchat: jgrn307 at gmail.com<mailto:jgrn307 at gmail.com><mailto:jgrn307 at gmail.com<mailto:jgrn307 at gmail.com>>, Skype: jgrn3007


_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org<mailto:R-SIG-Mac at r-project.org>
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
--
--
Jonathan A. Greenberg, PhD
Randall Endowed Professor and Associate Professor of Remote Sensing
Global Environmental Analysis and Remote Sensing (GEARS) Laboratory
Natural Resources & Environmental Science
University of Nevada, Reno
1664 N Virginia St MS/0186
Reno, NV 89557
Phone: 415-763-5476
http://www.unr.edu/nres
Gchat: jgrn307 at gmail.com<mailto:jgrn307 at gmail.com>, Skype: jgrn3007