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
mzR fail installation #86
Comments
Please, do not cross-post. I am closing this issue as the question has also been asked on the Bioconductor support forum. |
Does this error look familiar to anyone, or is it a red herring?
I installed successfully using R version 3.3.2 Patched (2016-11-01 r71616)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.5 LTS
locale:
[1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8
[5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8
[7] LC_PAPER=en_GB.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] BiocInstaller_1.24.0
loaded via a namespace (and not attached):
[1] tools_3.3.2 msdata_0.14.0 Cc @sneumann @jotsetung |
Thanks so far for your help. error: no matching function for call to ‘call_once(boost::once_flag&, void (&)())’boost::call_once(current_thread_tls_init_flag,create_current_thread_tls_key); rather than by the warnings. Any ideas are appreciated. |
We have the same on the travis build for mzR. |
Red herring doesn't mean a hoax, it means that the error that is shown is actually not the real reason things fail. I wanted to check here before asking you to provide a more complete or full output. |
More details about that issue: https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17189 |
@microalgues - if setting the |
Hello @lgatto @sneumann ,
In some way, I have already installed the package but with a lot of warnings and notes (see below). CC = gcc -std=gnu99 If I run the packages:
Do you have any suggestion? INSTALLATION WARNINGS & NOTES cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
|
I guess you could also set the flags in What is your Where does > library(mzR)
> library(msdata)
> fls <- proteomics(full.names = TRUE)
> basename(fls)
[1] "MRM-standmix-5.mzML.gz"
[2] "MS3TMT10_01022016_32917-33481.mzML.gz"
[3] "TMT_Erwinia_1uLSike_Top10HCD_isol2_45stepped_60min_01.mzML.gz"
> openMSfile(fls[2])
Mass Spectrometry file handle.
Filename: MS3TMT10_01022016_32917-33481.mzML.gz
Number of scans: 565
> openMSfile(fls[3])
Mass Spectrometry file handle.
Filename: TMT_Erwinia_1uLSike_Top10HCD_isol2_45stepped_60min_01.mzML.gz
Number of scans: 509 |
Hello, > packageVersion("Rcpp")
[1] ‘0.12.9’ > library(mzR)
Loading required package: Rcpp
Warning message:
'loadRcppModules' is deprecated.
Use 'loadModule' instead.
See help("Deprecated")
> library(msdata)
> fls <- proteomics(full.names = TRUE)
Error: could not find function "proteomics"
> basename(fls)
Error in basename(fls) : object 'fls' not found mzf file come from R/Bioconductor tools for mass spectrometry-based proteomics (https://lgatto.github.io/ProteomicsBioc2016Workshop/) >library("rpx")
>pxannounced()
>px <- PXDataset("PXD000001")
>pxfiles(px)
>mzf <- pxget(px, pxfiles(px)[7]) I have problems also with the installation of Warning: 'loadRcppModules' is deprecated.
Use 'loadModule' instead.
See help("Deprecated")
Warning: multiple methods tables found for ‘unlist’ Thanks again, |
In the source package, it exists. Flags should be set prior to compilation. I think you need to update all your packages. library("BiocInstaller")
biocLite() to update all packages and try the example code I suggested again. |
Sry, I don't get how flags can be set prior to compilation in the mzR/src/ folder as this folder is first created with the biocLite command which goes in hand with its immediate compilation. So, there is no mzR/src/ folder before "compiling" where I could pre-set flags. |
To compile yourself and set flags, you need to download the source manually (you can get the package tarball from Bioconductor landing page or get the source tree from github). Then, you can modify the
You still need to update everything using |
Thank you very much.
|
You also compile using The LaTeX error you get is when building the vignette. You can bypass this with
|
Finally the package is working. I've installed after manual compilation from the command line following your recommendations.
But I have had to modify the flags from the Makeconf file, because the mzR/src/Makevar file didn't work form me. Despite everything, I had some warnings during some other packages installation (are also working). I paste how looks my modifications of Makeconf file.
Thank you very much and I hope it helps. |
Dear all,
I am having problems to install mzR package in R under my Ubuntu 16.04LTS distribution.
As you can see below I get several similar errors. I checked the software version of:
GNU Make 4.1
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
netCDF 4.4.0
And I also tried to install from git-hub
but it didn't work. Could someone help me?
With thanks,
Xavier
#./boost/utility/base_from_member.hpp:xxx:xx: warning: variadic templates only available with -std=c++11 or -std=gnu++11
template<typename ...T>
#./boost/thread/detail/invoke.hpp:xxx:xx: warning: variadic templates only available with -std=c++11 or -std=gnu++11
invoke(Ret(*f)(Args... ), BOOST_THREAD_RV_REF(Args) ...args)
#./boost/thread/once.hpp:35:13: note: template argument deduction/substitution failed:
boost/thread/src/pthread/thread.cpp:xxx:xx: note: cannot convert ‘boost::detail::{anonymous}::create_current_thread_tls_key’ (type ‘void()’) to type ‘boost::once_flag&’
boost::call_once(current_thread_tls_init_flag,create_current_thread_tls_key);
#boost/thread/src/pthread/thread.cpp: In function ‘void boost::detail::set_current_thread_data(boost::detail::thread_data_base*)’:
boost/thread/src/pthread/thread.cpp:xxx:xx: error: no matching function for call to ‘call_once(boost::once_flag&, void (&)())’
boost::call_once(current_thread_tls_init_flag,create_current_thread_tls_key);
The text was updated successfully, but these errors were encountered: