Skip to content
Back to formatted view

Raw Message

Message-ID: <25130.5865.227799.438607@rob.eddelbuettel.com>
Date: 2022-03-10T15:19:05Z
From: Dirk Eddelbuettel
Subject: Compiling error with glmnet and nloptr
In-Reply-To: <CWLP123MB44663E91167442BC585F77F2A50B9@CWLP123MB4466.GBRP123.PROD.OUTLOOK.COM>

Dear jing hua zhao,

You appear to have issues with a particular (pair or single) package; it is
usually better to contact the author / maintainers of the package.  I help a
little with nloptr which had its share of similar issues after its recent as
it (conditionall, if no libnlopr is found) will require cmake, and in a
fairly recentish flavor.  That can pose issues on systems such as yours which
identifies itself per the error message as Scientific Linux 

   linux-scientific7-x86_64/gcc-9/gcc-6.5.0

which is actually dead:  https://en.wikipedia.org/wiki/Scientific_Linux

Stepping back, there is a bit of a disconnect between working on old OS
releases -- sometimes not by choice as your institution, employer, $whoever
... may make you do that -- yet requiring / desiring / attempting to use
bleeding-edge newest versions of R or packages.  That can have friction as
new versions can at times require new tools. The developers try to not
require it, but sometimes it happens, and usually for a reason (as
e.g. nloptr need libnlopt which itself relies on cmake).

So if you can, please considering upgrading to a more current and supported
operating system. For issues specific with a package (as opposed to R and in
particular development on R) the repository may be a better place than this
list.

Cheers,  Dirk

-- 
https://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org