[Risolto] Come si abilita l'XShape extension?

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Alcatraz
Linux 1.x
Linux 1.x
Messaggi: 126
Iscritto il: ven 12 ott 2007, 12:28

[Risolto] Come si abilita l'XShape extension?

Messaggio da Alcatraz »

Ho cercato di installare MPlayer seguendo la guida su questo sito (anche se la parte tar -xvjpf all-xxxxxxxx.tar.bz2 /usr/local/lib/codecs è parecchio criptica e ho saltato il passaggio), ma mi ritrovo con un messaggio di errore

Codice: Seleziona tutto

Checking for XShape extension ... 
Error: The GUI requires the X11 extension XShape (which was not found).
Come si abilita XShape?

Ho letto qualcosa circa un modulo "extmod" che però non riesco a trovare.

Cosa potrei fare?
Ultima modifica di Alcatraz il gio 18 ott 2007, 15:56, modificato 1 volta in totale.

Alcatraz
Linux 1.x
Linux 1.x
Messaggi: 126
Iscritto il: ven 12 ott 2007, 12:28

Messaggio da Alcatraz »

Ho provato ad aggiungere la riga Load "extmod" all'xorg.conf ma non è stato sufficiente.

Vi riporto tutto ciò che succede

Codice: Seleziona tutto

# ./configure --enable-gui --enable-largefiles --disable-tv --enable-live --enable-xmms --language=it --enable-directfb
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.1.2, ok 
Checking for host cc ... cc 
Checking for cross compilation ... no 
Checking for CPU vendor ... GenuineIntel (6:14:8) 
Checking for CPU type ...  Genuine Intel(R) CPU           T2300  @ 1.66GHz 
Checking for kernel support of mmx ... yes 
Checking for kernel support of mmxext ... yes 
Checking for kernel support of sse ... yes 
Checking for kernel support of sse2 ... yes 
Checking for kernel support of cmov ... yes 
Checking for mtrr support ... yes 
Checking for GCC & CPU optimization abilities ... pentium-m 
Checking for assembler support of -pipe option ... yes 
Checking for compiler support of named assembler arguments ... yes 
Checking for assembler (/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/as ) ... ok 
Checking for .align is a power of two ... no 
Checking for Linux kernel version ... 2.6.23.1, ok 
Checking for -lposix ... no 
Checking for -lm ... yes 
Checking for langinfo ... yes 
Checking for language ... using it (man pages: en it ) 
Checking for enable sighandler ... yes 
Checking for runtime cpudetection ... no 
Checking for restrict keyword ... __restrict 
Checking for __builtin_expect ... yes 
Checking for kstat ... no 
Checking for posix4 ... no 
Checking for lrintf ... yes 
Checking for mkstemp ... yes 
Checking for nanosleep ... yes 
Checking for socklib ... yes 
Checking for inet_pton() ... yes (using )
Checking for network ... yes 
Checking for inttypes.h (required) ... yes 
Checking for int_fastXY_t in inttypes.h ... yes 
Checking for word size ... 32 
Checking for malloc.h ... yes 
Checking for memalign() ... yes 
Checking for alloca.h ... yes 
Checking for mman.h ... yes 
Checking for dynamic loader ... yes 
Checking for dynamic a/v plugins support ... no 
Checking for pthread ... yes (using -lpthread)
Checking for w32threads ... no (using pthread instead)
Checking for rpath ... no 
Checking for iconv ... yes 
Checking for soundcard.h ... yes (sys/soundcard.h)
Checking for sys/dvdio.h ... no 
Checking for sys/cdio.h ... no 
Checking for linux/cdrom.h ... yes 
Checking for dvd.h ... no 
Checking for termcap ... yes (using -lncurses)
Checking for termios ... yes (sys/termios.h)
Checking for shm ... yes 
Checking for strsep() ... yes 
Checking for vsscanf() ... yes 
Checking for swab() ... yes 
Checking for POSIX select() ... yes 
Checking for gettimeofday() ... yes 
Checking for glob() ... yes 
Checking for setenv() ... yes 
Checking for sys/sysinfo.h ... yes 
Checking for pkg-config ... yes 
Checking for Samba support (libsmbclient) ... yes 
Checking for tdfxfb ... no 
Checking for s3fb ... no 
Checking for tdfxvid ... no 
Checking for xvr100 ... no 
Checking for tga ... yes 
Checking for md5sum support ... yes 
Checking for bl ... no 
Checking for DirectFB ... /tmp/mplayer-conf-18051-10228.c:1:30: error: directfb_version.h: No such file or directory
no (failed to get version)
Checking for X11 headers presence ... yes (using /usr/X11/include)
Checking for X11 ... yes 
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes 
Checking for XvMC ... no 
Checking for Xinerama ... yes 
Checking for Xxf86vm ... yes 
Checking for XF86keysym ... yes 
Checking for DGA ... yes (using DGA 2.0)
Checking for 3dfx ... no 
Checking for OpenGL ... yes 
Checking for VIDIX ... yes (internal)
Checking for /dev/mga_vid ... no 
Checking for xmga ... no 
Checking for GGI ... no 
Checking for GGI extension: libggiwmh ... no 
Checking for AA ... yes 
Checking for CACA ... yes 
Checking for SVGAlib ... yes 
Checking for FBDev ... yes 
Checking for DVB ... no 
Checking for DVB HEAD ... yes 
Checking for zr ... no 
Checking for PNG support ... yes 
Checking for JPEG support ... yes 
Checking for PNM support ... yes 
Checking for GIF support ... yes 
Checking for broken giflib workaround ... disabled 
Checking for VESA support ... no 
Checking for SDL ... yes (using sdl-config)
Checking for NAS ... no 
Checking for DXR2 ... no 
Checking for DXR3/H+ ... no 
Checking for IVTV TV-Out ... no 
Checking for V4L2 MPEG Decoder ... no 
Checking for OSS Audio ... yes 
Checking for aRts ... yes 
Checking for EsounD ... yes 
Checking for esd_get_latency() ... yes 
Checking for Polyp ... no 
Checking for JACK ... no 
Checking for OpenAL ... no 
Checking for ALSA audio ... yes (using alsa 1.0.x and alsa/asoundlib.h)
Checking for Sun audio ... no 
Checking for VCD support ... yes 
Checking for dvdread ... yes (internal)
Checking for internal libdvdcss ... yes 
Checking for cdparanoia ... yes 
Checking for libcdio ... auto (using cdparanoia)
Checking for bitmap font support ... yes 
Checking for freetype >= 2.0.9 ... yes 
Checking for fontconfig ... yes 
Checking for SSA/ASS support ... yes 
Checking for fribidi with charsets ... yes 
Checking for ENCA ... no 
Checking for zlib ... yes 
Checking for RTC ... yes 
Checking for liblzo2 support ... yes 
Checking for mad support ... yes 
Checking for Twolame ... no 
Checking for Toolame ... no 
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... no 
Checking for OggTheora support ... yes 
Checking for internal mp3lib support ... yes 
Checking for internal liba52 support ... yes 
Checking for libdca support ... no 
Checking for internal libmpeg2 support ... yes 
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no 
Checking for FAAC (AAC encoder) support ... no (in libavcodec: ) 
Checking for FAAD2 (AAC) support ... yes (internal floating-point)
Checking for LADSPA plugin support ... no 
Checking for Win32 codecs ... yes (using /usr/lib/codecs)
Checking for XAnim codecs ... yes (using /usr/lib/codecs)
Checking for RealPlayer codecs ... yes (using /usr/lib/codecs)
Checking for QuickTime codecs ... yes 
Checking for Nemesi Streaming Media libraries ... no 
Checking for LIVE555 Streaming Media libraries ... yes (using )
Checking for FFmpeg libavutil ... yes (static)
Checking for FFmpeg libavcodec ... yes (static)
Checking for FFmpeg libavformat ... yes (static)
Checking for FFmpeg libpostproc ... yes (static)
Checking for libamr narrowband ... no 
Checking for libamr wideband ... no 
Checking for libdv-0.9.5+ ... no 
Checking for XviD ... yes 
Checking for XviD two pass plugin ... yes 
Checking for x264 ... no (in libavcodec: no) 
Checking for libnut ... no 
Checking for libmp3lame (for mencoder) ... no 
Checking for mencoder ... yes 
Checking for fastmemcpy ... yes 
Checking for UniquE RAR File Library ... yes 
Checking for TV interface ... no 
Checking for Video 4 Linux TV interface ... no 
Checking for Video 4 Linux 2 TV interface ... no 
Checking for TV teletext interface ... no 
Checking for Radio interface ... no 
Checking for Capture for Radio interface ... no 
Checking for Video 4 Linux 2 Radio interface ... no 
Checking for Video 4 Linux Radio interface ... no 
Checking for Video 4 Linux 2 MPEG PVR interface ... no 
Checking for audio select() ... yes 
Checking for ftp ... yes 
Checking for vstream client ... no 
Checking for byte order ... little-endian 
Checking for OSD menu ... no 
Checking for Subtitles sorting ... yes 
Checking for XMMS inputplugin support ... yes 
Checking for inet6 ... no 
Checking for gethostbyname2 ... no 
Checking for GUI ... yes
Checking for XShape extension ... 
Error: The GUI requires the X11 extension XShape (which was not found).

