Re: slocate 3.1 not working?

Paul Guyot <[email protected]>
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
Le 3 août 06 à 02:11, Artemio Gonzalez Lopez a écrit :

> After upgrading slocate to the latest version (3.1), it stopped  
> working altogether, giving invariably the following error message:
>
> slocate: fatal error: set_path_head: path_head len <= 0: 0
>
> I've googled the error and it seems related to the upgrade 2.7 ->  
> 3.1, not to DP, but I haven't been able to find a fix or workaround  
> online.
> Does anybody have any idea what may be going on?

The first google result shows that running updatedb fixes the  
problem. I guess that the database format changed.
This explains why I didn't encounter the problem myself.

Sorry for the inconvenience. It looks like that slocate 3.1 has been  
entirely rewritten, for the better and the worse (for example, the  
code now doesn't consider it can be installed at a non ordinary path  
and I had to bundle the port with patches to fix it up).

Paul
-- 
Ministre ultraplénipotentiaire en disponibilité.
Mobile. Sans baignoire fixe.
http://www.kallisys.com/
http://www-poleia.lip6.fr/~guyot/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.