Package Details: wordnet-progs 3.1-10

Git Clone URL: https://aur.archlinux.org/wordnet.git (read-only, click to copy)
Package Base: wordnet
Description: An Electronic Lexical Database from Princeton University (CLI and GUI tools)
Upstream URL: https://wordnet.princeton.edu/
Licenses: LicenseRef-custom
Submitter: None
Maintainer: envolution
Last Packager: envolution
Votes: 116
Popularity: 0.000034
First Submitted: 2007-01-12 20:32 (UTC)
Last Updated: 2025-01-13 00:01 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

krvkir commented on 2025-01-07 22:19 (UTC)

Hello! Tried to install it on a fresh system and found a missing dependency on yacc. In my case installing byacc helped. Could you please add it into dependencies list?

envolution commented on 2025-01-06 21:31 (UTC) (edited on 2025-01-06 21:32 (UTC) by envolution)

@madalu: I cannot reproduce. Please provide the following:

$ /usr/bin/wn hello -over
$ tree /usr/share/wordnet -d
$ pacman -Qs wordnet
$ which wn

madalu commented on 2025-01-06 15:00 (UTC)

Calling wn from the command line (e.g., wn hello -over) results in the following error:

WordNet library error: Can't open datafile(/usr/share/wordnet/dict/data.noun)
WordNet library error: Can't open indexfile(/usr/share/wordnet/dict/index.noun)
WordNet library error: Can't open datafile(/usr/share/wordnet/dict/data.verb)
WordNet library error: Can't open indexfile(/usr/share/wordnet/dict/index.verb)
WordNet library error: Can't open datafile(/usr/share/wordnet/dict/data.adj)
WordNet library error: Can't open indexfile(/usr/share/wordnet/dict/index.adj)
WordNet library error: Can't open datafile(/usr/share/wordnet/dict/data.adv)
WordNet library error: Can't open indexfile(/usr/share/wordnet/dict/index.adv)
WordNet library warning: Can't open verb example sentence file(/usr/share/wordnet/dict/sents.vrb)
WordNet library warning: Can't open verb example sentence index file(/usr/share/wordnet/dict/sentidx.vrb)
wn: Fatal error - cannot open WordNet database

The PKGBUILD installs these files in /usr/share/wordnet/, but the program is looking for them in /usr/share/wordnet/dict/

envolution commented on 2024-12-04 03:41 (UTC)

@ap_qld you can safely remove wordnet-tk and wordnet-cli, they are now included in wordnet-common

ap_qld commented on 2024-12-04 03:17 (UTC)

@envolution Yes thank-you it is working now and Artha installs with working functionality.

Though you may(?) need to add 2 conflicts packages wordnet-tk and wordnet-cli, as I had to remove these (I only installed them to try to get Artha to work).

error: failed to commit transaction (conflicting files)
wordnet-common: /usr/bin/wishwn exists in filesystem (owned by wordnet-tk)
wordnet-common: /usr/bin/wn exists in filesystem (owned by wordnet-cli)
wordnet-common: /usr/bin/wnb exists in filesystem (owned by wordnet-tk)
wordnet-common: /usr/share/applications/wordnet.desktop exists in filesystem (owned by wordnet-tk)
wordnet-common: /usr/share/dictd/wn.dict.dz exists in filesystem (owned by dict-wn)
wordnet-common: /usr/share/dictd/wn.index exists in filesystem (owned by dict-wn)
wordnet-common: /usr/share/pixmaps/wordnet.png exists in filesystem (owned by wordnet-tk)

envolution commented on 2024-12-04 02:01 (UTC)

@ap_qld i didn't clean my environment, rel 8 should hopefully work for you now

ap_qld commented on 2024-12-04 01:44 (UTC)

New error: (included permission warnings(?))

==> Starting prepare()...
patching file autogen.sh
patching file config.h.in
patching file configure
patching file configure.ac
patching file contrib/Makefile.in
patching file contrib/wordnet_structures/Makefile.in
patching file dict/dbfiles/Makefile.in
patching file dict/Makefile.in
patching file doc/html/Makefile.in
patching file doc/Makefile.in
patching file doc/man/Makefile.in
patching file doc/pdf/Makefile.in
patching file doc/ps/Makefile.in
patching file include/Makefile.in
patching file lib/Makefile.in
patching file lib/wnres/Makefile.in
patching file Makefile.in
patching file src/grind/Makefile.in
patching file src/Makefile.in
patching file aclocal.m4
patching file src/Makefile.am
patching file contrib/wordnet_structures/wordnet_structures.py
patching file contrib/wordnet_structures/wordnet_structures.py
patching file contrib/wordnet_structures/Makefile.am
patching file contrib/wordnet_structures/Makefile.in
patching file doc/Makefile.in
File doc/man/wninput.5 is read-only; trying to patch anyway
patching file doc/man/wninput.5
patching file include/wn.h
patching file src/stubs.c
patching file src/wnb
File dict/dbfiles/verb.social is read-only; trying to patch anyway
patching file dict/dbfiles/verb.social
File dict/dbfiles/adj.all is read-only; trying to patch anyway
patching file dict/dbfiles/adj.all
File src/grind/create.c is read-only; trying to patch anyway
patching file src/grind/create.c
File src/grind/files.c is read-only; trying to patch anyway
patching file src/grind/files.c
File src/grind/grind.c is read-only; trying to patch anyway
patching file src/grind/grind.c
File src/grind/makedb.c is read-only; trying to patch anyway
patching file src/grind/makedb.c
File src/grind/resolve.c is read-only; trying to patch anyway
patching file src/grind/resolve.c
File src/grind/util.c is read-only; trying to patch anyway
patching file src/grind/util.c
File doc/man/binsrch.3 is read-only; trying to patch anyway
patching file doc/man/binsrch.3
File doc/man/lexnames.5 is read-only; trying to patch anyway
patching file doc/man/lexnames.5
File doc/man/morph.3 is read-only; trying to patch anyway
patching file doc/man/morph.3
File doc/man/wnsearch.3 is read-only; trying to patch anyway
patching file doc/man/wnsearch.3
File doc/man/wnutil.3 is read-only; trying to patch anyway
patching file doc/man/wnutil.3
File doc/man/wninput.5 is read-only; trying to patch anyway
patching file doc/man/wninput.5
File doc/man/wnsearch.3 is read-only; trying to patch anyway
patching file doc/man/wnsearch.3
File doc/man/wnutil.3 is read-only; trying to patch anyway
patching file doc/man/wnutil.3
File doc/man/grind.1 is read-only; trying to patch anyway
patching file doc/man/grind.1
File doc/man/lexnames.5 is read-only; trying to patch anyway
patching file doc/man/lexnames.5
patching file src/wn.c
File lib/binsrch.c is read-only; trying to patch anyway
patching file lib/binsrch.c
File lib/morph.c is read-only; trying to patch anyway
patching file lib/morph.c
File lib/search.c is read-only; trying to patch anyway
patching file lib/search.c
File lib/wnutil.c is read-only; trying to patch anyway
patching file lib/wnutil.c
patching file src/wn.c
File lib/search.c is read-only; trying to patch anyway
patching file lib/search.c
patching file src/grind/Makefile.in
patching file Makefile.in
File lib/binsrch.c is read-only; trying to patch anyway
patching file lib/binsrch.c
patching file src/wn.c
patching file contrib/wordnet_structures/Makefile.am
patching file contrib/wordnet_structures/Makefile.in
patching file contrib/wordnet_structures/wordnet_structures.py
File src/grind/grind.c is read-only; trying to patch anyway
patching file src/grind/grind.c
File src/grind/wnlex.l is read-only; trying to patch anyway
patching file src/grind/wnlex.l
patching file src/grind/wnparse.y
sed: can't read contrib/wordnet_structures/Makefile: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: wordnet-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
wordnet-common - exit status 4

envolution commented on 2024-12-04 01:20 (UTC) (edited on 2024-12-04 01:34 (UTC) by envolution)

@ap_qld found the problem, was caused by one of the debian patches - should be okay now

ap_qld commented on 2024-12-04 01:06 (UTC)

I am getting the following error clean-building wordnet-common:

if [ "dictzip" != "cat" ]; then \
    dictzip -n wn.dict; \
fi
dictzip: invalid option -- 'n'
dictzip 1.13.1
Copyright 1996-2002 Rickard E. Faith (faith@dict.org)
Copyright 2002-2007 Aleksey Cheusov (vle@gmx.net)

...
make[3]: *** [Makefile:375: wn.dict.dz] Error 1
make[3]: Leaving directory '/home/XXX/.cache/yay/wordnet/src/WordNet-3.0/contrib/wordnet_structures'

envolution commented on 2024-12-03 16:37 (UTC)

@rafelff thanks - updated