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]
<[hidden email]>
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.
View this message in context: Re: graph-tool installing and cygwin
Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.