Hi,

Kirk Hilliard a écrit :

> You will need to add the desired database names to the database as
> definitions for 00-database-short-cs and 00-database-short-de.

I've fixed the dict-revo Debian package, so that:
 1) it doesn't generate useless symlinks, since dictdconfig now allows
multiple indexes for the same database
 2) add some 00-database-short-$LANGUAGE at the beginning of the
database. Here's the beginning of the database file revo.dict.dz:

=====
00-database-short-cs
  Reta Vortaro, cxehxa indekso
00-database-short-de
  Reta Vortaro, germana indekso
00-database-short-en
  Reta Vortaro, angla indekso
00-database-short-eo
  Reta Vortaro, esperanta indekso
00-database-short-es
  Reta Vortaro, hispana indekso
00-database-short-fr
  Reta Vortaro, franca indekso
00-database-short-la
  Reta Vortaro, latina indekso
00-database-short-ru
  Reta Vortaro, rusa indekso
00-database-short-tr
  Reta Vortaro, turka indekso
00-database-utf8

00-database-url
 http://purl.org/net/voko/revo/
00-database-short
 Reta Vortaro
00-database-info
 Dosiero estas kreita el la fontoj de la Reta Vortaro je Don Apr  7
21:22:00 CEST 2005
=====

When I install the package, the patched dictdconfig correctly add
entries in /var/lib/dictd/db.list, such as:

database revo.cs {
  data  /usr/share/dictd/revo.dict.dz
  index /usr/share/dictd/revo.cs.index
  name @00-database-short-cs
}

However, dictd fails to start, with the following error in the syslog
(when started with option -s):

Sep  7 23:48:22 crazy dictd[20150]: :I: 20150 starting dictd 1.9.15/rf
on Linux 2.6.11.11 Wed Sep  7 23:48:22 2005
Sep  7 23:48:22 crazy dictd[20150]: parse error

If I remove the "name @00..." lines from the db.list files, then dictd
starts correctly.

So, either it's a bug in dictd, or I incorrectly modified the .dict.dz file.

Any idea ?

(The work is still available at http://thomas.enix.org/pub/revo/).

Sincerly,

Thomas
-- 
PETAZZONI Thomas - [EMAIL PROTECTED]
http://thomas.enix.org - Jabber: [EMAIL PROTECTED]
KOS: http://kos.enix.org/ - SOS: http://sos.enix.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to