Skip to content
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

ERROR: compilation failed for package ‘mzR’ (centos7/R 4.3.1) #286

Open
ddafeng opened this issue Nov 3, 2023 · 4 comments
Open

ERROR: compilation failed for package ‘mzR’ (centos7/R 4.3.1) #286

ddafeng opened this issue Nov 3, 2023 · 4 comments

Comments

@ddafeng
Copy link

ddafeng commented Nov 3, 2023

In file included from ./boost/regex.hpp:28:0,
from boost/libs/regex/src/posix_api.cpp:22:
./boost/regex/config.hpp:189:43: 致命错误:boost/regex/config/cwchar.hpp:没有那个文件或目录

include <boost/regex/config/cwchar.hpp>

                                       ^

编译中断。
make: *** [boost/libs/regex/src/posix_api.o] 错误 1
ERROR: compilation failed for package ‘mzR’

@sneumann
Copy link
Owner

sneumann commented Nov 3, 2023

Hi ddafeng, thanks for reporting.
which compiler are you using here, is that gcc or clang ?
I also don't understand the chinese, is my guess correct that the compiler says
it can't find cwchar.hpp ?
Yours, Steffen

@sneumann
Copy link
Owner

sneumann commented Nov 3, 2023

I added the missing file in 5143a8f, but I can't test if others are missing.
Could you check if the github devel version in https://github.com/sneumann/mzR compiles on your setup ?
Thanks, Yours, Steffen

@ddafeng
Copy link
Author

ddafeng commented Nov 4, 2023 via email

@sneumann
Copy link
Owner

sneumann commented Nov 6, 2023

Hi, thanks for reporting back. Just for the record, the boost BH package is not used, since (last time I checked) it has the header files and does not include everything we'd need in mzR (specifically, the compiled libraries).
That anaconda works could mean that this packaging uses a different compiler, language environment or R version. So I won't merge the PR until someone confirms that it solves an issue. Yours, Steffen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants