Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Transcode e libavcodec
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message

Joined: 14 Sep 2006
Posts: 1269
Location: Verona

PostPosted: Mon Jun 04, 2007 10:41 pm    Post subject: [RISOLTO] Transcode e libavcodec Reply with quote

Summary for transcode 1.0.3:

core options
static AV-frame buffering      yes
network (sockets) streams      no
experimental xio               no
Default xvid export            xvid4
A52 default decoder            yes

headers                        -I/usr/include
statically linked              no

hardware support
v4l/v4l2                       no
OSS                            no
bktr                           no
sunau                          no

optional package support
IBP                            no
X11                            yes
libmpeg2                       yes
libpostproc                    no
freetype2                      yes
avifile                        no
lame                           yes
ogg                            yes
vorbis                         yes
theora                         yes
libdvdread                     yes
pvm3                           no
libdv                          yes
libquicktime                   yes
lzo                            yes
a52                            yes
libmpeg3                       yes
libxml2                        yes
mjpegtools                     yes
sdl                            yes
gtk                            yes
libfame                        no
imagemagick                    yes
libjpeg                        yes
bsdav                          no
iconv                          yes

ERROR: requirement failed: cannot link against libavcodec
libavcodec can be found in the following packages:

Please see the INSTALL file in the top directory of the
transcode sources for more information about building
transcode with this configure script.

!!! Please attach the following file when filing a report to
!!! /var/tmp/portage/media-video/transcode-1.0.3/work/transcode-1.0.3/config.log

!!! ERROR: media-video/transcode-1.0.3 failed.
Call stack:, line 1615:   Called dyn_compile, line 972:   Called qa_call 'src_compile', line 44:   Called src_compile
  transcode-1.0.3.ebuild, line 108:   Called econf '--with-default-xvid=xvid4' '--enable-a52'
'--enable-a52-default-decoder' '--enable-mmx' '--enable-sse' '--enable-sse2' '--disable-3dnow'
'--disable-altivec' '--disable-netstream' '--enable-freetype2' '--disable-v4l' '--enable-lame'
'--enable-ogg' '--enable-vorbis' '--enable-theora' '--enable-libdvdread' '--enable-libdv'
'--enable-libquicktime' '--enable-lzo' '--enable-iconv' '--enable-libmpeg3' '--enable-libxml2'
'--enable-mjpegtools' '--enable-sdl' '--enable-gtk' '--disable-libfame' '--enable-imagemagick'
'--enable-libjpeg' '--with-x' '--with-mod-path=/usr/lib/transcode' '--with-libpostproc-builddir=/usr/lib'
'--disable-avifile' '--disable-xio', line 578:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-video/transcode-1.0.3/temp/build.log'.

Questo è l'errore che ottengo, anche transcode 1.0.2 (attualmente installata) fallisce. Sono riuscito a compilare la versione 1.1.0, ma dvdrip esplicitamente non la vuole (nota, devo ricompilare transcode per eliminare la USE extrafilters).
Il file* è di ffmpeg; ho provato a compilarne almeno cinque versioni diverse, ma nessuna di queste riesce a far compilare transcode. Aiuti?
Portage (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.21-tommi07 i686)
System uname: 2.6.21-tommi07 i686 Genuine Intel(R) CPU           T2400  @ 1.83GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 04 Jun 2007 10:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.21
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -fforce-addr"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -fforce-addr"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
USE="X a52 aac aalib acpi alsa amr bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo caps cddb cdparanoia cdr cli cpudetection cracklib crypt cups dbus dri dts dv dvd dvdr dvdread dvi eds emacs emboss encode evo expat fam ffmpeg firefox flac foomaticdb fortran gcj gdbm gif gimpprint glitz gmp gnome gpm gs gstreamer gtk hal hddtemp hpn iconv imlib isdnlog java jpeg jpeg2k lame lcms libg++ libnotify lm_sensors mad matroska midi mikmod mjpeg mmap mmx mmxext mng mp3 mpeg musepack musicbrainz ncurses nls nptl nptlonly nsplugin nvidia offensive ogg openal opengl openmp pcre pdf perl pmu png ppds pppd python qt3support quicktime readline real reflection samba sdl sensord session slang smp sndfile spell spl sse sse2 ssl svg svga tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis win32codecs wma wxwindows x264 x86 xine xml xorg xosd xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nv nvidia"

Last edited by riverdragon on Tue Jun 05, 2007 11:01 pm; edited 1 time in total
Back to top
View user's profile Send private message

Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Tue Jun 05, 2007 6:26 am    Post subject: Reply with quote

potrebbe essere un problema delle LDFLAGS che utilizzi?
prova impostando in make.conf (o package.ldflags se utilizzi bashrc-ng) solamente

Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message

Joined: 14 Sep 2006
Posts: 1269
Location: Verona

PostPosted: Tue Jun 05, 2007 6:55 am    Post subject: Reply with quote

Non ho mai avuto problemi con queste ldflags, in passato transcode è stato compilato proprio con queste. Comunque provare non mi costa nulla.

EDIT: nessun cambiamento.

SECONDO EDIT: il problema stava nella USE x264 di ffmpeg, che "rovinava", rendendola illeggibile per il ./configure di transcode. Fortunatamente emerge.log lo segnalava, quindi è bastato riemergere ffmpeg "corretto" e tutto è ripartito.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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