igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Building universal python-igraph on OSX 10.11


From: Jérôme Laheurte
Subject: Re: [igraph] Building universal python-igraph on OSX 10.11
Date: Tue, 12 Apr 2016 19:05:20 +0200


Le 11 avr. 2016 à 20:53, Tamas Nepusz <address@hidden> a écrit :

I’m using brew because pip does not install the C core…
It should try to install the C core if it does not find the C core
already [...]
As far as I could check (find on various standard library locations for « *igraph*dylib* », there wasn’t an older version around.
In that case, please send me the full output of "pip install
python-igraph" - maybe I can figure out what went wrong and where.

My bad; pip install does work, but the installed version of the C core is 64 bits only (or else it would have failed to build, obviously).


I forgot to tell, I already had homebrewed gcc. But « gcc —version » still gives me the Xcode symlink to clang… I’ll try setting explicitely CC or whatever home-brew uses.

I have installed gcc using "brew install gcc" and it seems like it's
available in /usr/local/bin/gcc-5. However, /usr/local/bin/gcc does
not exist and /usr/bin/gcc is symlinked to clang, so typing "gcc"
effectively ends up with using clang instead.

You can try creating symlinks to gcc-5 and related binaries in
/usr/local/bin; alternatively, you could try setting HOMEBREW_CC and
HOMEBREW_CXX to point to /usr/local/bin/gcc-5 and
/usr/local/bin/g++-5.

Argh

Error: Non-Apple GCC can't build universal binaries

I think I’ll keep up in this direction to see if I can build a 32-bits only version.

Thanks
Jérôme Laheurte

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

[Prev in Thread] Current Thread [Next in Thread]