Skip to content

GenomicTools installation failed #12

@JingjingBai2021

Description

@JingjingBai2021

Hi Daniel,

I am trying to go through the eqtl analysis by using GenomicTools.

But it seemed that the "install_github("fischuu/GenomicTools")" does not work.

##ERRORS
installing source package ‘GenomicTools’ ...
** using staged installation
** libs
using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX13.1.sdk’
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RcppArmadillo/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RegisterRoutines.c -o RegisterRoutines.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RcppArmadillo/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c mdr.cpp -o mdr.o
mdr.cpp:303:11: warning: variable 'runFour' set but not used [-Wunused-but-set-variable]
int runFour=0;
^
mdr.cpp:14:12: warning: unused variable 'CVP' [-Wunused-variable]
double CVP = Rcpp::as(cvp); // Ratio of training and testing data
^
2 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/RcppArmadillo/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c timeCluster.cpp -o timeCluster.o
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o GenomicTools.so RegisterRoutines.o mdr.o timeCluster.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: directory not found for option '-L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0'
ld: warning: directory not found for option '-L/opt/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [GenomicTools.so] Error 1
ERROR: compilation failed for package ‘GenomicTools’

  • removing ‘/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/GenomicTools’
    Warning message:
    In i.p(...) :
    installation of package ‘/var/folders/cy/hb8kfbx14yq4mgqmv379dc840000gn/T//RtmpHshETn/filebe1e3b82fe57/GenomicTools_0.4.tar.gz’ had non-zero exit status

Best,
JIngjing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions