delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/13/10:54:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-10.2 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,TW_LV,TW_PH,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <5000367E.7030502@redhat.com>
Date: Fri, 13 Jul 2012 08:53:50 -0600
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: test -f //dot
References: <500008DB DOT 9030604 AT codeplay DOT com>
In-Reply-To: <500008DB.9030604@codeplay.com>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------enigEFAC4DB051828F42A53F2DB1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 07/13/2012 05:39 AM, Paul Keir wrote:
> Hi,
>=20
> While running configure on llvm I get a hang on:
>=20
> ...
> checking for Graphviz... echo Graphviz
> checking for dot...
>=20
> The configure script has a line starting:
> if { test -f "$as_dir/$ac_word$ac_exec_ext" && ...
>=20
> The problem occurs when $as_dir is /
>=20
> test -f //dot
>=20
> ...also hangs (at least 15 mins.). I tested it on Linux and another
> cygwin machine, and test returns promptly there.
>=20
> (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.

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


--------------enigEFAC4DB051828F42A53F2DB1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJQADZ+AAoJEKeha0olJ0Nq2xsH/A+SIAEAIByqkkg0wUNcflZ/
9iZi0r+pzFNkC1U89Vlh0aKtAz0uLVeINUSEOOSfUdNvYu7lTO1OGjVgTQj3DuCF
Qh3k5K0Wzdi13Bc6Kr/K2izBucrMLXlYxQnKvaKdBrdJ9QG1cVbcaVO9yOzgqj4L
kAjvLXq4grawg3DEUlfEd4GWsD/u2POuXWtJ34KCzZ+UnVn/MAlcR/9ajqeJNDQ6
Mwhhkp+F/1UjWWF4c6s+0vnVeHg81uGywqID3Rz489u89nZyGhhJ0D6fIHn1oobr
+AVp6iZGles+4eJEIh+G6XnSF6hev9/GBcGXA+SFGDihvlL4BE48Kr1ajhqKZMI=
=7OH2
-----END PGP SIGNATURE-----

--------------enigEFAC4DB051828F42A53F2DB1--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019