test -f //dot

Eric Blake eblake@redhat.com
Fri Jul 13 14:54:00 GMT 2012


On 07/13/2012 05:39 AM, Paul Keir wrote:
> Hi,
> 
> While running configure on llvm I get a hang on:
> 
> ...
> checking for Graphviz... echo Graphviz
> checking for dot...
> 
> The configure script has a line starting:
> if { test -f "$as_dir/$ac_word$ac_exec_ext" && ...
> 
> The problem occurs when $as_dir is /
> 
> test -f //dot
> 
> ...also hangs (at least 15 mins.). I tested it on Linux and another
> cygwin machine, and test returns promptly there.
> 
> (I *had* introduced / to the PATH by adding cygwin's install dir to my
> Windows PATH; to ease access to cygwin.bat.)

Try adding '///' instead of '/' to PATH, to avoid any other program
attempting a path lookup in // by accident.  That will at least speed up
your lookup time.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120713/69b3c529/attachment.sig>


More information about the Cygwin mailing list