delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/04/12:08:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Ross Presser <rpresser AT imtek DOT com>
Subject: Re: Possible problem with ctags
Date: Wed, 4 Jun 2003 15:03:43 +0000 (UTC)
Lines: 43
Message-ID: <Xns939070ED74069pt101594@80.91.224.249>
References: <16072 DOT 19047 DOT 756000 DOT 703547 AT gargle DOT gargle DOT HOWL>
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Xnews/5.04.25

[posted and mailed to Simon Liddington <simon DOT liddington AT tait DOT co DOT nz>]

Robert Mecklenburg <mecklen AT cimsoft DOT com> wrote in 
news:16072 DOT 19047 DOT 756000 DOT 703547 AT gargle DOT gargle DOT HOWL:


> I'm getting a strange error when I run ctags:
> 
>   5 osaka:cimsoft$ /bin/ctags -e --recurse> 
>  ctags: cannot open temporary file : No such file or directo> ry
>  [Exi> t 1]
>
> If I run this under strace I get:

[snip]

> My conclusion: Maybe the most recent release of ctags has a
> compiled-in default directory of .../liddins/... and that this
> directory is used if the TMPDIR environment variable is otherwise
> undefined.
> 
> Comments?

I can confirm this discovery.  In fact, that is why I just started up 
news, to report the problem.  It is present with this version:

Exuberant Ctags 5.5, Copyright (C) 1996-2003 Darren Hiebert
  Compiled: Apr 14 2003, 10:16:41
  Addresses: <dhiebert AT users DOT sourceforge DOT net>,
      http://ctags.sourceforge.net
  Optional compiled features: +wildcards, +regex, +internal-sort

(By the way, although this version announces itself as 5.5, it is really 
5.5.3 according to /setup.exe.)

The full compiled-in directory it is trying to use, as found by both 
FileMon and strings, is:

/mnt/c/DOCUME~1/liddins/LOCALS~1/Temp

The obvious workaround is "export TMPDIR=$TMP"




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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