Compiz-Fusion e pacchetti Java Ottobre 30, 2007
Posted by relocate in Informatica, Linux.Tags: compiz, compiz-fusion, error, gentoo, Informatica, java, xcb, xlib
trackback
Buon giorno! Dopo aver installato Compiz-Fusion (http://www.compiz-fusion.org/), ho notato la nascita di problemi con l’esecuzione di file java:
synthesis@localhost ~/Desktop $ java -jar Mio_File.jar
java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock’ failed.
Aborted
synthesis@localhost ~/Desktop $
Uso Java 1.5 che non mi ha mai dato problemi:
synthesis@localhost ~ $ java-config -L
The following VMs are available for generation-2:
*) Sun JDK 1.5.0.13 [sun-jdk-1.5]
2) Sun JDK 1.6.0.03 [sun-jdk-1.6]
synthesis@localhost ~ $
Girando un po’ per i forum ho trovato la soluzione:
Ho aggiunto la flag -DNDEBUG alla variabile CFLAGS del mio /etc/make.conf, che è diventato in questo modo:
CFLAGS=”-march=prescott -O2 -pipe -fomit-frame-pointer -DNDEBUG”
Per concludere ho ricompilato le due librerie necessarie (libx11 con flag xcb attiva per non creare problemi con compiz-fusion):
# emerge -av libxcb
# emerge -av libX11
e ho riportato il make.conf alla configurazione iniziale.
Bye
Commenti»
No comments yet — be the first.