[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Help to install graph C library on Mac OSX Lion
From: |
Tamás Nepusz |
Subject: |
Re: [igraph] Help to install graph C library on Mac OSX Lion |
Date: |
Sun, 14 Aug 2011 15:26:05 +0200 |
Hi,
This has recently been discussed on the mailing list; basically, it's due to
some third party code incorporated in igraph which is not 100% valid C++ and
which makes the LLVM-based gcc compiler crash. The thread starts here:
http://lists.gnu.org/archive/html/igraph-help/2011-07/msg00051.html
Here's a quick workaround:
http://lists.gnu.org/archive/html/igraph-help/2011-07/msg00059.html
and here's the full patch which solves the issue (and which will be
incorporated in igraph 0.6):
http://lists.gnu.org/archive/html/igraph-help/2011-07/msg00053.html
Cheers,
Tamas
On 14 Aug 2011, at 15:22, Andrew Khong wrote:
> Hi,
>
> I just bought a new Mac laptop with Lion installed. When I tried to run
> either make check or make install in the terminal, I have the following error:
>
> /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
> -g -O2 -I/usr/include/libxml2 -g -O2 -MT libigraph_la-DensityGrid.lo -MD -MP
> -MF .deps/libigraph_la-DensityGrid.Tpo -c -o libigraph_la-DensityGrid.lo
> `test -f 'DensityGrid.cpp' || echo './'`DensityGrid.cpp
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/libxml2
> -g -O2 -MT libigraph_la-DensityGrid.lo -MD -MP -MF
> .deps/libigraph_la-DensityGrid.Tpo -c DensityGrid.cpp -fno-common -DPIC -o
> .libs/libigraph_la-DensityGrid.o
> DensityGrid.cpp: In member function ‘float
> drl::DensityGrid::GetDensity(float, float, bool)’:
> DensityGrid.cpp:76: internal compiler error: Segmentation fault: 11
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://developer.apple.com/bugreporter> for instructions.
> make[3]: *** [libigraph_la-DensityGrid.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> I really need the graph libraries to work on my project. The only possible
> cause that I could think of which caused the error shown above is that I'm
> using Lion on my mac and igraph is not ready to be used on Lion yet.
>
> Hope to hear from any helps soon.
>
> Cheers.
>
> Andrew
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help