[R-SIG-Mac] Package compilation fails with recent R-devel build
Gábor Csárdi
c@@rd|@g@bor @end|ng |rom gm@||@com
Tue Mar 11 09:27:57 CET 2025
I wonder if this is on purpose. The workaround is to install gettext
from the macOS binary system packages.
❯ R-4.5-arm64
R Under development (unstable) (2025-03-10 r87922) -- "Unsuffered Consequences"
Copyright (C) 2025 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20
[...]
❯ install.packages("filelock", type = "source")
Installing package into ‘/Users/gaborcsardi/Library/R/arm64/4.5/library’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/filelock_1.0.3.tar.gz'
Content type 'application/x-gzip' length 15443 bytes (15 KB)
==================================================
downloaded 15 KB
* installing *source* package ‘filelock’ ...
[...]
clang -arch arm64 -dynamiclib -Wl,-headerpad_max_install_names
-undefined dynamic_lookup
-L/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib
-L/opt/R/arm64/lib -o filelock.so init.o filelock-unix.o locklist.o
-F/Library/Frameworks/R.framework/Versions/4.5-arm64 -framework R
/opt/R/arm64/lib/libintl.a -Wl,-framework -Wl,CoreFoundation
clang: error: no such file or directory: '/opt/R/arm64/lib/libintl.a'
make: *** [filelock.so] Error 1
ERROR: compilation failed for package ‘filelock’
[...]
More information about the R-SIG-Mac
mailing list