From: mh AT mike DOT franken DOT de (Michael Hirmke) Subject: Re: B20: updatedb script references nonexistent utility, frcode. 10 Jan 1999 04:21:56 -0800 Message-ID: <78WsCvB4pfB.cygnus.gnu-win32@mike.franken.de> References: <61AC5C9A4B9CD11181A200805F57CD54058DD78E AT RED-MSG-44> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com Hi Eric, >I'm running Beta 20.1 under NT 4/sp3. > >Updatedb references the utility frcode when building the locate database. >This utility does not appear to be part of the Binary distribution of B20.1. > frcode can be found in the libexec dir: /cygwin-b20/H-i586-cygwin32/libexec Below is a start script for updatedb, which works perfectly here: ------------------------< snip snip snip >----------------------------- #!/bin/sh exec 2>/var/log/doupdatedb.log set -x # CYGNUS main directory : ${CYGROOT="//c/usr/cygwin-b20/H-i586-cygwin32"} # Non-network directories to put in the database. : ${SEARCHPATHS="//c //d //e"} export SEARCHPATHS # Network (NFS, AFS, RFS, etc.) directories to put in the database. : ${NETPATHS=} export NETPATHS # Directories to not put in the database, which would otherwise be. : ${PRUNEPATHS="//c/tmp //c/temp //e/tmp //e/temp //d/var/log //d/var/run //e/var/log //e/var/run"} export PRUNEPATHS # The database file to build. : ${LOCATE_PATH=/var/lib/locatedb} : ${LOCATE_DB=$LOCATE_PATH} export LOCATE_DB # The user to search network directories as. : ${NETUSER=} export NETUSER # The directory containing the subprograms. : ${LIBEXECDIR=$CYGROOT/libexec} export LIBEXECDIR # Path PATH="$LIBEXECDIR:$BINDIR:$PATH" export PATH # GO ! updatedb & ------------------------< snip snip snip >----------------------------- 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://aquarius.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".