You are not logged in.

#1 2008-12-19 15:13:57

cinan
Member
From: Slovakia
Registered: 2008-07-04
Posts: 251
Website

What package do I need?

hi. I discovered wumwum (http://wumwum.sourceforge.net/). When I start the launcher there is this error:

BEGIN failed--compilation aborted at ./wumwum.pl line 21.

The 21st line is use X11::Keyboard;
I don't know what package I need to install.

Thanks

Last edited by cinan (2008-12-19 16:56:29)

Offline

#2 2008-12-19 15:29:59

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: What package do I need?

Could be in perl-x11-protocol.

Offline

#3 2008-12-19 15:43:45

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: What package do I need?

Reading is always good:

wumwum FAQ wrote:

Do I need to install something ?
yes. you need wmctrl, xprop, xwininfo and osd_cat. Additionally you need the perl modules X11::Protocol and X11::Keyboard.

Arch perl packages are named perl-module-name - i.e. all in lower case, and with a '-' instead of any '::' - hence Procyon's correct suggestion. You will need to create your own perl-x11-keyboard package - use any official perl package as a template. You can also read the Perl Policy wiki page, although it is currently in need of updating.

Offline

#4 2008-12-19 16:54:01

cinan
Member
From: Slovakia
Registered: 2008-07-04
Posts: 251
Website

Re: What package do I need?

tomk: Thanks. I downloaded archive from search.cpan.org/dist/X11-Keyboard and it works! smile And wumwum also works.

edit:
oh no, other error:

Protocol error: bad 10 (Access); Sequence Number 17
 Opcode (33, 0) = GrabKey
 at ./wumwum.pl line 71
for (;;) {
    while ($fds->can_read(0)) {
            $x->handle_input; //line 71
    }
}

Last edited by cinan (2008-12-19 16:58:36)

Offline

Board footer

Powered by FluxBB