EvoGeneX icon indicating copy to clipboard operation
EvoGeneX copied to clipboard

Failed to install 'EvoGeneX' from GitHub

Open basai1234 opened this issue 11 months ago • 4 comments

Hello,

I would like to use 'EvoGeneX' however I couldn't install it.

I asked couple other colleagues to install it with:

"devtools::install_github("ncbi/EvoGeneX", subdir="Rpackage", build_vignettes=TRUE)"

And it sounds that we encountered the same issue (both MacOS and Linux):

Error: Failed to install 'EvoGeneX' from GitHub:
  ! System command 'R' failed
7c7a8/00LOCK-EvoGeneX/00new/EvoGeneX/libs/EvoGeneX.so':

I first got this warning something like a dozen of time:

#pragma clang diagnostic pop
                                ^
   In file included from RcppExports.cpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppEigen/include/RcppEigenForward.h:30:
   In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppEigen/include/Eigen/Dense:2:
   In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppEigen/include/Eigen/LU:47:
   /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
       #pragma clang diagnostic pop
                                ^

And finally this one before it halt:

** testing if installed package can be loaded from temporary location
   Error: package or namespace load failed for ‘EvoGeneX’ in dyn.load(file, DLLpath = DLLpath, ...):, no matching push [-Wunknown-pragmas]
    unable to load shared object '/private/var/folders/pn/107n583j0_911v5jl1jwl8rc0000gn/T/RtmpLK4PWY/Rinst5832357c7a8/00LOCK-EvoGeneX/00new/EvoGeneX/libs/EvoGeneX.so':
     dlopen(/private/var/folders/pn/107n583j0_911v5jl1jwl8rc0000gn/T/RtmpLK4PWY/Rinst5832357c7a8/00LOCK-EvoGeneX/00new/EvoGeneX/libs/EvoGeneX.so, 6): Symbol not found: __Z12evogenex_fitiiiRKN4Rcpp6VectorILi14ENS_15PreserveStorageEEES4_S4_S4_RKNS_6MatrixILi14ES1_EEdd
     Referenced from: /private/var/folders/pn/107n583j0_911v5jl1jwl8rc0000gn/T/RtmpLK4PWY/Rinst5832357c7a8/00LOCK-EvoGeneX/00new/EvoGeneX/libs/EvoGeneX.so
     Expected in: flat namespace
    in /private/var/folders/pn/107n583j0_911v5jl1jwl8rc0000gn/T/RtmpLK4PWY/Rinst5832357c7a8/00LOCK-EvoGeneX/00new/EvoGeneX/libs/EvoGeneX.so
   Error: loading failed
   Execution halted
   ERROR: loading failed
─  removing ‘/private/var/folders/pn/107n583j0_911v5jl1jwl8rc0000gn/T/RtmpLK4PWY/Rinst5832357c7a8/EvoGeneX’
         -----------------------------------
   ERROR: package installation failed

If you could help install it, it would be great !

Thanks a lot!

basai1234 avatar Jul 13 '23 13:07 basai1234