hi,

You can build a universal scipy fairly easily with macports- look at the attachments on

https://trac.macports.org/ticket/19397

It's a mystery to me why macports doesn't include these patches to have scipy build universal, but the patches work just fine for me…

With regards to your issue with compiling for multiple archs (save-temps and -M options)- you might try passing "--disable-dependency-tracking" to the configure script.



On Mon, Nov 28, 2011 at 3:12 PM, jesse berwald <jberwald@gmail.com> wrote:
Macports has "resolved" the bug with scipy-universal built. Unfortunately, scipy is compiled with compilers that cannot produce universal variants. I figure my next step will be to either a) make sure everything python is compiled for 64-bit; or b) switch back to linux and get it working in 5 minutes.  sigh... 

thanks for your help,
Jesse

On Sun, Nov 27, 2011 at 4:35 PM, Tiago Peixoto [via Main discussion list for the graph-tool project] <[hidden email]> wrote:
On 11/27/2011 10:01 PM, jesse berwald wrote:
>   CXX    graph_betweenness.lo
> llvm-g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
> make[4]: *** [graph_betweenness.lo] Error 1

I'm stumped on this... I'd have to investigate further. But I notice you
are using llvm-g++. Maybe you should try the regular (non-llvm) g++?

> I noticed that gcc 4.4 is required for compilation. I know that Mac
> likes to tweak gcc. Does this mean that llvm-g++-4.2 is too old? I
> could install the normal version of gcc4.6 which is the latest in
> macports.

Apple's GCC version 4.2 without OpenMP compiles graph-tool without a
problem. Of course, FSF's "stock" gcc from macports compiles it as well,
but for some reason things which are compiled with it do not work well
with the rest of the system compiled with Apple's GCC (strange
segfaults, etc)... Just one of the very many MacOS annoying
peculiarities.

Cheers,
Tiago

--
Tiago de Paula Peixoto <[hidden email]>


_______________________________________________
graph-tool mailing list
[hidden email]
http://lists.skewed.de/mailman/listinfo/graph-tool

signature.asc (566 bytes) Download Attachment
--
Tiago de Paula Peixoto <[hidden email]>



To unsubscribe from boost errors building on Mac OSX, click here.
NAML


_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
http://lists.skewed.de/mailman/listinfo/graph-tool