Install cvxopt on mac failed

180 views
Skip to first unread message

Ivelin Angelov

unread,
Mar 29, 2014, 8:27:42 AM3/29/14
to cvx...@googlegroups.com
I tried to install cvxopt on mac OS X 10.9.2 (Mavericks)
Here is the output:

user src/:  sudo python setup.py install

running install

running build

running build_py

creating build

creating build/lib.macosx-10.9-intel-2.7

creating build/lib.macosx-10.9-intel-2.7/cvxopt

copying python/__init__.py -> build/lib.macosx-10.9-intel-2.7/cvxopt

copying python/coneprog.py -> build/lib.macosx-10.9-intel-2.7/cvxopt

copying python/cvxprog.py -> build/lib.macosx-10.9-intel-2.7/cvxopt

copying python/info.py -> build/lib.macosx-10.9-intel-2.7/cvxopt

copying python/misc.py -> build/lib.macosx-10.9-intel-2.7/cvxopt

copying python/modeling.py -> build/lib.macosx-10.9-intel-2.7/cvxopt

copying python/msk.py -> build/lib.macosx-10.9-intel-2.7/cvxopt

copying python/printing.py -> build/lib.macosx-10.9-intel-2.7/cvxopt

copying python/solvers.py -> build/lib.macosx-10.9-intel-2.7/cvxopt

running build_ext

building 'base' extension

creating build/temp.macosx-10.9-intel-2.7

creating build/temp.macosx-10.9-intel-2.7/C

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/include/python2.7 -c C/base.c -o build/temp.macosx-10.9-intel-2.7/C/base.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

user src/ : 


Here is the compiler:

user src/ : cc --version

Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)

Target: x86_64-apple-darwin13.1.0

Thread model: posix

user src/ : 



Any suggestions ?

Martin

unread,
Mar 29, 2014, 8:37:36 AM3/29/14
to cvx...@googlegroups.com
I'm also using 10.9.2 with the same compiler, but I don't get the error. 

Ivelin Angelov

unread,
Mar 29, 2014, 8:54:50 AM3/29/14
to cvx...@googlegroups.com
Thanks for the link. It worked with that solution.
What I did is:
export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-arguments
sudo -E python setup.py install

MatsumotoRyuichi

unread,
Apr 18, 2014, 9:26:04 AM4/18/14
to cvx...@googlegroups.com
Thank u nice message.
I could install!
Reply all
Reply to author
Forward
0 new messages