Closed JiangXD closed 2 years ago
Yes, I have also encountered the same problem. The version of R on FreeBSD is:
platform amd64-portbld-freebsd10.1
arch amd64
os freebsd10.1
system amd64, freebsd10.1
status
major 3
minor 2.2
year 2015
month 08
day 14
svn rev 69053
language R
version.string R version 3.2.2 (2015-08-14)
nickname Fire Safety
Thanks for your messages. Does one of you know whether this solution will also work on Solaris?
On Sat, Jan 9, 2016 at 4:10 PM, jszhao notifications@github.com wrote:
Yes, I have also encountered the same problem. The version of R on FreeBSD is:
platform amd64-portbld-freebsd10.1 arch amd64 os freebsd10.1 system amd64, freebsd10.1 status major 3 minor 2.2 year 2015 month 08 day 14 svn rev 69053 language R version.string R version 3.2.2 (2015-08-14) nickname Fire Safety
— Reply to this email directly or view it on GitHub https://github.com/jyypma/nloptr/issues/20#issuecomment-170249853.
Hi, the fix above works for me on Solaris 11.2 with g++ 4.8.2. Haven't tested with solarisstudio since it shouldn't affect the compiler. Someone on freenode in #R was having the same problem on Linux too, so it does not only seem to affect FreeBSD. Thanks in advance if you decide to include the fix in the next release :-)
I have the same issue on Alpine Linux v3.3. The above patch works for me. Please merge it in!
This issue happens on every system where /bin/sh
is not bash, e.g. also Void Linux, which uses dash.
We just released v2.0.0
. We now rely on Cmake
when building from source. Can you test and tell us if it fixes whatever issue you had in the past please?
install.packages("nloptr")
works for me now, thanks!
Dear Jelmer, I failed to install nloprt package under FreeBSD. I have emailed to you for the same question several months ago, and you had given me a good patch to solve it. But the patch was not merged into the current version of nloptr package on github. It might affected the future version published on CRAN. Could you mind it?
I attach the previous email for your references.
Dear Jelmer, Your patch for 'nloptr' is so great! I've try it under FreeBSD by your suggestion with sucessul installtion, and it works properly!
Thanks so much and best wishes, Xiaodong
On Sun, 29 Mar 2015 20:48:23 +0200 Jelmer Ypma jelmerypma@gmail.com wrote: