Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No me compila mjpegtools ni ffmpeg (salvo con USE=-sdl)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
kabutor
l33t
l33t


Joined: 12 Dec 2002
Posts: 821
Location: Benalmadena - Melrose Place

PostPosted: Thu Aug 21, 2003 10:53 pm    Post subject: No me compila mjpegtools ni ffmpeg (salvo con USE=-sdl) Reply with quote

Pues eso, estoy tratando de compilar el transcode y se me paró en el ffmpeg, que me daba unos errores de compilación, rastreando los foros, resulta que si no tienes las Xwindows, y lo compilas con el use=+sdl te casca, asi es q lo quité hasta que llegó al fallo del mjpegtools.

He probado con otras versiones de la carpeta /usr/portage/mjpegtools (con todas) y probando tambien con otras versiones del avilib y nada me funciona siempre me da error.

he rebuscado en los bugs de gentoo, y parece que hay algunos problemas de compilacion en maquinas sin las X, he probado con USE=-quicktime, que también lo he leido por los foros y ya no se q hacer.

Este el error del mjpegtools
Code:

make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavformat'
gcc -mcpu=pentium4 -O3 -pipe -Wall -g -I. -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24 -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavcodec -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ffmpeg.o ffmpeg.c
gcc -mcpu=pentium4 -O3 -pipe -Wall -g -I. -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24 -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavcodec -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o cmdutils.o cmdutils.c
gcc -Wl,--warn-common -rdynamic -g  -o ffmpeg_g ffmpeg.o cmdutils.o -L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz -ldl -logg -lvorbis -lvorbisenc
cp -p ffmpeg_g ffmpeg
strip ffmpeg
gcc -mcpu=pentium4 -O3 -pipe -Wall -g -I. -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24 -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavcodec -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ffserver.o ffserver.c
gcc -Wl,--warn-common -rdynamic -g  -Wl,-E -o ffserver ffserver.o -L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz -ldl -logg -lvorbis -lvorbisenc
gcc -mcpu=pentium4 -O3 -pipe -Wall -g -I. -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24 -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavcodec -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -I/usr/include/SDL -D_REENTRANT -c -o ffplay.o ffplay.c
gcc -Wl,--warn-common -rdynamic -g  -o ffplay_g ffplay.o cmdutils.o -L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz -ldl -logg -lvorbis -lvorbisenc -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
ffplay.o(.text+0x5b6): In function `main':
/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/ffplay.c:1388: undefined reference to `XOpenDisplay'
ffplay.o(.text+0x5e8):/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/ffplay.c:1392: undefined reference to `XCloseDisplay'
collect2: ld returned 1 exit status
make: *** [ffplay_g] Error 1

!!! ERROR: media-video/ffmpeg-0.4.7_pre20030624 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! make failed.


Este es el out del ffmpeg (q lo tengo compilado con el -sdl pero en fin)

Code:
gcc -mcpu=pentium4 -O3 -pipe -Wall -g -I. -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24 -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavcodec -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o cmdutils.o cmdutils.c
gcc -Wl,--warn-common -rdynamic -g  -o ffmpeg_g ffmpeg.o cmdutils.o -L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz -ldl -logg -lvorbis -lvorbisenc
cp -p ffmpeg_g ffmpeg
strip ffmpeg
gcc -mcpu=pentium4 -O3 -pipe -Wall -g -I. -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24 -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavcodec -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ffserver.o ffserver.c
gcc -Wl,--warn-common -rdynamic -g  -Wl,-E -o ffserver ffserver.o -L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz -ldl -logg -lvorbis -lvorbisenc
gcc -mcpu=pentium4 -O3 -pipe -Wall -g -I. -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24 -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavcodec -I/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -I/usr/include/SDL -D_REENTRANT -c -o ffplay.o ffplay.c
gcc -Wl,--warn-common -rdynamic -g  -o ffplay_g ffplay.o cmdutils.o -L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz -ldl -logg -lvorbis -lvorbisenc -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
ffplay.o(.text+0x5b6): In function `main':
/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/ffplay.c:1388: undefined reference to `XOpenDisplay'
ffplay.o(.text+0x5e8):/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/ffplay.c:1392: undefined reference to `XCloseDisplay'
collect2: ld returned 1 exit status
make: *** [ffplay_g] Error 1

!!! ERROR: media-video/ffmpeg-0.4.7_pre20030624 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! make failed.
Back to top
View user's profile Send private message
DigiGato
n00b
n00b


Joined: 26 Aug 2003
Posts: 6

PostPosted: Wed Aug 27, 2003 1:35 pm    Post subject: Reply with quote

:D
Que onda?

Al parecer lo que podrias hacer es tomar las librerias de devel y las estandar de XFree86 e instalarlas (aunque no pongas el daemon) y reconstruir tu index de las librerias activas de esa manera yo creo que podras compilar tu programa sin problemas.

Espeor te haya sido de ayuda
Salu2
_________________
H3@r th33 |\/|30w Fr0|\/| D1g1G@t0
Back to top
View user's profile Send private message
kabutor
l33t
l33t


Joined: 12 Dec 2002
Posts: 821
Location: Benalmadena - Melrose Place

PostPosted: Wed Aug 27, 2003 11:07 pm    Post subject: Reply with quote

Osti tu, pues no me he enterado de nada, aunque se agradece la ayuda.

De todas formas los solucione compilando la version inestable 1.6.1 haciendo el configure a mano (como pone en el faq gentoo) e incluyendo --without-x (q no se pq no lo pone el ebuild) y me funciono bien :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum