Hello, I'm trying to install graph-tool on a CentOS 6.3 system. After spending a lot of time satisfying various dependencies, I finally got the configure script to run without error, only to receive a compile error during make. Here's the end of make's output: graph_closeness.cc:47: instantiated from here graph_closeness.hh:124: warning: unused parameter 'u' CXX graph_eigentrust.lo CXX graph_eigenvector.lo CXX graph_hits.lo CXX graph_katz.lo CXX graph_pagerank.lo CXX graph_trust_transitivity.lo CXXLD libgraph_tool_centrality.la /usr/bin/ld: /usr/local/lib/python2.7/config/libpython2.7.a(floatobject.o): relocation R_X86_64_32S against `PyFloat_Type' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/python2.7/config/libpython2.7.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[4]: *** [libgraph_tool_centrality.la] Error 1 make[4]: Leaving directory `/home/nvioli/project_recommendations/graph-tool-2.2.24/src/graph/centrality' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/nvioli/project_recommendations/graph-tool-2.2.24/src/graph' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/nvioli/project_recommendations/graph-tool-2.2.24/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/nvioli/project_recommendations/graph-tool-2.2.24' make: *** [all] Error 2 I found a forum post on a similar error from a few years ago, which suggested upgrading the compiler. I'm using gcc 4.4.6, and just spent two days trying to upgrade to the latest 4.8 release, to no avail. Can anyone make another suggestion for how I might go about getting graph-tool installed? Thanks, Nick -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 08/29/2013 04:20 PM, nvioli wrote:
Hello, I'm trying to install graph-tool on a CentOS 6.3 system. After spending a lot of time satisfying various dependencies, I finally got the configure script to run without error, only to receive a compile error during make.
Here's the end of make's output:
graph_closeness.cc:47: instantiated from here graph_closeness.hh:124: warning: unused parameter 'u' CXX graph_eigentrust.lo CXX graph_eigenvector.lo CXX graph_hits.lo CXX graph_katz.lo CXX graph_pagerank.lo CXX graph_trust_transitivity.lo CXXLD libgraph_tool_centrality.la /usr/bin/ld: /usr/local/lib/python2.7/config/libpython2.7.a(floatobject.o): relocation R_X86_64_32S against `PyFloat_Type' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/python2.7/config/libpython2.7.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[4]: *** [libgraph_tool_centrality.la] Error 1 make[4]: Leaving directory `/home/nvioli/project_recommendations/graph-tool-2.2.24/src/graph/centrality' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/nvioli/project_recommendations/graph-tool-2.2.24/src/graph' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/nvioli/project_recommendations/graph-tool-2.2.24/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/nvioli/project_recommendations/graph-tool-2.2.24' make: *** [all] Error 2
I found a forum post on a similar error from a few years ago, which suggested upgrading the compiler. I'm using gcc 4.4.6, and just spent two days trying to upgrade to the latest 4.8 release, to no avail. Can anyone make another suggestion for how I might go about getting graph-tool installed?
I looks like you have only compiled the static python libraries. You should compile python with "--enable-shared". This should fix this issue. You would have a lot less headaches by using a more recent operating system. GCC 4.4 for instance is quite old by now. But installing everything by hand seems like an overkill. Most modern GNU/Linux distros will have everything you need... Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
Hi Tiago, Thanks (as always) for your prompt reply. I've recompiled Python as suggested and now graph-tool's seems hung on this part: graph_closeness.cc:47: instantiated from here graph_closeness.hh:124: warning: unused parameter 'u' CXX graph_eigentrust.lo CXX graph_eigenvector.lo CXX graph_hits.lo CXX graph_katz.lo CXX graph_pagerank.lo It just sits at that status seemingly indefinitely. And while I'd love to be on a different OS, unfortunately it's out of my control... Thanks, Nick On Thu, Aug 29, 2013 at 10:27 AM, Tiago Peixoto [via Main discussion list for the graph-tool project] <ml-node+s982480n4025106h70@n3.nabble.com>wrote:
On 08/29/2013 04:20 PM, nvioli wrote:
Hello, I'm trying to install graph-tool on a CentOS 6.3 system. After spending a lot of time satisfying various dependencies, I finally got the configure script to run without error, only to receive a compile error during make.
Here's the end of make's output:
graph_closeness.cc:47: instantiated from here graph_closeness.hh:124: warning: unused parameter 'u' CXX graph_eigentrust.lo CXX graph_eigenvector.lo CXX graph_hits.lo CXX graph_katz.lo CXX graph_pagerank.lo CXX graph_trust_transitivity.lo CXXLD libgraph_tool_centrality.la /usr/bin/ld: /usr/local/lib/python2.7/config/libpython2.7.a(floatobject.o): relocation R_X86_64_32S against `PyFloat_Type' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/python2.7/config/libpython2.7.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[4]: *** [libgraph_tool_centrality.la] Error 1 make[4]: Leaving directory
`/home/nvioli/project_recommendations/graph-tool-2.2.24/src/graph/centrality'
make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/nvioli/project_recommendations/graph-tool-2.2.24/src/graph' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/nvioli/project_recommendations/graph-tool-2.2.24/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/nvioli/project_recommendations/graph-tool-2.2.24' make: *** [all] Error 2
I found a forum post on a similar error from a few years ago, which suggested upgrading the compiler. I'm using gcc 4.4.6, and just spent two days trying to upgrade to the latest 4.8 release, to no avail. Can anyone make another suggestion for how I might go about getting graph-tool installed? I looks like you have only compiled the static python libraries. You should compile python with "--enable-shared". This should fix this issue.
You would have a lot less headaches by using a more recent operating system. GCC 4.4 for instance is quite old by now. But installing everything by hand seems like an overkill. Most modern GNU/Linux distros will have everything you need...
Cheers, Tiago
-- Tiago de Paula Peixoto <[hidden email]<http://user/SendEmail.jtp?type=node&node=4025106&i=0>>
_______________________________________________ graph-tool mailing list [hidden email] <http://user/SendEmail.jtp?type=node&node=4025106&i=1> http://lists.skewed.de/mailman/listinfo/graph-tool
*signature.asc* (567 bytes) Download Attachment<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/attachment/4025106/0/signature.asc> -- Tiago de Paula Peixoto <tiago@skewed.de>
------------------------------ If you reply to this email, your message will be added to the discussion below:
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... To unsubscribe from Compile error, click here<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4025105&code=bnZpb2xpQGdtYWlsLmNvbXw0MDI1MTA1fC0xMDQwNzA0MzUy> . NAML<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
Whoops, I spoke too soon; it has just printed a few more lines well over an hour after the last one. Sorry for spamming the list. On Thu, Aug 29, 2013 at 4:59 PM, Nick Violi <nvioli@gmail.com> wrote:
Hi Tiago, Thanks (as always) for your prompt reply. I've recompiled Python as suggested and now graph-tool's seems hung on this part:
graph_closeness.cc:47: instantiated from here graph_closeness.hh:124: warning: unused parameter 'u' CXX graph_eigentrust.lo CXX graph_eigenvector.lo CXX graph_hits.lo CXX graph_katz.lo CXX graph_pagerank.lo
It just sits at that status seemingly indefinitely.
And while I'd love to be on a different OS, unfortunately it's out of my control...
Thanks, Nick
On Thu, Aug 29, 2013 at 10:27 AM, Tiago Peixoto [via Main discussion list for the graph-tool project] <ml-node+s982480n4025106h70@n3.nabble.com>wrote:
On 08/29/2013 04:20 PM, nvioli wrote:
Hello, I'm trying to install graph-tool on a CentOS 6.3 system. After spending a lot of time satisfying various dependencies, I finally got the configure script to run without error, only to receive a compile error during make.
Here's the end of make's output:
graph_closeness.cc:47: instantiated from here graph_closeness.hh:124: warning: unused parameter 'u' CXX graph_eigentrust.lo CXX graph_eigenvector.lo CXX graph_hits.lo CXX graph_katz.lo CXX graph_pagerank.lo CXX graph_trust_transitivity.lo CXXLD libgraph_tool_centrality.la /usr/bin/ld: /usr/local/lib/python2.7/config/libpython2.7.a(floatobject.o): relocation R_X86_64_32S against `PyFloat_Type' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/python2.7/config/libpython2.7.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[4]: *** [libgraph_tool_centrality.la] Error 1 make[4]: Leaving directory
`/home/nvioli/project_recommendations/graph-tool-2.2.24/src/graph/centrality'
make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/nvioli/project_recommendations/graph-tool-2.2.24/src/graph' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/nvioli/project_recommendations/graph-tool-2.2.24/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/nvioli/project_recommendations/graph-tool-2.2.24' make: *** [all] Error 2
I found a forum post on a similar error from a few years ago, which suggested upgrading the compiler. I'm using gcc 4.4.6, and just spent two days trying to upgrade to the latest 4.8 release, to no avail. Can anyone make another suggestion for how I might go about getting graph-tool installed? I looks like you have only compiled the static python libraries. You should compile python with "--enable-shared". This should fix this issue.
You would have a lot less headaches by using a more recent operating system. GCC 4.4 for instance is quite old by now. But installing everything by hand seems like an overkill. Most modern GNU/Linux distros will have everything you need...
Cheers, Tiago
-- Tiago de Paula Peixoto <[hidden email]<http://user/SendEmail.jtp?type=node&node=4025106&i=0>>
_______________________________________________ graph-tool mailing list [hidden email] <http://user/SendEmail.jtp?type=node&node=4025106&i=1> http://lists.skewed.de/mailman/listinfo/graph-tool
*signature.asc* (567 bytes) Download Attachment<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/attachment/4025106/0/signature.asc> -- Tiago de Paula Peixoto <tiago@skewed.de>
------------------------------ If you reply to this email, your message will be added to the discussion below:
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... To unsubscribe from Compile error, click here<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4025105&code=bnZpb2xpQGdtYWlsLmNvbXw0MDI1MTA1fC0xMDQwNzA0MzUy> . NAML<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
participants (2)
-
nvioli -
Tiago de Paula Peixoto