delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/31/08:09:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Gerrit P. Haase" <gerrit DOT haase AT t-online DOT de>
Organization: Esse keine toten Tiere
To: Bob McGowan <rmcgowan AT veritas DOT com>, Neil Zanella <nzanella AT cs DOT mun DOT ca>,
"Dennis W. Bulgrien" <dbulgrien AT vcsd DOT com>, cygwin AT sources DOT redhat DOT com
Date: Sun, 31 Dec 2000 14:10:55 +0100
MIME-Version: 1.0
Subject: Re: locatedb: No such file
Reply-to: gerrit DOT haase AT t-online DOT de
Message-ID: <3A4F3E6F.24809.12BDA2B8@localhost>
In-reply-to: <39FDD708.B8A61D85@veritas.com>
X-PM-Encryptor: QDPGP, 4
X-mailer: Pegasus Mail for Win32 (v3.12cDE)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

<30 Oct 2000, 12:16 Uhr wars, als Bob McGowan folgendes schrub:>
< Re: locatedb: No such file >

> The issue may be more extensive than just having periodic updates made to the database.
[...]

It is the main problem, that in cygwin-standard version, there is no updatedb-script
included. This was the point, why i built it for myself, and it works great.

[...]
> But there are more issues.  The script defines two variables (BINDIR and LIBEXECDIR) using
> "values" which I believe should have been substituted for during configuration, but were
> not:  @bindir@ and @libexecdir@.  Without a location for libexecdir, it cannot find 3
> tools it needs:  'frcode', 'bigram' and 'code'.  Of these 3, I can only find the first two
> on my system.

Yes, but it is not a great problem, only a small fix, and it works.
I fixed this with a little patch. All the executables were always included, and are also 
in my version.

> I don't have time right now to look at this any further.  If you need this feature now,
> I'd suggest downloading the source and configuring and building it yourself.

I built it.

> And of course, it may be possible that an fixed version is already available and I just
> havn't updated recently enough to have it.

Yes, here, sources with build-instructions and patch (three files)
or as binary (findutils-4.1-1-cygwin.tar.gz), which installs in /usr!
ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Haase_Gerrit/1.1/
Read the README, please!!!

> As far as periodic invocation goes, it might be possible on NT to use a native periodic
> execution tool - see 'Control panel->Services->Schedule' and NT help for 'Schedule' and
> 'at'.  For systems that are shutdown after use, it may just have to be done from a startup
> script.

There is a cron port somewhere, don't know right now, where i found it, look out...

> Neil Zanella wrote:
> > 
> > Unfortunately it appears to me that cygwin does not come with the cron
> > deamon which is what usually updates the database overnight. On Red Hat
> > systems this is done by executing the script /etc/cron.daily/slocate.cron
> > which used to be called /etc/cron.dailt/updatedb.cron on older
> > distributions. All the script does is the following:
> > 
> > #!/bin/sh
> > 
> > /usr/bin/slocate -u -f "nfs,smbfs,ncpfs,proc,devpts" -e
> > "/tmp,/var/tmp,/usr/tmp,/afs,/net"
> > 
> > So perhaps we don't need cron but running it manually can be time
> > consuming.
> > 
> > Regards,
> > 
> > Neil
> > 
> > On Mon, 30 Oct 2000, Dennis W. Bulgrien wrote:
> > 
> > > Though I left cygwin prompt open all night, locate fails.  Is it supposed to work?
> > >
> > > $ locate dsp.bat
> > > locate: /usr/var/locatedb: No such file or directory


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 -- QDPGP 2.61c
Comment: =^..^=

iQA/AwUBOk8iUDBeUmEooFE3EQIfoQCfd08WDoigWRg67hNmkI0KaO9OWbEAnRaY
mHw9CMCuWY6gyy5lnEOqrT98
=id92
-----END PGP SIGNATURE-----
-- 
=^..^=
Gerrit Peter Haase
ID: 0x28A05137
FP: 875C 745E 01CF 8A34 2767  BE39 305E 5261 28A0 5137

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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