dhcp-22-191:src guilherme$ sudo python setup.py install
running install
running build
running build_py
running build_ext
building 'gsl' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-
madd -fno-common -dynamic -DNDEBUG -g -O3 -I/Library/Frameworks/
Python.framework/Versions/5.0.0/include -I/usr/local/include/gsl -I/
Library/Frameworks/Python.framework/Versions/5.0.0/include/python2.5 -
c C/gsl.c -o build/temp.macosx-10.3-i386-2.5/C/gsl.o
cc1: error: unrecognized command line option "-Wno-long-double"
error: command 'gcc' failed with exit status 1
This is with gcc-4.2, the default gcc in the latest Xcode.
Trying gcc-4.0 doesn't work either (I get a message saying that
something is not allowed for Mac OS < 10.4, which I suppose some build
program infers from the fact that I am using gcc-4.0).
Ideas?
Thanks in advance?
> --
>
> You received this message because you are subscribed to the Google Groups "CVXOPT" group.
> To post to this group, send email to cvx...@googlegroups.com.
> To unsubscribe from this group, send email to cvxopt+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cvxopt?hl=en.
>
>
Thanks for the answer. Yes, I went that route. But I didn't want to,
because I heard Macports doesn't always "work right" (some things do
not compile, someties updates/upgrades fail, etc.). I just installed
Macports, and even though CVXOPT and its dependencies installed
without a problem, some other packages did not compile (like
wx-python), and running 'port selfupdate' gives me an error. So it
would be nice if one could compile CVXOPT by hand on the Mac without
too much trouble. Most of the Unix stuff I need is provided by Rudix
which is much smaller but also more hassle free than Macports. The
scientific stuff (like the GSL, DSDP, FFTW) is not updated all the
time, so one essentially has to worry about keeping up with CVXOPT
itself. If it compiled.
Best,
Guilherme
--
Guilherme P. de Freitas
http://www.gpfreitas.com