[R] Problem installing/updating nloptr...

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Fri May 20 02:35:05 CEST 2022


I don't have Mint, but I do have Ubuntu 20.04, and it has /usr/bin/ranlib, which is supplied by the binutils Ubuntu package. Have you apt installed the r-base-dev package?

On May 19, 2022 4:50:56 PM PDT, Brian Lunergan <ff809 using ncf.ca> wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA512
>
>Evening folks:
>
>Running R 4.2.0 on Linux Mint 19.3. When I tried to update package
>nloptr the operation failed with this error text seeming to be key to
>the problem.
>
>CMake Error: The source directory
>"/tmp/RtmpCNCU3l/R.INSTALL21c510095118/nloptr/src/CMAKE_RANLIB=/usr/bin
>/ranlib" does not exist.
>Specify --help for usage, or press the help button on the CMake GUI.
>Unknown argument -j
>Unknown argument 2
>Usage: cmake --build <dir> [options] [-- [native-options]]
>Options:
>  <dir>          = Project binary directory to be built.
>  --target <tgt> = Build <tgt> instead of default targets.
>                   May only be specified once.
>  --config <cfg> = For multi-configuration tools, choose <cfg>.
>  --clean-first  = Build target 'clean' first, then build.
>                   (To clean only, use --target 'clean'.)
>  --use-stderr   = Ignored.  Behavior is default in CMake >= 3.0.
>  --             = Pass remaining options to the native tool.
>CMake Error: The source directory
>"/tmp/RtmpCNCU3l/R.INSTALL21c510095118/nloptr/src/nlopt" does not
>exist.
>Specify --help for usage, or press the help button on the CMake GUI.
>cp: cannot stat 'nlopt/include/*': No such file or directory
>
>Uninstalled the package and tried reinstalling. Same stumble so I now
>no longer have it at all, and it's needed to load Rcmdr.
>
>Any help sorting this out would be appreciated. Please... :-(
>- -- 
>Brian Lunergan
>Russell, Ontario
>Canada
>
>-----BEGIN PGP SIGNATURE-----
>
>iQEzBAEBCgAdFiEEQnNPvUcw8TGKI+uNUQG1sc4S+04FAmKG1+AACgkQUQG1sc4S
>+06RxQgAo4Hq7rB99Gpvhv9RvzgvhoxVUXsFYuEmFMzysCIwFzfBVS+ZVgydSoRW
>FfAxZYLruYOU2+i+9PGD/J3cW9sMaXw7NJQRUhYINTc1Q4vrSQZBmvRxwil8tPBq
>z+KB5yxuEVMsyfhSRFjWdRGaBEnxVeRBlPnvWHRYgUYKFqrsosvwY1hdnlIwRMh9
>/J9qfsi98mbSZB2HZd1OaCACxP+fAM0+jQuMJhTSNvvt4l3O583J6ewbvJE53YFT
>2+gU9JJI7yn6rIamX2iHGKaueF9N+HPHMMnLfuO6lsmeE6OfzqyiFzy13Rr3H6yF
>ptDrR2NTURpt5LyipIlK7vamJnt6pA==
>=QWJP
>-----END PGP SIGNATURE-----
>
>______________________________________________
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

-- 
Sent from my phone. Please excuse my brevity.



More information about the R-help mailing list