[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Problems compiling igraph 0.6 on MacOS X
From: |
Bob Pap |
Subject: |
Re: [igraph] Problems compiling igraph 0.6 on MacOS X |
Date: |
Tue, 6 Nov 2012 08:57:58 +0100 |
Hi Gábor,
Snapshot 0.7-3055 from last night fails
R CMD install ~/Downloads/igraph_nightly_0.7-3055-20121106.tar.gz
...
gcc -arch i386 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG -I/usr/local/include -DUSING_R -I. -Ics -Iglpk -Iglpk/amd -Iglpk/colamd -g -O2 -I/usr/include/libxml2 -g -O2 -I/usr/include/libxml2 -DNDEBUG -DPACKAGE_VERSION=\"0.7\" -DINTERNAL_ARPACK -DIGRAPH_THREAD_LOCAL=/**/ -fPIC -g -O2 -c rinterface.c -o rinterface.o
rinterface.c: In function ‘R_igraph_get_shortest_paths’:
rinterface.c:3692: error: too few arguments to function ‘igraph_get_shortest_paths_dijkstra’
rinterface.c: In function ‘R_igraph_bipartite_game_gnp’:
rinterface.c:12012: warning: implicit declaration of function ‘igraph_bipartite_game_gnp’
rinterface.c: In function ‘R_igraph_bipartite_game_gnm’:
rinterface.c:12063: warning: implicit declaration of function ‘igraph_bipartite_game_gnm’
make: *** [rinterface.o] Error 1
ERROR: compilation failed for package ‘igraph’
* removing ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/igraph’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/igraph’
Snapshot 0.6.1-3007 also from last night also fails with a bunch of ld errors
R CMD install ~/Downloads/igraph_nightly_0.6.1-3007-20121106.tar.gz
....
ld: warning: can't find atom for N_GSYM stabs nopx:G(0,3) in dstatn.o
ld: sectionForAddress(0x80) address not in any section for architecture i386
collect2: ld returned 1 exit status
make: *** [igraph.so] Error 1
ERROR: compilation failed for package ‘igraph’
* removing ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/igraph’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/igraph’
Snapshot 3043 from Friday also fails with the ld problems
R CMD install ~/Downloads/igraph_nightly_0.7-3043-20121102.tar.gz
...
ld: warning: can't find atom for N_GSYM stabs nopx:G(0,3) in dstats.o
ld: sectionForAddress(0x80) address not in any section for architecture i386
collect2: ld returned 1 exit status
make: *** [igraph.so] Error 1
ERROR: compilation failed for package ‘igraph’
* removing ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/igraph’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/igraph’
I am using gcc 4.2.1 (plain vanilla from the lastest XCode) on the latest copy of OsX 10.8.2. Maybe an issue of the architecture? I am using R64 only and I see the i386 is referred to in the errors.
Kind regards,
Bob Pap
- Re: [igraph] Problems compiling igraph 0.6 on MacOS X, Bob Pap, 2012/11/05
- Re: [igraph] Problems compiling igraph 0.6 on MacOS X, Gábor Csárdi, 2012/11/05
- Re: [igraph] Problems compiling igraph 0.6 on MacOS X,
Bob Pap <=
- Re: [igraph] Problems compiling igraph 0.6 on MacOS X, Bob Pap, 2012/11/15
- Re: [igraph] Problems compiling igraph 0.6 on MacOS X, Tamás Nepusz, 2012/11/16
- Re: [igraph] Problems compiling igraph 0.6 on MacOS X, Bob Pap, 2012/11/19
- Re: [igraph] Problems compiling igraph 0.6 on MacOS X, Tamás Nepusz, 2012/11/19
- Re: [igraph] Problems compiling igraph 0.6 on MacOS X, Bob Pap, 2012/11/19
- Re: [igraph] Problems compiling igraph 0.6 on MacOS X, Tamás Nepusz, 2012/11/19
- Re: [igraph] Problems compiling igraph 0.6 on MacOS X, Gábor Csárdi, 2012/11/19
- Re: [igraph] Problems compiling igraph 0.6 on MacOS X, Bob Pap, 2012/11/20
- Re: [igraph] Problems compiling igraph 0.6 on MacOS X, Gábor Csárdi, 2012/11/20
- Re: [igraph] Problems compiling igraph 0.6 on MacOS X, Bob Pap, 2012/11/21