Hi Tiago, first of all I want to thank you for your kind assistance. Unfortunately I could not set up the environment and - despite our tentatives - I think that we would need a lot of time to solve the problem. I guess it is because I am not an expert, and it is a mess that I cannot use the tool... anyway, I used another solution to implement my code and now it is ok. I will keep following graph-tool project and I hope that in the future I will install and use graph-tool without going crazy. :) Cheers, DD 2011/3/29 Tiago Peixoto [via Main discussion list for the graph-tool project] <ml-node+2750303-1653022295-384487@n3.nabble.com>
Hi dd,
On 03/27/2011 11:09 PM, dd wrote:
3) now there is an interesting error. the following line of the file "configure" (the one generated by "autogen")
if test "$ac_supports_python_ver != "True";
does't work because my system sets the variable ac_supports_python_ver to
$'True\r' (I don't know why...)
What is exactly the error that the configure scripts outputs when this happens?
and so a possible workaround is to substitute the line with
if test $ac_supports_python_ver != $'True\r';
It is best not do modifiy the configure script like this, since the behaviour can be unpredictable... You should modify configure.ac instead, and run autogen.sh.
4) now I have the following error.
configure: error: Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, via the LDFLAGS environment variable. Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
============================================================================
ERROR! You probably have to install the development version of the Python package for your distribution. The exact name of this package varies among them.
============================================================================
In order to understand why errors like this happen, you should look at the file config.log, which will say exactly why the test program did not link with the python library.
There is no file "conftest" in my folder... could it be a problem for the following instruction?
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
I have no idea how the variables in the configure script are defined, and what they mean... The configure script is not meant to be understood by humans; it is automatically generated from configure.ac. Usually it is possible to debug things by looking at config.log and modifying configure.ac and/or the m4 macros.
Cheers, Tiago
-- Tiago de Paula Peixoto <[hidden email]<http://user/SendEmail.jtp?type=node&node=2750303&i=0&by-user=t>>
_______________________________________________ graph-tool mailing list [hidden email]<http://user/SendEmail.jtp?type=node&node=2750303&i=1&by-user=t> http://lists.skewed.de/mailman/listinfo/graph-tool
*signature.asc* (566 bytes) Download Attachment<http://attachment/2750303/0/signature.asc?by-user=t> -- 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 graph-tool installing and cygwin, click here<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2711252&code=ZG9uYXRlbGxhZmlybWFuaUBnbWFpbC5jb218MjcxMTI1MnwtMjYyMDc1MTY5>.
-- 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.