[Networkit] Compiler detection fails after upgrade to OS X El Capitan
christian.staudt at kit.edu
Mon Jan 4 19:40:48 CET 2016
The issue was that the upgrade messed up paths somewhere so that various library headers couldn’t be found. The compiler was found, so our error message is somewhat misleading. I suggest not having too many assumptions in the error message and not shielding the user too much from error output.
Reinstalling (not upgrading) GCC 4.9. (brew remove gcc49; brew install gcc49) solved it for me.
> On 04 Jan 2016, at 14:22, Henning Meyerhenke <henning.meyerhenke at kit.edu> wrote:
> It works for me now after
> (i) upgrading GCC with homebrew
> (ii) changing the compiler name in build.conf to g++-5 (due to the upgrade) and deleting the flags afterwards.
> Hope this helps,
> Am 04.01.16 um 12:10 schrieb Maximilian Vogel:
>> On 04.01.2016 11:08, Henning Meyerhenke wrote:
>>> Same problem here after the OS X upgrade. Below is the output after
>>> applying Max's patch.
>>> HMs-MacBook-Pro:NetworKit Henning$ CXX=g++-4.9 sudo pip3 install -e .
>>> Obtaining file:///Users/Henning/Documents/workspace/NetworKit
>>> Running setup.py
>>> (path:/Users/Henning/Documents/workspace/NetworKit/setup.py) egg_info
>>> for package from file:///Users/Henning/Documents/workspace/NetworKit
>>> sample.cpp:13:11: fatal error: 'omp.h' file not found
>>> #include <omp.h>
>>> 1 error generated.
>>> In file included from
>>> from sample.cpp:14:
>>> fatal error: wchar.h: No such file or directory
>>> #include <wchar.h>
>> Well, "g++-4.9" is checked first and it is installed, but for some
>> reason, several headers are missing. I assume that the upgrade somehow
>> messed with the GCC installation, but I'm not familiar with OS X, so I
>> can't help any further. To me it looks like setup.py works as it is
>> supposed to.
>> NetworKit mailing list
>> NetworKit at ira.uni-karlsruhe.de
> Karlsruhe Institute of Technology (KIT)
> Institute of Theoretical Informatics (ITI)
> Prof. Dr. Henning Meyerhenke
> Theoret. Informatics / Parallel Computing
> Phone: +49-721-608-41876
> Web: http://parco.iti.kit.edu/henningm/
> KIT - The Research University in the Helmholtz Association
> NetworKit mailing list
> NetworKit at ira.uni-karlsruhe.de
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the NetworKit