Pagina 1 di 1

Compilazione Mplayer da slackbuild

Inviato: mar 28 mar 2006, 11:58
da maxge
Stò cercando di compilare Mplayer da slackbuild presente nella sezione download, cosa che avevo fatto tempo fa per una versione precedente senza problemi.
Purtroppo questa volta ottengo un'errore, se qualcuno ha qualche idea in merito...
Il pacchetto viene creato ma non funziona, l'errore dovrebbe essere in questo punto:

/usr/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib
/glib/include -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -I/usr/X11/i
nclude -I/usr/include/ -o subopt-helper.o subopt-helper.c
make -C loader
make[1]: Entering directory `/tmp/MPlayer-1.0pre7try2/loader'
cc -I. -I.. -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O2 -march=i686
-mcpu=i686 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/inclu
de/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-U_FILE_OFFSET_BITS -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/gl
ib/include -I/usr/X11R6/include -fno-omit-frame-pointer -mno-omit-leaf-frame-po
inter -DMPLAYER -D__WINE__ -c ldt_keeper.c
ldt_keeper.c: In function `Setup_LDT_Keeper':
ldt_keeper.c:188: error: storage size of `array' isn't known
ldt_keeper.c:222: error: invalid application of `sizeof' to an incomplete type
make[1]: *** [ldt_keeper.o] Error 1
make[1]: Leaving directory `/tmp/MPlayer-1.0pre7try2/loader'
make: *** [loader/libloader.a] Error 2
make -C loader
make[1]: Entering directory `/tmp/MPlayer-1.0pre7try2/loader'
cc -I. -I.. -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O2 -march=i686
-mcpu=i686 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/inclu
de/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-U_FILE_OFFSET_BITS -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/gl
ib/include -I/usr/X11R6/include -fno-omit-frame-pointer -mno-omit-leaf-frame-po
inter -DMPLAYER -D__WINE__ -c ldt_keeper.c
ldt_keeper.c: In function `Setup_LDT_Keeper':
ldt_keeper.c:188: error: storage size of `array' isn't known
ldt_keeper.c:222: error: invalid application of `sizeof' to an incomplete type
make[1]: *** [ldt_keeper.o] Error 1
make[1]: Leaving directory `/tmp/MPlayer-1.0pre7try2/loader'
make: *** [loader/libloader.a] Error 2
find: /tmp/package-MPlayer/usr/man: No such file or directory
mv: impossibile spostare `/tmp/Blue' in `/tmp/package-MPlayer/usr/share/mplayer/
Skin/default': No such file or directory
mv: quando vengono spostati più file l'ultimo argomento deve essere una director
y
Usare `mv --help' per ulteriori informazioni.
chown: impossibile accedere a `/tmp/package-MPlayer/usr/bin': No such file or di
rectory
Usage: requiredbuilder <options> <package-dir>

where options are:
-v writes version controls

Slackware package maker, version 2.1.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n


Creating tar file MPlayer-1.0pre7try3-i686-max.tar...

Inviato: mar 28 mar 2006, 22:01
da whites11
Così a occhio sembrerebbe un problema di headers del kernel.
che kernel usi? hai i kernel installati?

Inviato: mer 29 mar 2006, 19:04
da maxge
Grazie, era proprio un problema di hedaer, proprio l'altro giorno avevo cambiato gli header per un problema di dvb, ho ripristinato quelli del 2.4 e tutto e andato a posto.