Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with installing outrider and fraser on M1 Mac #496

Open
HMorsy opened this issue Nov 17, 2023 · 0 comments
Open

Error with installing outrider and fraser on M1 Mac #496

HMorsy opened this issue Nov 17, 2023 · 0 comments

Comments

@HMorsy
Copy link

HMorsy commented Nov 17, 2023

I am trying to install outrider and Fraser in Rstudio and I got an error multiple times.
My Mac chip is M1 max and the macOS is 13.3.1 (a)
I followed the following steps in Command line:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(base) hebamorsy@Hebas-MacBook-Pro ~ % (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/{user}/.zprofile
zsh: no such file or directory: /Users/{user}/.zprofile
(base) hebamorsy@Hebas-MacBook-Pro ~ % eval "$(/opt/homebrew/bin/brew shellenv)"
(base) hebamorsy@Hebas-MacBook-Pro ~ % brew --prefix gcc
/opt/homebrew/opt/gcc
(base) hebamorsy@Hebas-MacBook-Pro ~ % echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/hebamorsy/.zprofile 
zsh: parse error near `)'
(base) hebamorsy@Hebas-MacBook-Pro ~ % (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/hebamorsy/.zprofile
(base) hebamorsy@Hebas-MacBook-Pro ~ % eval "$(/opt/homebrew/bin/brew shellenv)"
(base) hebamorsy@Hebas-MacBook-Pro ~ % curl -O https://mac.r-project.org/libs-arm64/gfortran-f51f1da0-darwin20.0-arm64.tar.gz
(base) hebamorsy@Hebas-MacBook-Pro ~ % locate libquadmath.0.dylib
/Applications/Chimera.app/Contents/Resources/lib/libquadmath.0.dylib
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/numpy/.dylibs/libquadmath.0.dylib
/Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libquadmath.0.dylib
((base) hebamorsy@Hebas-MacBook-Pro ~ % sudo ln -s /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libquadmath.0.dylib /opt/R/arm64/gfortran/lib/libquadmath.0.dylib
Password:
(base) hebamorsy@Hebas-MacBook-Pro ~ % sudo ln -s /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libquadmath.0.dylib /opt/R/arm64/gfortran/lib/libquadmath.0.dylib
ln: /opt/R/arm64/gfortran/lib/libquadmath.0.dylib: File exists
(base) hebamorsy@Hebas-MacBook-Pro ~ % sudo ln -sf /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libquadmath.0.dylib /opt/R/arm64/gfortran/lib/libquadmath.0.dylib
Password:

Then I tried to install Outrider in R studio :

devtools::install_github('gagneurlab/OUTRIDER', ref='plot_function_update')
Downloading GitHub repo gagneurlab/OUTRIDER@plot_function_update
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

 1: All                                                 
 2: CRAN packages only                                  
 3: None                                                
 4: colorspace   (2.0-3        -> 2.1-0       ) [CRAN]  
 5: vctrs        (0.6.3        -> 0.6.4       ) [CRAN]  
 6: stringi      (1.7.12       -> 1.8.1       ) [CRAN]  
 7: rlang        (1.1.1        -> 1.1.2       ) [CRAN]  
 8: lifecycle    (1.0.3        -> 1.0.4       ) [CRAN]  
 9: Rcpp         (1.0.8.3      -> 1.0.11      ) [CRAN]  
10: later        (1.3.0        -> 1.3.1       ) [CRAN]  
11: digest       (0.6.31       -> 0.6.33      ) [CRAN]  
12: htmltools    (0.5.5        -> 0.5.7       ) [CRAN]  
13: withr        (2.5.0        -> 2.5.2       ) [CRAN]  
14: utf8         (1.2.3        -> 1.2.4       ) [CRAN]  
15: fansi        (1.0.4        -> 1.0.5       ) [CRAN]  
16: stringr      (1.5.0        -> 1.5.1       ) [CRAN]  
17: openssl      (2.1.0        -> 2.1.1       ) [CRAN]  
18: curl         (5.0.2        -> 5.1.0       ) [CRAN]  
19: viridisLite  (0.4.0        -> 0.4.2       ) [CRAN]  
20: labeling     (0.4.2        -> 0.4.3       ) [CRAN]  
21: farver       (2.1.0        -> 2.1.1       ) [CRAN]  
22: scales       (1.2.0        -> 1.2.1       ) [CRAN]  
23: isoband      (0.2.5        -> 0.2.7       ) [CRAN]  
24: gtable       (0.3.0        -> 0.3.4       ) [CRAN]  
25: ggplot2      (3.3.6        -> 3.4.4       ) [CRAN]  
26: ps           (1.7.1        -> 1.7.5       ) [CRAN]  
27: processx     (3.6.1        -> 3.8.2       ) [CRAN]  
28: callr        (3.7.0        -> 3.7.3       ) [CRAN]  
29: fs           (1.6.2        -> 1.6.3       ) [CRAN]  
30: sass         (0.4.6        -> 0.4.7       ) [CRAN]  
31: tinytex      (0.45         -> 0.48        ) [CRAN]  
32: fontawesome  (0.5.1        -> 0.5.2       ) [CRAN]  
33: bslib        (0.4.2        -> 0.5.1       ) [CRAN]  
34: xfun         (0.39         -> 0.41        ) [CRAN]  
35: evaluate     (0.21         -> 0.23        ) [CRAN]  
36: rmarkdown    (58ca4df16... -> e62b928c5...) [GitHub]
37: knitr        (1.42         -> 1.45        ) [CRAN]  
38: vegan        (2.6-2        -> 2.6-4       ) [CRAN]  
39: TSP          (1.2-2        -> 1.2-4       ) [CRAN]  
40: plyr         (1.8.7        -> 1.8.9       ) [CRAN]  
41: viridis      (0.6.2        -> 0.6.4       ) [CRAN]  
42: promises     (1.2.0.1      -> 1.2.1       ) [CRAN]  
43: data.table   (1.14.2       -> 1.14.8      ) [CRAN]  
44: htmlwidgets  (1.5.4        -> 1.6.2       ) [CRAN]  
45: RCurl        (1.98-1.7     -> 1.98-1.13   ) [CRAN]  
46: crayon       (1.5.1        -> 1.5.2       ) [CRAN]  
47: png          (0.1-7        -> 0.1-8       ) [CRAN]  
48: RSQLite      (2.3.1        -> 2.3.3       ) [CRAN]  
49: XML          (3.99-0.10    -> 3.99-0.15   ) [CRAN]  
50: formatR      (1.12         -> 1.14        ) [CRAN]  
51: BH           (1.78.0-0     -> 1.81.0-1    ) [CRAN]  
52: matrixStats  (0.62.0       -> 1.1.0       ) [CRAN]  
53: prettyunits  (1.1.1        -> 1.2.0       ) [CRAN]  
54: hms          (1.1.1        -> 1.1.3       ) [CRAN]  
55: dbplyr       (2.3.3        -> 2.4.0       ) [CRAN]  
56: xml2         (1.3.3        -> 1.3.5       ) [CRAN]  
57: BiocFileC... (21fc57aa1... -> 7b7c4d379...) [GitHub]
58: webshot      (0.5.4        -> 0.5.5       ) [CRAN]  
59: seriation    (1.4.1        -> 1.5.1       ) [CRAN]  
60: dendextend   (1.16.0       -> 1.17.1      ) [CRAN]  
61: plotly       (4.10.1       -> 4.10.3      ) [CRAN]  
62: RcppArmad... (0.11.4.4.0   -> 0.12.6.6.0  ) [CRAN]  
63: locfit       (1.5-9.5      -> 1.5-9.8     ) [CRAN]  
64: checkmate    (2.1.0        -> 2.3.0       ) [CRAN]  
65: heatmaply    (1.4.2        -> 1.5.0       ) [CRAN]  
66: ggrepel      (0.9.3        -> 0.9.4       ) [CRAN]  

Enter one or more numbers, or an empty line to skip updates: 3
✔  checking for file ‘/private/var/folders/n4/k84zqz_n5pz4w77x039w0szm0000gn/T/Rtmp8pNU3A/remotesd827b73361c/gagneurlab-OUTRIDER-bc16e60/DESCRIPTION’ (345ms)
─  preparing ‘OUTRIDER’:
✔  checking DESCRIPTION meta-information ...
─  cleaning src
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘OUTRIDER_1.17.1.tar.gz’
   
* installing *source* package ‘OUTRIDER’ ...
** using staged installation
** libs
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppArmadillo/include' -I/usr/local/include   -DARMA_DONT_USE_OPENMP -fPIC  -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/RcppCommon.h:167:
/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
    ::sprintf(buff, "%02x", from);
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppArmadillo/include' -I/usr/local/include   -DARMA_DONT_USE_OPENMP -fPIC  -Wall -g -O2  -c loss_n_gradient_functions.cpp -o loss_n_gradient_functions.o
In file included from loss_n_gradient_functions.cpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/RcppCommon.h:167:
/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
    ::sprintf(buff, "%02x", from);
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o OUTRIDER.so RcppExports.o loss_n_gradient_functions.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0'
ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [OUTRIDER.so] Error 1
ERROR: compilation failed for package ‘OUTRIDER’
* removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/OUTRIDER’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/OUTRIDER’
Warning message:
In i.p(...) :
  installation of package ‘/var/folders/n4/k84zqz_n5pz4w77x039w0szm0000gn/T//Rtmp8pNU3A/filed82753ae847e/OUTRIDER_1.17.1.tar.gz’ had non-zero exit status

The same problem for Fraser

devtools::install_github('gagneurlab/FRASER', ref='1.99.0')
Downloading GitHub repo gagneurlab/FRASER@1.99.0
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

 1: All                                                 
 2: CRAN packages only                                  
 3: None                                                
 4: vctrs        (0.6.3        -> 0.6.4       ) [CRAN]  
 5: utf8         (1.2.3        -> 1.2.4       ) [CRAN]  
 6: rlang        (1.1.1        -> 1.1.2       ) [CRAN]  
 7: lifecycle    (1.0.3        -> 1.0.4       ) [CRAN]  
 8: fansi        (1.0.4        -> 1.0.5       ) [CRAN]  
 9: Rcpp         (1.0.8.3      -> 1.0.11      ) [CRAN]  
10: later        (1.3.0        -> 1.3.1       ) [CRAN]  
11: digest       (0.6.31       -> 0.6.33      ) [CRAN]  
12: htmltools    (0.5.5        -> 0.5.7       ) [CRAN]  
13: withr        (2.5.0        -> 2.5.2       ) [CRAN]  
14: stringi      (1.7.12       -> 1.8.1       ) [CRAN]  
15: stringr      (1.5.0        -> 1.5.1       ) [CRAN]  
16: fs           (1.6.2        -> 1.6.3       ) [CRAN]  
17: sass         (0.4.6        -> 0.4.7       ) [CRAN]  
18: tinytex      (0.45         -> 0.48        ) [CRAN]  
19: fontawesome  (0.5.1        -> 0.5.2       ) [CRAN]  
20: bslib        (0.4.2        -> 0.5.1       ) [CRAN]  
21: xfun         (0.39         -> 0.41        ) [CRAN]  
22: evaluate     (0.21         -> 0.23        ) [CRAN]  
23: rmarkdown    (58ca4df16... -> e62b928c5...) [GitHub]
24: knitr        (1.42         -> 1.45        ) [CRAN]  
25: plyr         (1.8.7        -> 1.8.9       ) [CRAN]  
26: colorspace   (2.0-3        -> 2.1-0       ) [CRAN]  
27: labeling     (0.4.2        -> 0.4.3       ) [CRAN]  
28: farver       (2.1.0        -> 2.1.1       ) [CRAN]  
29: openssl      (2.1.0        -> 2.1.1       ) [CRAN]  
30: curl         (5.0.2        -> 5.1.0       ) [CRAN]  
31: isoband      (0.2.5        -> 0.2.7       ) [CRAN]  
32: gtable       (0.3.0        -> 0.3.4       ) [CRAN]  
33: promises     (1.2.0.1      -> 1.2.1       ) [CRAN]  
34: data.table   (1.14.2       -> 1.14.8      ) [CRAN]  
35: htmlwidgets  (1.5.4        -> 1.6.2       ) [CRAN]  
36: viridisLite  (0.4.0        -> 0.4.2       ) [CRAN]  
37: scales       (1.2.0        -> 1.2.1       ) [CRAN]  
38: ggplot2      (3.3.6        -> 3.4.4       ) [CRAN]  
39: ps           (1.7.1        -> 1.7.5       ) [CRAN]  
40: processx     (3.6.1        -> 3.8.2       ) [CRAN]  
41: callr        (3.7.0        -> 3.7.3       ) [CRAN]  
42: vegan        (2.6-2        -> 2.6-4       ) [CRAN]  
43: TSP          (1.2-2        -> 1.2-4       ) [CRAN]  
44: webshot      (0.5.4        -> 0.5.5       ) [CRAN]  
45: seriation    (1.4.1        -> 1.5.1       ) [CRAN]  
46: dendextend   (1.16.0       -> 1.17.1      ) [CRAN]  
47: viridis      (0.6.2        -> 0.6.4       ) [CRAN]  
48: plotly       (4.10.1       -> 4.10.3      ) [CRAN]  
49: crayon       (1.5.1        -> 1.5.2       ) [CRAN]  
50: formatR      (1.12         -> 1.14        ) [CRAN]  
51: png          (0.1-7        -> 0.1-8       ) [CRAN]  
52: matrixStats  (0.62.0       -> 1.1.0       ) [CRAN]  
53: RCurl        (1.98-1.7     -> 1.98-1.13   ) [CRAN]  
54: RSQLite      (2.3.1        -> 2.3.3       ) [CRAN]  
55: XML          (3.99-0.10    -> 3.99-0.15   ) [CRAN]  
56: BH           (1.78.0-0     -> 1.81.0-1    ) [CRAN]  
57: RcppArmad... (0.11.4.4.0   -> 0.12.6.6.0  ) [CRAN]  
58: locfit       (1.5-9.5      -> 1.5-9.8     ) [CRAN]  
59: checkmate    (2.1.0        -> 2.3.0       ) [CRAN]  
60: prettyunits  (1.1.1        -> 1.2.0       ) [CRAN]  
61: hms          (1.1.1        -> 1.1.3       ) [CRAN]  
62: dbplyr       (2.3.3        -> 2.4.0       ) [CRAN]  
63: xml2         (1.3.3        -> 1.3.5       ) [CRAN]  
64: BiocFileC... (21fc57aa1... -> 7b7c4d379...) [GitHub]
65: heatmaply    (1.4.2        -> 1.5.0       ) [CRAN]  
66: VGAM         (1.1-7        -> 1.1-9       ) [CRAN]  
67: R.utils      (2.12.0       -> 2.12.2      ) [CRAN]  
68: ggrepel      (0.9.3        -> 0.9.4       ) [CRAN]  

Enter one or more numbers, or an empty line to skip updates: 3
✔  checking for file ‘/private/var/folders/n4/k84zqz_n5pz4w77x039w0szm0000gn/T/Rtmp8pNU3A/remotesd827731753ef/gagneurlab-FRASER-45ff430/DESCRIPTION’ (364ms)
─  preparing ‘FRASER’:
✔  checking DESCRIPTION meta-information ...
─  cleaning src
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘FRASER_1.99.0.tar.gz’
   
* installing *source* package ‘FRASER’ ...
** using staged installation
** libs
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppArmadillo/include' -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include' -I/usr/local/include   -DARMA_DONT_USE_OPENMP -fPIC  -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/RcppCommon.h:167:
/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
    ::sprintf(buff, "%02x", from);
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppArmadillo/include' -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include' -I/usr/local/include   -DARMA_DONT_USE_OPENMP -fPIC  -Wall -g -O2  -c loss_n_gradient_functions.cpp -o loss_n_gradient_functions.o
In file included from loss_n_gradient_functions.cpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/RcppCommon.h:167:
/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
    ::sprintf(buff, "%02x", from);
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o FRASER.so RcppExports.o loss_n_gradient_functions.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0'
ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [FRASER.so] Error 1
ERROR: compilation failed for package ‘FRASER’
* removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/FRASER’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/FRASER’
Warning message:
In i.p(...) :
  installation of package ‘/var/folders/n4/k84zqz_n5pz4w77x039w0szm0000gn/T//Rtmp8pNU3A/filed82787aaf1/FRASER_1.99.0.tar.gz’ had non-zero exit status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant