I have encountered consistent issues with the installation. As follows
[50/53] Linking build/3rd_party/zstd-1.1.0/libzstd.a
../src/View.cpp: In member function ‘void genfile::bgen::View::setup(const string&)’:
../src/View.cpp:212:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( m_stream->gcount() != m_postheader_data.size() ) {
^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-c++11-long-long" [enabled by default]
[51/53] Linking build/3rd_party/sqlite3/libsqlite3.a
[52/53] Linking build/db/libdb.a
[53/53] Linking build/libbgen.a
Waf: Leaving directory `/tmp/RtmpEbogUY/R.INSTALL2b5b6584099d8/gds2bgen/src/bgen_v1.1.8/build'
'build' finished successfully (35.483s)
cp -f bgen_v1.1.8/build/libbgen.a .
cp -f bgen_v1.1.8/build/3rd_party/zstd-1.1.0/libzstd.a .
rm -rf bgen_v1.1.8/build
g++ -std=gnu++11 -shared -L/n/helmod/apps/centos7/Core/R_core/4.0.2-fasrc01/lib64/R/lib -L/usr/local/lib64 -o gds2bgen.so R_gds2bgen.o gds2bgen.o libbgen.a libzstd.a -L/n/helmod/apps/centos7/Core/R_core/4.0.2-fasrc01/lib64/R/lib -lR
installing to /n/user/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-gds2bgen/00new/gds2bgen/libs
R
inst
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package ‘gdsfmt’ was built under R version 4.0.5
Execution halted
ERROR: lazy loading failed for package ‘gds2bgen’
removing ‘/n/user/R/x86_64-pc-linux-gnu-library/4.0/gds2bgen’
Error: Failed to install 'gds2bgen' from GitHub:
(converted from warning) installation of package ‘/tmp/RtmpH5dlPs/file17dc1414aa117/gds2bgen_0.9.2.tar.gz’ had non-zero exit status
Besides the default installation methods, is there any other way walk around it?
library("devtools") install_github("zhengxwen/gds2bgen")
does not work on my clster.
I have encountered consistent issues with the installation. As follows
[50/53] Linking build/3rd_party/zstd-1.1.0/libzstd.a ../src/View.cpp: In member function ‘void genfile::bgen::View::setup(const string&)’: ../src/View.cpp:212:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( m_stream->gcount() != m_postheader_data.size() ) { ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-c++11-long-long" [enabled by default]
[51/53] Linking build/3rd_party/sqlite3/libsqlite3.a [52/53] Linking build/db/libdb.a [53/53] Linking build/libbgen.a Waf: Leaving directory `/tmp/RtmpEbogUY/R.INSTALL2b5b6584099d8/gds2bgen/src/bgen_v1.1.8/build' 'build' finished successfully (35.483s) cp -f bgen_v1.1.8/build/libbgen.a . cp -f bgen_v1.1.8/build/3rd_party/zstd-1.1.0/libzstd.a . rm -rf bgen_v1.1.8/build g++ -std=gnu++11 -shared -L/n/helmod/apps/centos7/Core/R_core/4.0.2-fasrc01/lib64/R/lib -L/usr/local/lib64 -o gds2bgen.so R_gds2bgen.o gds2bgen.o libbgen.a libzstd.a -L/n/helmod/apps/centos7/Core/R_core/4.0.2-fasrc01/lib64/R/lib -lR installing to /n/user/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-gds2bgen/00new/gds2bgen/libs R inst ** byte-compile and prepare package for lazy loading Error: (converted from warning) package ‘gdsfmt’ was built under R version 4.0.5 Execution halted ERROR: lazy loading failed for package ‘gds2bgen’