Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't emerge libdlna
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
darkscreamer
Tux's lil' helper
Tux's lil' helper


Joined: 14 Oct 2006
Posts: 134
Location: The Pirate State of Napoli

PostPosted: Sun Mar 29, 2009 11:33 pm    Post subject: Can't emerge libdlna Reply with quote

I need libdlna as a dependency in order tu run ushare, but emerging fails and reports this:

Code:
>>> Emerging (1 of 2) media-libs/libdlna-0.2.3 from sunrise
 * libdlna-0.2.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking libdlna-0.2.3.tar.bz2 to /var/tmp/portage/media-libs/libdlna-0.2.3/work
>>> Source unpacked in /var/tmp/portage/media-libs/libdlna-0.2.3/work
>>> Compiling source in /var/tmp/portage/media-libs/libdlna-0.2.3/work/libdlna-0.2.3 ...
Checking for compiler available...
Checking for libavformat ...
Error, can't find libavformat !
See file "config.log" produced by configure for more details.
 *
 * ERROR: media-libs/libdlna-0.2.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line   91:  Called die
 * The specific snippet of code:
 *       ./configure --prefix=/usr || die "./configure failed";
 *  The die message:
 *   ./configure 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-libs/libdlna-0.2.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libdlna-0.2.3/temp/environment'.
 * This ebuild is from a repository named 'sunrise'


I tried to google "libavformat", and it looks like it's something related to ffmpeg, maybe i have to enable some other USE flag?

Code:
[ebuild   R   ] media-video/ffmpeg-0.4.9_p20090201  USE="X aac alsa amr encode mmx mmxext mp3 network ssse3 vorbis x264 xvid zlib -3dnow (-altivec) -bindist -debug -dirac -doc -gsm -hardcoded-tables -ieee1394 -ipv6 -oss -schroedinger -sdl -speex -test -theora -threads -v4l -v4l2 -vhook"


My emerge --info:

Code:
emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.0
Timestamp of tree: Sun, 29 Mar 2009 09:15:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.unina.it/pub/linux/distributions/gentoo "
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl alsa berkdb bzip2 cli cracklib dri dvd fortran gdbm gpm hal iconv isdnlog kde midi mmx mmxext mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python qt3 readline reflection session spl sse sse2 ssl ssse3 sysfs tcpd truetype unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
SunFox
n00b
n00b


Joined: 03 Oct 2008
Posts: 16
Location: Tenerife (Spain)

PostPosted: Sun Apr 12, 2009 8:59 pm    Post subject: Re: Can't emerge libdlna Reply with quote

Hello Darkscreamer!
Try "emerge -pv libdlna and paste it here. It could help
SunFox
_________________
Acer Aspire Gemstone 8930. Intel Core 2 Duo p8600. 4Gb DDR3. 640HDD. Nvidia 9700GT
Back to top
View user's profile Send private message
Junkyboy
n00b
n00b


Joined: 06 Jul 2002
Posts: 33

PostPosted: Fri Jul 03, 2009 4:08 pm    Post subject: Reply with quote

I know its a bit late but I just tried this myself. The problem is that libdlna needs an older version of ffmpeg. The fix(es) are simple enough, you just patch 5 files and change "ffmpeg" to either "libavcodec" or "libavformat". The next problem after that is the init script for ushare. Its been written to be LSB compliant. Guess I'll just make one myself..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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