Check "configure.log" if you do not understand why it failed.



(Tra l'altro, Detected host architecture: i386 è normale? Non dovrebbe essere i686?)

Avatar utente
michele.p
Packager
Packager
Messaggi: 1276
Iscritto il: ven 24 nov 2006, 16:52
Nome Cognome: Michele Petrecca
Slackware: 13.37
Kernel: 2.6.37.6
Desktop: KDE
Distribuzione: ..Fedora e Mandriva
Località: Pontecorvo(FR)
Contatta:

Messaggio da michele.p »

...al file xorg.conf che trovi in /etc/X11 prova ad aggiungere;
Load "extmod"
nella sezione;
Section "Module"
Per capirci la sezione è questa;
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
alle voci presenti prova ad aggiungere quanto ti ho indicato.

P.S.:Fai una copia di backup del file xorg.conf PRIMA di fare la modifica così se l'aggiunta dovesse darti dei problei puoi sempre ripristinare il file o attraverso la copia di backup oppure sul file modificato attraverso la modalità "consolle" (init 3 per intenderci).

...fai sapere il risultato....

Bye

Alcatraz
Linux 1.x
Linux 1.x
Messaggi: 126
Iscritto il: ven 12 ott 2007, 12:28

Messaggio da Alcatraz »

michele.p ha scritto:...al file xorg.conf che trovi in /etc/X11 prova ad aggiungere;
Load "extmod"
Alcatraz ha scritto:Ho provato ad aggiungere la riga Load "extmod" all'xorg.conf ma non è stato sufficiente.
Per capirci questo è il mio xorg.conf ora:

Codice: Seleziona tutto

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  	# Double buffer extension
    Load	"extmod"

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
    Load        "freetype"
    #Load        "speedo"

# This loads the GLX module
    Load       "glx"

EndSection
Ma non compila :(

Alcatraz
Linux 1.x
Linux 1.x
Messaggi: 126
Iscritto il: ven 12 ott 2007, 12:28

Messaggio da Alcatraz »

Come non detto, ho reinstallato i driver proprietari nvidia al posto degli nv e ora funziona!

Grazie mille, problema risolto! :cheers:

Rispondi