Skip to content

[R-sig-dyn-mod] compilation failed for package ‘rootSolve’

2 messages · RC Phelps, Thomas Petzoldt

#
Hi, I'm trying to test drive the simecolModels (specifically aquaphy) and I
can't get rootSolve to compile during
the error is

gfortran-4.8: warning: couldn?t understand kern.osversion ?15.6.0
gfortran-4.8   -fPIC  -g -O2  -c dsparsk.f -o dsparsk.o
gfortran-4.8: warning: couldn?t understand kern.osversion ?15.6.0
f951: internal compiler error: Illegal instruction: 4

f951: internal compiler error: Abort trap: 6
gfortran-4.8: internal compiler error: Abort trap: 6 (program f951)
make: *** [dsparsk.o] Abort trap: 6
ERROR: compilation failed for package ?rootSolve?

per
https://stackoverflow.com/questions/37753941/os-x-package-installation-issue-cant-find-gfortran-4-8-to-build-package

I updated my ~/.R/Makevars ; tried again, and get the same error. Any ideas?

console traffic and Makevars attached. I'm on OSX 10.11.6 with R 3.3.3

Thank you.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rootSolve.txt
URL: <https://stat.ethz.ch/pipermail/r-sig-dynamic-models/attachments/20180306/d4439236/attachment.txt>
#
Hi,

the CRAN tests of rootSolve are successful on all platforms (Linux, 
Windows, Mac), see:

https://cran.r-project.org/web/checks/check_results_rootSolve.html

simecolModels is an unreleased development package, but it compiled 
without problems on my machine right now (Windows 10, R 3.4.3, Rtools 3.4).

Conclusion: this is surely a Mac related configuration problem of your 
computer and not an issue of rootSolve or simecolModels. Maybe, the 
R-SIG-Mac people can help you:

https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Thomas P.



Am 06.03.2018 um 17:50 schrieb RC Phelps: