[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] OS X (Lion) Compilation Issues
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] OS X (Lion) Compilation Issues |
Date: |
Thu, 28 Jul 2011 12:59:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11 |
Hi Laurence,
If you want to follow the path of least effort, just compile igraph with the
non-LLVM gcc that should still be supported in OS X Lion. On my Mac (after
having upgraded to Lion), I have it in /usr/bin/gcc-4.2 (while /usr/bin/gcc
symlinks to /usr/bin/llvm-gcc-4.2). So, try this in igraph's source folder:
CC=/usr/bin/gcc-4.2 ./configure && make && make install
Best,
--
T.
On 07/28/2011 12:50 PM, Laurence Muller wrote:
> Hi Tamas,
>
> I'm using Mac OS X Lion as well and stumbled upon the same problem.
> Since the macports version fails to compile (same problems as Thomas
> listed), what do you recommend? Should I try to patch 0.5.4 manually
> or try to compile 0.6 myself?
>
> Best,
> - Laurence
>
> On 25 jul, 20:11, Tamás Nepusz <address@hidden> wrote:
>> Hi Thomas,
>>
>> Just realized that this is already fixed; see the following commit:
>>
>> http://bazaar.launchpad.net/~igraph/igraph/0.6-main/revision/2387
>>
>> --
>> Tamas
>>
>> On 24 Jul 2011, at 21:15, Thomas Gorochowski wrote:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>> Hi there,
>>
>>> I am attempting to compile igraph 0.5.4 onOSX10.7 (Lion) with the following
>>> error being reported:
>>
>>> 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
>>> Eve:igraph-0.5.4 Tom$ gcc
>>> i686-apple-darwin11-llvm-gcc-4.2: no input files
>>
>>> I am using the standard configure, make, make install process. It seems
>>> Apple have updated their compilers to LLVM
>>> (i686-apple-darwin11-llvm-gcc-4.2) which might be part of the problem. As
>>> they it seems they will be depreciating support for gcc it might be good to
>>> ensure igraph builds under this compiler.
>>
>>> Many thanks,
>>
>>> Tom.
>>
>>> --
>>> Thomas E. Gorochowski
>>> University of Bristol, Centre for Complexity Sciences (BCCS)
>>> http://www.chofski.co.uk, address@hidden
>>
>>> _______________________________________________
>>> igraph-help mailing list
>>> address@hidden
>>> https://lists.nongnu.org/mailman/listinfo/igraph-help
>>
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden://lists.nongnu.org/mailman/listinfo/igraph-help
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>