headermask image

header image

Problema nella compilazione della Bash 3.2

Ieri compilavo la bash 3.2 su una Sparc Station 10, equipaggiata di NetBSD.

I sorgenti sono gli ultimi scaricati dal sito ufficiale, e più precisamente bash-3.2.tar.gz ( ftp://ftp.cwru.edu/pub/bash/bash-3.2.tar.gz )

Scompattata in /root/bash-3.2 lancio ./configure senza problemi, lancio make, nessun problema.

Da root, lancio make install. L’output, tolte le parti non interessanti, è stato questo:

# make install

***********************************************************
* *
* GNU bash, version 3.2.0(1)-release (sparc-unknown-netbsdelf4.0)
* *
***********************************************************

( cd ./po/ ; make DESTDIR= installdirs )
/bin/sh /root/bash-3.2/./support/mkinstalldirs /usr/local/share
if test “bash” = “gettext-tools”; then /bin/sh /root/bash-3.2/./support/mkinstalldirs /usr/local/share/gettext/po; else : ; fi
( ….other output…. )

rm -f ru.gmo && /usr/bin/msgfmt -c –statistics -o ru.gmo ru.po
ru.po:21:9: invalid multibyte sequence
ru.po:21:10: invalid multibyte sequence
ru.po:21:11: invalid multibyte sequence
ru.po:21:12: invalid multibyte sequence
ru.po:21:13: invalid multibyte sequence
ru.po:21:14: invalid multibyte sequence
ru.po:21:15: invalid multibyte sequence
ru.po:21:16: invalid multibyte sequence
ru.po:21:17: invalid multibyte sequence
ru.po:21:18: invalid multibyte sequence
ru.po:21:19: invalid multibyte sequence
ru.po:21:20: invalid multibyte sequence
ru.po:21:22: invalid multibyte sequence
ru.po:21:23: invalid multibyte sequence
ru.po:21:24: invalid multibyte sequence
ru.po:21:25: invalid multibyte sequence
ru.po:21:26: invalid multibyte sequence
ru.po:21:27: invalid multibyte sequence
ru.po:21:29: invalid multibyte sequence
ru.po:21:30: invalid multibyte sequence
/usr/bin/msgfmt: too many errors, aborting
*** Error code 1

Stop.
make: stopped in /root/bash-3.2/po
*** Error code 1

Stop.
make: stopped in /root/bash-3.2/po
*** Error code 1 (ignored)
#

URGH.

Dopo qualche ricerca, scopro che è un bug conosciuto ed esiste una patch, all’indirizzo http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-002

Si tratta di un errore di settaggio della decodifica di un file in lingua russa, ru.po

Come indica la patch, basta modificare nel file bash-3.2/po/ru.po

“Content-Type: text/plain; charset=UTF-8\n”

In

“Content-Type: text/plain; charset=KOI8-R\n”

Rilanciato make install, tutto è tornato alla normalità e la bash ora rulla contenta sulla sparc station 10.

Lorenz ha beccato

Quel ragazzo continua a darmi soddisfazioni. E pensare che prima di conoscermi era astemio e un bravo ragazzo.

E guardatelo adesso! Ubriaco e con la lingua in bocca ad una straniera…. chissà da chi avrò preso, eh?

Hustle and Flow

DJay: See… man ain’t like a dog. And when I say “man,” I’m talking about man as in mankind, not man as in men.

Because men, well, we a lot like a dog.

You know, we like to piss on things. Sniff a bitch when we can. Even get a little pink hard-on the way they do. We territorial as shit, you know, we gonna protect our own.

But man, he know about death. Got him a sense of history. Got religion.

See… a dog, man, a dog don’t know shit about no birthdays or Christmas or Easter bunny, none of that shit. And one day God gonna come calling, so you know, they going through life carefree. But people like you and me, man, we always guessing.

Wondering, “What if?” You know what I mean?

So when you say to me, “Hey, I don’t think we should be doing this,” I gotta say, baby, I don’t think we should be doing this neither, but we ain’t gonna get no move on in this world, lying around in the sun, licking our ass all day. I mean, we man. I mean, you a woman and all, but we man.

So with this said, you tell me what it is you wanna do with your life.

Musica e forma mentis

Credo di essere “musicosensibile”. Basta una bella canzone per tirarmi su pesantemente il morale.

Non è male!

Viva la e po bon!” ( Pilat )

bt878 4 channels video card

E’ da un po che cercavo di far funzionare questa scheda di acquisizione video per videosorveglianza. Acquistata a poco su ebay, è arrivata fornita di un bellissimo cd masterizzato contenente un software per Windows, che è stato prontamente cestinato.

Su Linux Fedora Core 8, ecco come si presenta:

[root@falcone ~]# lspci
….
00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
….

mentre un dmesg mi segna:

[root@falcone ~]# dmesg | grep bttv
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:00:0b.0, irq: 10, latency: 32, mmio: 0xf3000000
bttv0: using:  *** UNKNOWN/GENERIC ***  [card=0,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00f360ff [init]
bttv0: tuner type unset
bttv0: i2c: checking for MSP34xx @ 0×80… not found
bttv0: i2c: checking for TDA9875 @ 0xb0… not found
bttv0: i2c: checking for TDA7432 @ 0x8a… not found
bttv0: registered device video0
bttv0: registered device vbi0

Ora, facendo partire Xawtv l’immagine era confusa, blurry, double, moving, black & white, insomma un casino.

Dopo varie prove, ho trovato quale scheda impostare via modprobe per far andare il tutto:

rmmod bttv

rmmod bt878

modprobe bttv card=77

Ora va alla grande. A colori, e tutto il resto. l’audio per ora non mi interessa. Adesso devo installare Zoneminder per fare videosorveglianza!

Altre info sul forum di zoneminder dove ho trovato la soluzione:  http://www.zoneminder.com/forums/viewtopic.php?p=35625

Prodotti di esportazione

[23:51:1]  _ dice:
le romagnole ti garantisco….son arrabite
[23:51:19] NiKo@Trieste – www.nikola.it – www.wafna.it dice:
:D :D:D:D
[23:51:50] _ dice:
eh si
[23:52:15] _ dice:
il pompino di una romagnola è una specialità apprezzata in tutto il mondo
[23:52:17] _ dice:
:D
[23:52:22] NiKo@Trieste – www.nikola.it – www.wafna.it dice:
:D :D:D
[23:52:26] NiKo@Trieste – www.nikola.it – www.wafna.it dice:
viene ESPORTATO
[23:52:48] _ dice:
o IMPORTATO in GOLA

Non vi dico con chi chattavo. Ma è uno che ha a che fare con il VOIP….:-P

La mia religione

…la mia religione crede nei Night Club….

un saluto alla Lù che è sperduta in giro per Dublino.

Corso di inglese

Veloce corso di inglese, tutto da ripetere ad alta voce.

Ci sono Tre Moduli:

1) Modulo principianti:
Tre Streghe guardano tre orologi Swatch. Quale strega guarda quale Orologio Swatch?
In inglese: Three witches watch three Swatch watches. Which Witch watch which Swatch Watch?

2) Modulo avanzato:
Tre streghe “trans” guardano I cinturini di tre orologi Swatch. Quale strega trans guarda i cinturini di quale orologio Swatch?
In inglese: Three switched Witches watch three Swatch watch switches. Which switched Witch watch Which Swatch watch switch?

3) Modulo per masters:
Tre Streghe svedesi transessuali guardano I cinturini di tre orologi Swatch svizzeri. Quale strega svedese transessuale guarda quale Cinturino di quale orologio Swatch svizzero?
In inglese: Three Swedish switched witches watch three Swiss Swatch watch switches. Which Swedish switched witch watch which Swiss Swatch watch switch?

Troppo power….

Quando i graffiti diventano 2.0

http://graffitiresearchlab.com/

Google per il risparmio energetico

http://www.nerooogle.com