igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] python-igraph OSX Lion install errors


From: Bedartha Goswami
Subject: Re: [igraph] python-igraph OSX Lion install errors
Date: Fri, 04 Nov 2011 16:01:13 +0100

Hi, Sorry I forgot to run "make clean" but it did not make any difference to the architecture of the shared lib. It still remains "x86_64":
bedartha$ file /usr/local/lib/libigraph.0.dylib
/usr/local/lib/libigraph.0.dylib: Mach-O 64-bit dynamically linked shared library x86_64 Additional info:
Bedarthas-MacBook-Air:~ bedartha$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.7
BuildVersion:   11A2063
Bedarthas-MacBook-Air:~ bedartha$ uname -p
i386
Bedarthas-MacBook-Air:~ bedartha$ uname -a
Darwin Bedarthas-MacBook-Air.local 11.0.1 Darwin Kernel Version 11.0.1: Wed Jun 29 19:53:22 PDT 2011; root:xnu-1699.23.2~1/RELEASE_X86_64 x86_64 Regards, Bedartha Tamas Nepusz writes:
Hi,
Please run "make clean" before "make", otherwise "make" will think that
there is nothing to compile (since all the .o files are already there).
--
T.
On 11/04/2011 03:47 PM, Bedartha Goswami wrote:
Hi Tamas, I tried the commands you suggested but the arch of the generated lib is unaffected on my machine:
Bedarthas... bedartha$ CFLAGS="-arch i386" CXXFLAGS="-arch i386" ./configure
\\
\\
bedartha$ make
\\
\\
bedartha$ file src/.libs/libigraph.0.dylib
src/.libs/libigraph.0.dylib: Mach-O 64-bit dynamically linked shared library x86_64 The detailed shell text is attached.
Regards,
Bedartha

Tamas Nepusz writes:
Hi, Okay, this time I'm trying it on my own machine:
First, I download igraph and extract it. Then I do this (an alternate way of
specifying compile flags at configuration time):
$ CFLAGS="-arch i386" CXXFLAGS="-arch i386" ./configure
$ make Then I check the architecture of the generated lib:
$ file src/.libs/libigraph.0.dylib
src/.libs/libigraph.0.dylib: Mach-O dynamically linked shared library i386 Then I install it and check whether it's really installed:
$ make install
$ file /usr/local/lib/libigraph.0.dylib
/usr/local/lib/libigraph.0.dylib: Mach-O dynamically linked shared library i386 Let me know if this does not work for you.
and repeated the commands. But the error remains the same - only that the "gcc-4.0" phrase is replaced with "gcc-4.2":
Good, at least it's trying it with gcc-4.2 and not gcc-4.0. The funny thing
is that I _do_ have /usr/bin/gcc-4.2 on my machine:
$ ls -la /usr/bin/gcc-4.2
-rwxr-xr-x 1 root wheel 113024 May 16 06:37 /usr/bin/gcc-4.2
It is not a symlink to llvm-gcc-4.2, so I have a non-LLVM gcc from somewhere
(as well as the LLVM-based one). At this point I'm a bit stumped as I don't
know where did I get it from -- as far as I remember, I only installed the
XCode Developer Tools. Have you installed that already?
Cheers,
Tamas
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help

Attachment: install-python-igraph-ext-OSXLion_6
Description: Text document


reply via email to

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