Closed mebrooks closed 3 years ago
Should I ask the cluster admins?
@mebrooks Just saw your question. I would try loading the compiler before installing:
module load gcc/ (hit tab and selct a version)
Edit: module load gcc/9.2.0
is the one I currently use to build R - it supports all relevant C++ features.
Thanks! That got me past the ./configure
step, but now I'm stuck on the make install
step.
./mkinstalldirs -m 0755 /usr/local/lib/pkgconfig
mkdir -m 0755 -p -- /usr/local/lib/pkgconfig
mkdir: cannot create directory ‘/usr/local/lib/pkgconfig’: Permission denied
make: *** [install-libs] Error 1
Do you have an idea how to solve that one? I tried going into usr/local/lib
and making it, but got the same error.
n-62-29-1(molbr) $ mkdir pkgconfig
mkdir: cannot create directory ‘pkgconfig’: Permission denied
/usr/local/lib
@mebrooks You don't have permission to install to the system - and you don't have to. After make
skip the make install
step. Then locate the binaries and add them to your path.
Edit: 'binary' - I guess you only need qpdf...
Thanks! That fixed it! For future reference (in case anyone else has a similar problem), my solution was to edit .bashrc
by typing
nano ~/.bashrc
Then adding these lines to the middle section between if
and fi
export qpdf_home=~/qpdf/qpdf/build/
export PATH=$qpdf_home:$PATH
Sorry to bother you with this, but I hit another roadblock trying to get glmmTMB ready for CRAN. One warning I get is
So I'm trying to install qpdf, but documentation says it requires a C++ compiler that supports C++-14. I cloned qpdf from github and got an error about the compiler (below). Do you have any suggestions for how to fix this warning for the glmmTMB checks?