-
Notifications
You must be signed in to change notification settings - Fork 49
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
Does rmats-turbo work on mac OS? #395
Comments
I think the build should work on mac. The error above is:
That seems to be saying that you have this environment variable set: The build will set CXX unless you set that variable yourself: https://github.com/Xinglab/rmats-turbo/blob/v4.3.0/build_rmats#L79 Also there is an osx bioconda package for rmats-turbo that you could try instead of building from source: https://anaconda.org/bioconda/rmats
|
Thank you for your reply. I try to rebuild, but another problem happened. yibinlin @ yibindeMacBook-Pro in ~/rmats_turbo_v4_3_0 [18:14:38]$ ./build_rmats cd bamtools; mkdir -p build; cd build; cmake ..; make; -- The C compiler identification is AppleClang 15.0.0.15000309 Update the VERSION argument value or use a ... suffix to tell -- Configuring done (0.5s) MACOSX_RPATH is not specified for the following targets: BamTools This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done (0.0s) rm -f to ignore nonexistent files since *.dylib will only exist for maccd bamtools/lib; rm -f *.so .so. *.dylib |
Most of that output is from warnings which can be ignored. The error is: The build finds This post (#305 (comment)) looks like an osx build. The solution in that case was to install a specific version of gcc with homebrew and then This post was similar: https://groups.google.com/g/rmats-user-group/c/m44b0hAL6Kw If you change compilers you need to remove old build results or start from a fresh copy of the code to avoid mixing output from different compiler versions |
I tried to install and run, but failed.
The following is the error message for the operation
$ ./build_rmats
cd bamtools; mkdir -p build; cd build; cmake ..; make;
CMake Warning (dev) at CMakeLists.txt:9 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at /opt/homebrew/Cellar/cmake/3.29.2/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:48 (message):
Could not find compiler set in environment variable CXX:
/usr/local/bin/g++.
Call Stack (most recent call first):
CMakeLists.txt:9 (project)
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
make[1]: *** No targets specified and no makefile found. Stop.
make: *** [build] Error 2
(base)
The text was updated successfully, but these errors were encountered: