This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: test -f //dot


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

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]