From edd @end|ng |rom deb|@n@org  Thu Mar 10 16:19:05 2022
From: edd @end|ng |rom deb|@n@org (Dirk Eddelbuettel)
Date: Thu, 10 Mar 2022 09:19:05 -0600
Subject: [Rd] Compiling error with glmnet and nloptr
In-Reply-To: <CWLP123MB44663E91167442BC585F77F2A50B9@CWLP123MB4466.GBRP123.PROD.OUTLOOK.COM>
References: <a9526ce4-0cea-46fc-b1e9-4bfced56aadf@www.fastmail.com>
 <a6c2a79a-90a5-44d3-926b-9f1e630d9672@www.fastmail.com>
 <CWLP123MB4466801A3CE25E33C2CA5171A50B9@CWLP123MB4466.GBRP123.PROD.OUTLOOK.COM>
 <CWLP123MB4466719C8B53048B59A0327AA50B9@CWLP123MB4466.GBRP123.PROD.OUTLOOK.COM>
 <CWLP123MB44663E91167442BC585F77F2A50B9@CWLP123MB4466.GBRP123.PROD.OUTLOOK.COM>
Message-ID: <25130.5865.227799.438607@rob.eddelbuettel.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



[Rd] Compiling error with glmnet and nloptr
Dirk Eddelbuettel