Comments (8)
Could you post the entire error message?
Thanks,
Tao
On Mar 27, 2014, at 4:47 PM, dphansti [email protected] wrote:
I am trying to install MACS2 on a computer running OSX 10.9.2. I have Python 2.7.5 and numpy is properly installed. I get the error message below whether i use easy_install or when i download from pypi (and do python setup.py install). Any help would be appreciated. Thanks.
easy_install MACS2
...
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
error: Setup script exited with error: command 'cc' failed with exit status 1
—
Reply to this email directly or view it on GitHub.
from macs.
Sure. Here it is:
Searching for MACS2
Reading http://pypi.python.org/simple/MACS2/
Best match: MACS2 2.0.10.20131216
Downloading https://pypi.python.org/packages/source/M/MACS2/MACS2-2.0.10.20131216.tar.gz#md5=930bfb0711ca289ce56cf7943d838120
Processing MACS2-2.0.10.20131216.tar.gz
Running MACS2-2.0.10.20131216/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Bnik4P/MACS2-2.0.10.20131216/egg-dist-tmp-uIYYEo
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
error: Setup script exited with error: command 'cc' failed with exit status 1
from macs.
Here is the error I get when using 'python setup.py install'
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running install
running build
running build_py
running build_ext
building 'MACS2.cProb' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c MACS2/cProb.c -o build/temp.macosx-10.9-intel-2.7/MACS2/cProb.o
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
error: command 'cc' failed with exit status 1
from macs.
Looks this is relevant
https://support.enthought.com/entries/26184115-GCC-Clang-and-Cython-in-OS-X-10-9-Mavericks
It seems they've removed support for gcc in 10.9
You might have to install gcc manually or w/ something like brew. I would
try the flags suggested in the article above and see if they help. I have a
laptop running 10.9 for work, so I could try debugging it later if you
can't figure it out.
Please let us know if you get it working!
Ben
On Thu, Mar 27, 2014 at 1:57 PM, dphansti [email protected] wrote:
Here is the error I get when using 'python setup.py install'
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:
UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running install
running build
running build_py
running build_ext
building 'MACS2.cProb' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g
-Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd
-DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes
-Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes
-DENABLE_DTRACE -arch x86_64 -arch i386 -pipe
-I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c MACS2/cProb.c -o build/temp.macosx-10.9-intel-2.7/MACS2/cProb.oclang: error: unknown argument: '-mno-fused-madd'
[-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning)
in the future
error: command 'cc' failed with exit status 1—
Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-38859628
.
from macs.
Thanks Ben. I really have no idea where to add those flags to. But I tried the following and still got the same error.
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c MACS2/cProb.c -o build/temp.macosx-10.9-intel-2.7/MACS2/cProb.o -stdlib=libstdc++ -mmacosx-version-min=10.6
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
from macs.
Has anyone had success installing on OSX 10.9 yet. I still cant get it to work.
from macs.
Check this page:
Before you run ‘pip install MACS2’, do this first:
$ export CFLAGS=-Qunused-arguments
$ export CPPFLAGS=-Qunused-arguments
If you need do use ’sudo’ to install MAC2, do this:
$ sudo -E pip install MACS2
Tao
On Apr 4, 2014, at 1:34 PM, dphansti [email protected] wrote:
Has anyone had success installing on OSX 10.9 yet. I still cant get it to work.
—
Reply to this email directly or view it on GitHub.
from macs.
Great. That seemed to work. Thanks.
from macs.
Related Issues (20)
- What is the difference between "absolute peak summit" and "summit position" in narrowPeak format? HOT 1
- Q: conversion of output files to UCSC track hub format? HOT 1
- Feat: Enhanced clarification of the specific definition of BEDPE as used by MACS HOT 1
- Feat: Reduction of memory consumption HOT 3
- Q: HMMRATAC output and options for _summit.bed HOT 1
- Feat: Built-in scoring for HMMRATAC HOT 1
- Q: HMMRATAC producing too many peaks HOT 10
- Bug: undefined symbol: __pow_finite HOT 3
- Q: HMMRATAC reproducibility HOT 2
- Q: how to use MACS3 for ATAC seq with "himmratac" option? HOT 2
- Bug: Callvar throws an error when run on broadPeak file HOT 15
- Q: impact of sequencing throughput on peak calling HOT 4
- Setting cut-off when using logFE bigWig files from bdgcmp
- Q: How to use HMMRATAC to give us a narrow peak file and have signalValue, p and q-value ? HOT 1
- Bug: OverflowError when running hmmratac
- Number of de-duplicated reads indicated by filterdup log does not match number of lines in output BED file.
- Feat: Add --call-summits option in MACS3 bdgpeakcall?
- Q: using macs3 to detect peaks on long-read readings
- MACS3 callpeak does not create UCSC Browser ready peak files HOT 1
- Better cutoff levels control for bdgcallpeak cutoff-analysis HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macs.