This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: locatedb: No such file


Thanks for all your sympathy.  Special thanks to Kim-- her following tips did the trick.

	mkdir /usr/var
	Create the database of file names.  The script does not come with cygwin.  Edit for your path, etc.
	You may need to do specify a "usual" database named locatedb.  Otherwise the script just creates a database named @LOCATE_DB@ and may not put it in the directory you want it in!   something like:
		sh bin/updatedb.sh --output=/usr/var/locatedb
	shazam.
-- 
Dennis W. Bulgrien, Engineer            Mailto:dbulgrien@vcsd.com
VertexRSI, Controls and Structures      http://www.vcsd.com
1915 Harrison Road                      tel: 903 295 1480 x287
Longview, TX  75604-5438                fax: 903 295 1479

"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
> --
> Dennis W. Bulgrien, Engineer            Mailto:dbulgrien@vcsd.com
> VertexRSI, Controls and Structures      http://www.vcsd.com
> 1915 Harrison Road                      tel: 903 295 1480 x287
> Longview, TX  75604-5438                fax: 903 295 1479
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

updatedb.sh

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]