Finally I found a workaround! :) Here it is my solution: 1) create a symlink in Windows to solve the "Program Files" problem with the space: from the win prompt: mklink /D "C:\ProgramFiles\" "C:\Program Files" 2) in the cygwin PATH environment variable, replace paths containing "/cygdrive/c/Program Files" with "/cygdrive/c/ProgramFiles" 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...) and so a possible workaround is to substitute the line with if test $ac_supports_python_ver != $'True\r'; 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. ============================================================================ 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' Thanks in advance. Cheers, DD 2011/3/24 Tiago Peixoto [via Main discussion list for the graph-tool project] <ml-node+2727657-1316533024-384487@n3.nabble.com>
On 03/24/2011 06:28 PM, dd wrote:
Hi Tiago,
from the cygwin shell I executed:
ln -s "/cygdrive/c/Program Files" /cygdrive/c/root
After this I replaced in the cygwin PATH variable all the occurences of "/cygdrive/c/Program Files" with "/cygdrive/c/root". I really cannot understand why the error keeps occurring... this is the same old output:
checking for python... /cygdrive/c/Program Files/Python27/python checking for a version of Python >= '2.1.0'... ./configure: line 16310: /cygdriv e/c/Program: No such file or directory no Are you sure you updated your environment, i.e. restarted the shell, and that the PATH is actually set? You should also remove the file config.cache, if it exists.
-- Tiago de Paula Peixoto <[hidden email]<http://user/SendEmail.jtp?type=node&node=2727657&i=0&by-user=t>>
_______________________________________________ graph-tool mailing list [hidden email]<http://user/SendEmail.jtp?type=node&node=2727657&i=1&by-user=t> http://lists.skewed.de/mailman/listinfo/graph-tool
*signature.asc* (566 bytes) Download Attachment<http://attachment/2727657/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.