Franz Maria Tabei
when i tried to install gjiten-0.9-0 on SuSE7.3, it said:
error: failed dependencies: xjdic-data is needed by gjiten-0.9-0 xjdic-indices is needed by gjiten-0.9-0
but i already installed xjdic. can somebody help me, please?
Looks like you are not using the xjdic packages from SuSE Linux 7.3.
I SuSE Linux <= 7.2, there were no xjdic packages and I packed
the indices for gjiten into the gjiten package.
For SuSE Linux 7.3, I added xjdic. xjdic uses *exactly* the same
indices as gjiten and it would be wasteful to duplicate the
information in both packages. In order to make gjiten and xjdic
share the information, I did create three sub-packages for xjdic
xjdic.rpm xjdic binaries and documentation
xjdic-data.rpm xjdic data files which can be shared with gjiten
xjdic-indices.rpm indices for the dictionaries from edict.rpm
which can be shared with gjiten.
and I made both xjdic and gjiten require xjdic-data and xjdic-indices
so that both have access to the shared data.
I.e. if you use the new gjiten package together with xjdic.rpm,
xjdic-data.rpm, xjdic-indices.rpm, and edict.rpm from SuSE Linux 7.3,
it should work 'out of the box'.
For SuSE Linux > 7.3, I stopped packing pre-generated indices at all
into xjdic-indices. The newest xjdic-indices packages now contains
only a script "/sbin/conf.d/SuSEconfig.xjdic". For each EDICT
dictionary name in a list, SuSEconfig.xjdic will check if such a
dictionary is installed in /usr/share/edict and if the respective
index-file is missing or older than the dictionary file. If yes,
it will generate a new index file.
This has 2 advantages:
- saves about 6 MB in the xjdic-indices.rpm
(this is important, packages are always omitted from the
SuSE CDs due to lack of space)
- indices will be automatically regenerated if newer versions
of the EDICT dictionaries are installed.
I.e. after installing the new gjiten and xjdic packages,
you should run SuSEconfig (as always after installing rpms
on a SuSE system)[1]. The indices will then be generated.
I have also uploaded updated xjdic packages using this SuSEconfig
mechanism to
ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/xjdic-2.3-31.i386.rpm
ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/xjdic-data-2.3-31.i386.rpm
ftp://ftp.suse.com/pub/people/mfabian/7.3-i386/xjdic-indices-2.3-31.i386.rpm
ftp://ftp.suse.com/pub/people/mfabian/7.3-ppc/xjdic-2.3-18.ppc.rpm
ftp://ftp.suse.com/pub/people/mfabian/7.3-ppc/xjdic-data-2.3-18.ppc.rpm
ftp://ftp.suse.com/pub/people/mfabian/7.3-ppc/xjdic-indices-2.3-18.ppc.rpm
ftp://ftp.suse.com/pub/people/mfabian/7.3-src/xjdic-2.3-31.src.rpm
Footnotes:
[1] actually, it is enough to run 'SuSEconfig --module xjdic'.
You can run all SuSEconfig modules like that
'SuSEconfig --module fonts', 'SuSEconfig --module sendmail' etc.
Much faster than running the complete SuSEconfig if you know
that you only need a certain part.
--
Mike Fabian