delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/29/18:34:50

From: mh AT mike DOT franken DOT de (Michael Hirmke)
Subject: Re: B19.1: Bug- updatedb uses hardcoded path
29 May 1998 18:34:50 -0700 :
Message-ID: <6umr5LMKpfB.cygnus.gnu-win32@mike.franken.de>
References: <98May28.115039-0600_mdt.268070-27630+3 AT mail DOT telusplanet DOT net>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hi Mike,

>Hi-
>
>I've just upgraded to B19.1, and I've installed everything in an
>alternate directory.  When I run updatedb, I get the following error:
>
>sh.exe-2.01$ updatedb
>FIND: Parse Error 3

I'm quite sure, this isn't the Cygnus, but the Windows "find", which
gives this error.

>
>/PROG16/CYGNUS/B19/H-I386-CYGWIN32/BIN/updatedb:
>/cygnus/b19/var/locatedb.n: No such file or directory updatedb: new
>database would be empty

Because find did not find anything, you get an empty temporary locatedb.
This message also says, that you didn't specify the env vars for updatedb
and locate:
        LOCATE_DB=/foo/bar (for updatedb)
        LOCATE_PATH=/foo:/bar (for locate)

>
>I assume this is just a hardcoded path somewhere....

It is the standard path :)

>
>-Mike

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh AT mike DOT franken DOT de
                         | WWW     http://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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