iputils manpages and docbook-sgml-utils dependency on gentoo

Can you man ping on gentoo ? If not it’s probably because of this: https://bugs.gentoo.org/show_bug.cgi?id=158660

I wanted to install iputils man pages:
# echo "net-misc/iputils doc" >> /etc/portage/package.use
# emerge -avt iputils
[ebuild R ] net-misc/iputils-20060512 USE="doc* -ipv6 -static" 0 kB
[ebuild N ] app-text/docbook-sgml-utils-0.6.14 USE="tetex" 123 kB
[ebuild N ] dev-perl/SGMLSpm-1.03-r5 92 kB

SGMLSpm installation went fine but docbook-sgml-utils-0.6.14 did not complete. Here is some of the last output-errors:
jade:/etc/sgml/sgml-docbook-4.3.cat:1:8:E: cannot open "/usr/share/sgml/docbook/sgml-dtd-4.3/catalog" (No such file or directory)
jade:/etc/sgml/sgml-docbook-4.3.cat:1:8:E: cannot open "/usr/share/sgml/docbook/sgml-dtd-4.3/catalog" (No such file or directory)
jade:/etc/sgml/sgml-docbook-4.3.cat:1:8:E: cannot open "/usr/share/sgml/docbook/sgml-dtd-4.3/catalog" (No such file or directory)
make[2]: *** [api.html] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [backend-spec.html] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14/work/docbook-utils-0.6.14/doc/HTML'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14/work/docbook-utils-0.6.14/doc'
make: *** [all-recursive] Error 1

I issued an eix sgml:

...snip...
[I] app-text/docbook-sgml-dtd
Available versions:
(3.0) 3.0-r3
(3.1) 3.1-r3
(4.0) 4.0-r3
(4.1) 4.1-r3
(4.2) 4.2-r2
(4.3) 4.3-r2
(4.4) 4.4
Installed versions: 3.0-r3(3.0)(17:06:32 09/19/06) 3.1-r3(3.1)(17:06:38 09/19/06) 4.0-r3(4.0)(17:06:16 09/19/06) 4.1-r3(4.1)(17:06:10 09/19/06) 4.4(4.4)(23:51:33 09/18/06)
Homepage: http://www.docbook.org/sgml/
Description: Docbook SGML DTD 4.4
...snip...
...snip...
* app-text/docbook-sgml-utils
Available versions: 0.6.14
Homepage: http://sources.redhat.com/docbook-tools/
Description: Shell scripts to manage DocBook documents
...snip...

I had no docbook-sgml-dtd 4.3 version installed, so what I did was:
# emerge -avt =app-text/docbook-sgml-dtd-4.3-r2

and then:
# emerge -avt iputils
[ebuild R ] net-misc/iputils-20060512 USE="doc* -ipv6 -static" 0 kB
[ebuild N ] app-text/docbook-sgml-utils-0.6.14 USE="tetex" 0 kB

I can now man ping 🙂

useless tip of the day – clockdiff

How much time difference does your box and another host on the net have ?

~# clockdiff www.gentoo-wiki.com
...................................................
host=www.gentoo-wiki.com rtt=215(0)ms/206ms delta=508000ms/508000ms Thu Jun 28 16:25:31 2007
~# clockdiff www.ntua.gr
..................................................
host=achilles.noc.ntua.gr rtt=54(1)ms/49ms delta=-77ms/-76ms Thu Jun 28 16:25:47 2007

clockdiff is inside iputils package (at least on gentoo) and can only by executed as root.

P.S. exams suck bigtime….

gnomad2 – usb_set_configuration: operation not permitted – fix

Gnomad2 is a GTK+ music manager and swiss army knife for the Creative Labs NOMAD and Zen range plus the Dell DJ devices using the Portable Digital Entertainment (PDE) protocol.

Creative does not support these devices under Microsoft Windows Vista, there are no vista compatible drivers for those devices “yet”…so the only hope for owners of Creative Zen devices who wish to use what they have bought under a recent operating system is to use them with Linux (or go back to Windows XP if they wish something not so current). That means that users using Vista cannot upload mp3s to Zen and cannot even charge the device. Unless you have working drivers the device charges very very slowly.

Installation in Linux is distro dependent and should not be a problem. Just find the gnomad/gnomad2 package on the package manager of your distro and install it. On gentoo/sabayon an emerge -avt gnomad should be enough.

For people that will face the “usb_set_configuration: operation not permitted” error on gnomad startup there is a simple fix. Add the following to a file named 99-gnomad.rules and save it under /etc/udev/rules.d/ (You MUST be root to do that).

SUBSYSTEM!="usb_device", ACTION!="add", GOTO="libnjb_rules_end"
# Creative Nomad Jukebox
SYSFS{idVendor}=="0471", SYSFS{idProduct}=="0222", GROUP="plugdev", MODE="0660"
# Creative Nomad Jukebox 2
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4100", GROUP="plugdev", MODE="0660"
# Creative Nomad Jukebox 3
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4101", GROUP="plugdev", MODE="0660"
# Creative Nomad Jukebox Zen
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4108", GROUP="plugdev", MODE="0660"
# Creative Nomad Jukebox Zen NX
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4109", GROUP="plugdev", MODE="0660"
# Creative Nomad Jukebox Zen USB 2.0
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="410b", GROUP="plugdev", MODE="0660"
# Creative Nomad Jukebox Zen Xtra
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4110", GROUP="plugdev", MODE="0660"
# Dell Digital Jukebox
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4111", GROUP="plugdev", MODE="0660"
# Creative Nomad Jukebox Zen Touch
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="411b", GROUP="plugdev", MODE="0660"
# Creative Zen (Zen Micro variant)
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="411d", GROUP="plugdev", MODE="0660"
# Creative Nomad Jukebox Zen Micro
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="411e", GROUP="plugdev", MODE="0660"
# Second Generation Dell Digital Jukebox
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4126", GROUP="plugdev", MODE="0660"
# Dell Pocket DJ
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4127", GROUP="plugdev", MODE="0660"
# Third Generation Dell Digital Jukebox
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="412F", GROUP="plugdev", MODE="0660"
# Creative Zen Sleek
SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4136", GROUP="plugdev", MODE="0660"
LABEL="libnjb_rules_end"

Then restart udev (or reboot your computer if you don’t know how to restart udev), start gnomad2 and your zen should work flawlessly under Linux.

If you still get errors check that your current user belongs to the group plugdev using the command: groups username . If plugdev does not appear add it using gpasswd:
gpasswd -a username plugdev
replacing username with your username on the box.

References: http://bugs.gentoo.org/show_bug.cgi?id=137728

Πρωτοσέλιδο η εκδήλωση της ILUG

Το πόσο επιτυχημένη ήταν η εκδήλωση της ILUG που έγινε στις 9 Ιουνίου δύσκολα περιγράφεται. Θα προσπαθήσω να γράψω ένα ξεχωριστό post γι αυτό στις επόμενες μέρες. Προς το παρόν ένα πρωτοσέλιδο απο μία εκ των 2 μεγαλύτερων τοπικών εφημερίδων:

ILUG στον Ηπειρωτικό Αγώνα

Και το άρθρο: “Το Linux είναι και… Γιαννιώτικο. Μια πολύ καλή ημερίδα από την ομάδα χρηστών linux Ιωαννίνων“.

Αναφορές της εκδήλωσης υπάρχουν και σε άλλες τοπικές εφημερίδες.

Best Spam Message on my blog

Just…enjoy 🙂

Best Spam message