Hi all,
I have been trying to install xps package in my PC (macOS Sierra 10.12.3).
I have tried many ways in references to the posts in this support and the web sites.
But, I can not install xps successfully.
1. System Integrity Protection was disabled.
2. ROOT (v5.34.36_2) was installed using Homebrew. (I could not make root5 from source.)
I moved the ROOT folder in home folder and .bashrc was set. ROOT seems to work well.
3. R (v3.3.2) was started in Terminal and I tried to install xps (v1.34.0) both from biocLite and a downloaded source.
I aslo tried to install from a downloaded source from Terminal by "R CMD INSTALL xps_1.34.0.tar.gz".
Error message is below. Please tell me the way to install xps.
27 warnings generated.
clang++ -dynamiclib -single_module -undefined dynamic_lookup -install_name /private/var/folders/dz/165_0y8x4q9d9f6gv3nkjblw0000gq/T/RtmpvolO4o/R.INSTALL5196737075cf/xps/src/xps.dylib -O2 -m64 TMLMath.o TStat.o StatUtils.o XPSBase.o XPSUtils.o XPSSchemes.o XPSDataTypes.o XPSProjectHandler.o XPSData.o XPSProcessing.o XPSHybridizer.o XPSSelector.o XPSNormalizer.o XPSPreProcessing.o XPSNormation.o XPSFilter.o XPSAnalyzer.o XPSAnalysis.o rwrapper.o xpsDict.o -L/usr/local/Cellar/root/5.34.36_2/lib/root -lGui -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lpthread -stdlib=libc++ -lm -ldl -lRIO -lGed -lTreePlayer -lTreeViewer -o xps.dylib
clang++ -bundle -undefined dynamic_lookup -O2 -m64 TMLMath.o TStat.o StatUtils.o XPSBase.o XPSUtils.o XPSSchemes.o XPSDataTypes.o XPSProjectHandler.o XPSData.o XPSProcessing.o XPSHybridizer.o XPSSelector.o XPSNormalizer.o XPSPreProcessing.o XPSNormation.o XPSFilter.o XPSAnalyzer.o XPSAnalysis.o rwrapper.o xpsDict.o \
-o xps.so
installing to /usr/local/lib/R/3.3/site-library/xps/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/usr/local/lib/R/3.3/site-library/xps/libs/xps.so':
dlopen(/usr/local/lib/R/3.3/site-library/xps/libs/xps.so, 6): Symbol not found: __ZN4ROOT17TGenericClassInfoD1Ev
Referenced from: /usr/local/lib/R/3.3/site-library/xps/libs/xps.so
Expected in: flat namespace
in /usr/local/lib/R/3.3/site-library/xps/libs/xps.so
Error: loading failed
Execution halted
ERROR: loading failed
* removing '/usr/local/lib/R/3.3/site-library/xps'
Thank you very much, Christian!
I have successfully installed ROOT and xps on my Sierra machine.