Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems running vlc[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1510

PostPosted: Thu Oct 25, 2012 5:25 am    Post subject: Problems running vlc[solved] Reply with quote

I'm following the directions in the VLC wiki entry: http://en.gentoo-wiki.com/wiki/Vlc

I've added the qt4 flag(in addition to the wiki recommended flags)
I keep getting this error when I emerge vlc:
>>> Failed to emerge media-video/vlc-2.0.4, Log file:

>>> '/var/tmp/portage/media-video/vlc-2.0.4/temp/build.log'

* Messages for package media-video/vlc-2.0.4:

* ERROR: media-video/vlc-2.0.4 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 85: Called src_configure
* environment, line 3359: Called econf '--docdir=/usr/share/doc/vlc-2.0.4' '--enable-a52' '--disable-aa' '--enable-faad' '--enable-alsa' '--disable-altivec' '--disable-atmo' '--disable-audioqueue' '--disable-bonjour' '--enable-avcodec' '--enable-avformat' '--disable-fribidi' '--disable-bluray' '--enable-vcd' '--disable-libcddb' '--enable-dbus' '--enable-dbus-control' '--disable-dirac' '--disable-direct2d' '--disable-directfb' '--disable-directx' '--disable-dc1394' '--disable-debug' '--disable-dshow' '--enable-dca' '--enable-dvbpsi' '--enable-dvdread' '--enable-dvdnav' '--disable-dxva2' '--disable-egl' '--enable-sout' '--disable-fbosd' '--enable-flac' '--disable-fluidsynth' '--disable-fontconfig' '--enable-libgcrypt' '--disable-gme' '--enable-gnomevfs' '--disable-gnutls' '--disable-growl' '--disable-httpd' '--disable-dv' '--disable-ios-vout' '--disable-jack' '--disable-kate' '--without-kde-solid' '--disable-libass' '--disable-caca' '--enable-notify' '--disable-libproxy' '--disable-samplerate' '--disable-libtar' '--disable-tiger' '--disable-linsys' '--disable-lirc' '--disable-live555' '--disable-lua' '--disable-macosx-audio' '--disable-macosx-dialog-provider' '--disable-macosx-eyetv' '--disable-macosx-qtkit' '--disable-macosx-quartztext' '--disable-macosx-vout' '--disable-mkv' '--disable-media-library' '--enable-mmx' '--disable-mod' '--enable-mad' '--enable-libmpeg2' '--disable-mtp' '--disable-mpc' '--enable-ncurses' '--disable-neon' '--enable-ogg' '--enable-mux_ogg' '--disable-omxil' '--enable-glx' '--disable-opus' '--disable-optimize-memory' '--disable-oss' '--enable-png' '--disable-portaudio' '--enable-postproc' '--disable-projectm' '--enable-pulse' '--disable-pvr' '--disable-qt4' '--disable-realrtsp' '--disable-run-as-root' '--disable-smb' '--disable-schroedinger' '--enable-sdl' '--disable-sdl-image' '--disable-shine' '--disable-sid' '--disable-shout' '--disable-skins2' '--disable-speex' '--disable-sqlite' '--enable-sse' '--enable-svg' '--disable-switcher' '--enable-swscale' '--disable-taglib' '--disable-theora' '--enable-freetype' '--disable-twolame' '--enable-udev' '--disable-upnp' '--disable-v4l2' '--disable-libva' '--disable-vcdx' '--disable-vlm' '--enable-vorbis' '--disable-waveout' '--disable-loader' '--disable-wingdi' '--disable-wma-fixed' '--with-x' '--enable-x264' '--enable-xcb' '--enable-libxml2' '--disable-xosd' '--enable-xvideo' '--disable-zvbi' '--enable-telx' '--disable-optimizations' '--without-tuning' '--enable-fast-install'
* phase-helpers.sh, line 467: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=media-video/vlc-2.0.4'`,
* the complete build log and the output of `emerge -pqv '=media-video/vlc-2.0.4'`.
* The complete build log is located at '/var/tmp/portage/media-video/vlc-2.0.4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-2.0.4/temp/environment'.
* Working directory: '/var/tmp/portage/media-video/vlc-2.0.4/work/vlc-2.0.4'
* S: '/var/tmp/portage/media-video/vlc-2.0.4/work/vlc-2.0.4'


Last edited by Adel Ahmed on Sun Nov 18, 2012 5:19 pm; edited 2 times in total
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1510

PostPosted: Thu Oct 25, 2012 6:31 am    Post subject: Reply with quote

here's the result of :emerge --info '=media-video/vlc-2.0.4'


--- Invalid atom in /etc/portage/package.use: ffmpeg
--- Invalid atom in /etc/portage/package.use: skins
--- Invalid atom in /etc/portage/package.use: +++
Portage 2.1.11.9 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.4, glibc-2.15-r3, 3.4.9-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.4.9-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6400_@_2.00GHz-with-gentoo-2.1
Timestamp of tree: Tue, 23 Oct 2012 18:00:01 +0000
app-shells/bash: 4.2_p37
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/cmake: 2.8.9
dev-util/pkgconfig: 0.27.1
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r3, 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.4
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt3support readline sdl session socialweb spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
jrussia
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2012
Posts: 89
Location: Chicago

PostPosted: Thu Oct 25, 2012 7:25 am    Post subject: Reply with quote

in the guide, this is all one line :

Code:
echo "media-video/vlc X a52 alsa dts dvd ffmpeg mp3 mpeg win32codecs ncurses opengl sdl skins truetype wxwindows xv" >> /etc/portage/package.use"


so /etc/portage/package.use should have

Code:
media-video/vlc X a52 alsa dts dvd ffmpeg mp3 mpeg win32codecs ncurses opengl sdl skins truetype wxwindows xv


on one line.

fix, and see if that helps.

The "+++" is also a mistake, so make sure you clean up all of it.
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1510

PostPosted: Thu Oct 25, 2012 9:15 am    Post subject: Reply with quote

well I've successfully installed VLC but once I click the icon nothing pops up
this is what I get when trygin to run from command line:{vlc}
VLC media player 2.0.4 Twoflower (revision 2.0.3-289-g6e6100a)
[0x9fd138] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0xac0b78] qt4 interface error: Unable to load extensions module
Illegal instruction

and vlc -vv(verbose):
VLC media player 2.0.4 Twoflower (revision 2.0.3-289-g6e6100a)
[0x169a138] main libvlc debug: VLC media player - 2.0.4 Twoflower
[0x169a138] main libvlc debug: Copyright �� 1996-2012 VLC authors and VideoLAN
[0x169a138] main libvlc debug: revision 2.0.3-289-g6e6100a
[0x169a138] main libvlc debug: configured with ./configure '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--disable-dependency-tracking' '--docdir=/usr/share/doc/vlc-2.0.4' '--enable-a52' '--disable-aa' '--enable-faad' '--enable-alsa' '--disable-altivec' '--disable-atmo' '--disable-audioqueue' '--disable-bonjour' '--enable-avcodec' '--enable-avformat' '--disable-fribidi' '--disable-bluray' '--enable-vcd' '--disable-libcddb' '--enable-dbus' '--enable-dbus-control' '--disable-dirac' '--disable-direct2d' '--disable-directfb' '--disable-directx' '--disable-dc1394' '--disable-debug' '--disable-dshow' '--enable-dca' '--enable-dvbpsi' '--enable-dvdread' '--enable-dvdnav' '--disable-dxva2' '--disable-egl' '--enable-sout' '--disable-fbosd' '--enable-flac' '--disable-fluidsynth' '--disable-fontconfig' '--enable-libgcrypt' '--disable-gme' '--enable-gnomevfs' '--disable-gnutls' '--disable-growl' '--disable-httpd' '--disable-dv' '--disable-ios-vout' '--disable-jack' '--disable-kate' '--without-kde-solid' '--disable-libass' '--disable-caca' '--enable-notify' '--disable-libproxy' '--disable-samplerate' '--disable-libtar' '--disable-tiger' '--disable-linsys' '--disable-lirc' '--disable-live555' '--disable-lua' '--disable-macosx-audio' '--disable-macosx-dialog-provider' '--disable-macosx-eyetv' '--disable-macosx-qtkit' '--disable-macosx-quartztext' '--disable-macosx-vout' '--disable-mkv' '--disable-media-library' '--enable-mmx' '--disable-mod' '--enable-mad' '--enable-libmpeg2' '--disable-mtp' '--disable-mpc' '--enable-ncurses' '--disable-neon' '--enable-ogg' '--enable-mux_ogg' '--disable-omxil' '--enable-glx' '--disable-opus' '--disable-optimize-memory' '--disable-oss' '--enable-png' '--disable-portaudio' '--enable-postproc' '--disable-projectm' '--enable-pulse' '--disable-pvr' '--enable-qt4' '--disable-realrtsp' '--disable-run-as-root' '--disable-smb' '--disable-schroedinger' '--enable-sdl' '--disable-sdl-image' '--disable-shine' '--disable-sid' '--disable-shout' '--enable-skins2' '--disable-speex' '--disable-sqlite' '--enable-sse' '--enable-svg' '--disable-switcher' '--enable-swscale' '--disable-taglib' '--disable-theora' '--enable-freetype' '--disable-twolame' '--enable-udev' '--disable-upnp' '--disable-v4l2' '--disable-libva' '--disable-vcdx' '--disable-vlm' '--enable-vorbis' '--disable-waveout' '--disable-loader' '--disable-wingdi' '--disable-wma-fixed' '--with-x' '--enable-x264' '--enable-xcb' '--enable-libxml2' '--disable-xosd' '--enable-xvideo' '--disable-zvbi' '--enable-telx' '--disable-optimizations' '--without-tuning' '--enable-fast-install' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CXXFLAGS=-O2 -pipe' 'PKG_CONFIG_PATH=/usr/lib64/pkgconfig'
[0x169a138] main libvlc debug: searching plug-in modules
[0x169a138] main libvlc debug: loading plugins cache file /usr/lib64/vlc/plugins/plugins.dat
[0x169a138] main libvlc debug: recursively browsing `/usr/lib64/vlc/plugins'
[0x169a138] main libvlc debug: saving plugins cache /usr/lib64/vlc/plugins/plugins.dat
[0x169a138] main libvlc debug: plug-ins loaded: 355 modules
[0x169a138] main libvlc debug: opening config file (/home/adel/.config/vlc/vlcrc)
[0x169a138] main libvlc debug: translation test: code is "C"
[0x169a138] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU
[0x169a138] main libvlc debug: looking for memcpy module: 4 candidates
[0x169a138] main libvlc debug: using memcpy module "memcpymmxext"
[0x17526d8] main input debug: Creating an input for 'Media Library'
[0x17526d8] main input debug: Input is a meta file: disabling unneeded options
[0x17526d8] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x17526d8] main input debug: `file/xspf-open:///home/adel/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/adel/.local/share/vlc/ml.xspf'
[0x17526d8] main input debug: creating demux: access='file' demux='xspf-open' location='/home/adel/.local/share/vlc/ml.xspf' file='/home/adel/.local/share/vlc/ml.xspf'
[0x1760a68] main demux debug: looking for access_demux module: 2 candidates
[0x1760a68] main demux debug: no access_demux module matching "file" could be loaded
[0x1760a68] main demux debug: TIMER module_need() : 0.526 ms - Total 0.526 ms / 1 intvls (Avg 0.526 ms)
[0x17526d8] main input debug: creating access 'file' location='/home/adel/.local/share/vlc/ml.xspf', path='/home/adel/.local/share/vlc/ml.xspf'
[0x1763a38] main access debug: looking for access module: 2 candidates
[0x1763a38] filesystem access debug: opening file `/home/adel/.local/share/vlc/ml.xspf'
[0x1763a38] main access debug: using access module "filesystem"
[0x1763a38] main access debug: TIMER module_need() : 0.297 ms - Total 0.297 ms / 1 intvls (Avg 0.297 ms)
[0x1761ea8] main stream debug: Using stream method for AStream*
[0x1761ea8] main stream debug: starting pre-buffering
[0x1761ea8] main stream debug: received first data after 0 ms
[0x1761ea8] main stream debug: pre-buffering done 296 bytes in 0s - 9324 KiB/s
[0x1762108] main stream debug: looking for stream_filter module: 7 candidates
[0x1762108] main stream debug: no stream_filter module matching "any" could be loaded
[0x1762108] main stream debug: TIMER module_need() : 2.573 ms - Total 2.573 ms / 1 intvls (Avg 2.573 ms)
[0x1762108] main stream debug: looking for stream_filter module: 1 candidate
[0x1762108] main stream debug: using stream_filter module "stream_filter_record"
[0x1762108] main stream debug: TIMER module_need() : 0.200 ms - Total 0.200 ms / 1 intvls (Avg 0.200 ms)
[0x17526d8] main input debug: creating demux: access='file' demux='xspf-open' location='/home/adel/.local/share/vlc/ml.xspf' file='/home/adel/.local/share/vlc/ml.xspf'
[0x1744e28] main demux debug: looking for demux module: 1 candidate
[0x1744e28] playlist demux debug: using XSPF playlist reader
[0x1744e28] main demux debug: using demux module "playlist"
[0x1744e28] main demux debug: TIMER module_need() : 0.240 ms - Total 0.240 ms / 1 intvls (Avg 0.240 ms)
[0x1749c18] main demux meta debug: looking for meta reader module: 0 candidates
[0x1749c18] main demux meta debug: no meta reader module matched "any"
[0x1749c18] main demux meta debug: TIMER module_need() : 0.103 ms - Total 0.103 ms / 1 intvls (Avg 0.103 ms)
[0x17526d8] main input debug: `file/xspf-open:///home/adel/.local/share/vlc/ml.xspf' successfully opened
[0x17455e8] main xml reader debug: looking for xml reader module: 1 candidate
[0x17455e8] main xml reader debug: using xml reader module "xml"
[0x17455e8] main xml reader debug: TIMER module_need() : 0.548 ms - Total 0.548 ms / 1 intvls (Avg 0.548 ms)
[0x1744e28] playlist demux debug: parsed 0 tracks successfully
[0x17526d8] main input debug: EOF reached
[0x1744e28] main demux debug: removing module "playlist"
[0x1762108] main stream debug: removing module "stream_filter_record"
[0x1763a38] main access debug: removing module "filesystem"
[0x17526d8] main input debug: TIMER input launching for 'Media Library' : 4.692 ms - Total 4.692 ms / 1 intvls (Avg 4.692 ms)
[0x1749e18] main interface debug: looking for interface module: 1 candidate
[0x1749e18] main interface debug: using interface module "hotkeys"
[0x1749e18] main interface debug: TIMER module_need() : 0.236 ms - Total 0.236 ms / 1 intvls (Avg 0.236 ms)
[0x17455c8] main interface debug: looking for interface module: 1 candidate
[0x175b328] main playlist debug: playlist threads correctly activated
[0x17455c8] main interface debug: using interface module "inhibit"
[0x17455c8] main interface debug: TIMER module_need() : 1.222 ms - Total 1.222 ms / 1 intvls (Avg 1.222 ms)
[0x175b328] main playlist debug: rebuilding array of current - root Playlist
[0x175b328] main playlist debug: rebuild done - 0 items, index -1
[0x175d978] main interface debug: looking for interface module: 1 candidate
[0x175d978] main interface debug: using interface module "globalhotkeys"
[0x175d978] main interface debug: TIMER module_need() : 0.896 ms - Total 0.896 ms / 1 intvls (Avg 0.896 ms)
[0x169a138] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x175e828] main interface debug: looking for interface module: 4 candidates
[0x7f281c094758] main generic debug: looking for extension module: 0 candidates
[0x7f281c094758] main generic debug: no extension module matched "any"
[0x7f281c094758] main generic debug: TIMER module_need() : 0.185 ms - Total 0.185 ms / 1 intvls (Avg 0.185 ms)
[0x175e828] qt4 interface error: Unable to load extensions module
[0x175e828] main interface debug: using interface module "qt4"
[0x175e828] main interface debug: TIMER module_need() : 75.087 ms - Total 75.087 ms / 1 intvls (Avg 75.087 ms)
Illegal instruction


please help
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Thu Oct 25, 2012 3:54 pm    Post subject: Reply with quote

CFLAGS=" -march=native -O2 -pipe"
Back to top
View user's profile Send private message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 513
Location: Inner Space

PostPosted: Fri Oct 26, 2012 6:54 pm    Post subject: Reply with quote

blakdeath wrote:

...
--- Invalid atom in /etc/portage/package.use: ffmpeg
--- Invalid atom in /etc/portage/package.use: skins
--- Invalid atom in /etc/portage/package.use: +++


maybe try to cleanup your /etc/portage/package.use
_________________

Flux & Contemplation - Portrait of an Artist in Isolation

Back to top
View user's profile Send private message
expressionlibre
n00b
n00b


Joined: 30 May 2008
Posts: 12
Location: France

PostPosted: Sat Oct 27, 2012 3:45 pm    Post subject: Re: Problems running vlc Reply with quote

blakdeath wrote:
I'm following the directions in the VLC wiki entry: http://en.gentoo-wiki.com/wiki/Vlc

I've added the qt4 flag(in addition to the wiki recommended flags)


Hello,
I did the same as you, it compiled but always crashed at launch, saying
something was wrong with qt4 (on my 2 gentoo boxes running amd64, one with gnome, the other with xfce)...
My configuration is very similar to yours, my system is also up to date.

I've just found out how to resolve the problem !

0) I do not use ~amd64 version anymore so I went back to vlc 2.0.3 version. I'll try an update later...
1) I used the recommended use flags + some more for my comfort...
2) I re-emerge qt-lib with gtkstyle flag (don't know if this has something to do with it, but I don't want to spend one more hour to rebuil it)
3) I uninstalled then emerged vlc

Now it works fine, furthermore vlc is now much more beautiful...

Here are my use flags :
#required by media-video/vlc-2.0.3, required by vlc (argument) :
>=sys-libs/zlib-1.2.7 minizip
# Try to adapt qt for gnome :
x11-libs/qt-gui gtkstyle
# Recommended flags :
media-video/vlc qt4 X a52 alsa dts dvd ffmpeg mp3 mpeg win32codecs ncurses opengl sdl skins truetype xv -pulseaudio

Resulting in :
=================================================================
Package Settings
=================================================================

media-video/vlc-2.0.3 was built with the following:
USE="X a52 aac alsa avcodec avformat cdda dbus dts dvbpsi dvd encode ffmpeg flac gcrypt gnome gnutls ieee1394 jack libnotify matroska mmx mp3 mpeg (multilib) ncurses ogg opengl png postproc qt4 sdl skins sqlite sse svg swscale theora truetype udev v4l vorbis x264 xcb xml xv -aalib (-altivec) -atmo (-audioqueue) -avahi -bidi -bluray -cddb -dc1394 -debug -dirac (-direct2d) -directfb (-directx) (-dshow) -dvb (-dxva2) -egl -fbosd -fluidsynth -fontconfig -gme -growl -httpd (-ios-vout) -kate -kde -libass -libcaca -libproxy -libsamplerate -libtar -libtiger -linsys -lirc -live -lua (-macosx) (-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) (-media-library) -modplug -mtp -musepack (-neon) -omxil -optimisememory -oss -portaudio -projectm -pulseaudio -pvr -rtsp -run-as-root -samba -schroedinger -sdl-image -shine -shout -sid -speex -switcher -taglib -twolame -upnp -vaapi -vcdx -vlm (-waveout) (-win32codecs) (-wingdi) -wma-fixed -xosd -zvbi"
_________________
63N700 15 7H3 8357
Back to top
View user's profile Send private message
expressionlibre
n00b
n00b


Joined: 30 May 2008
Posts: 12
Location: France

PostPosted: Sun Oct 28, 2012 1:18 pm    Post subject: Re: Problems running vlc Reply with quote

expressionlibre wrote:

2) I re-emerge qt-lib with gtkstyle flag (don't know if this has something to do with it, but I don't want to spend one more hour to rebuil it)


Well, this stuf broke down qjackctl, audacity, hydrogen, etc... :(
(all these apps have Qt GUI but are installed on a gnome desktop)

So : I had to re-emerge qt-lib without gtkstyle flag... But some are still dead :cry:

In fine you may be just need to rebuild qt-lib :
Code:
emerge -1 qt-lib

_________________
63N700 15 7H3 8357
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1510

PostPosted: Wed Nov 14, 2012 5:37 pm    Post subject: Re: Problems running vlc Reply with quote

expressionlibre wrote:
expressionlibre wrote:

2) I re-emerge qt-lib with gtkstyle flag (don't know if this has something to do with it, but I don't want to spend one more hour to rebuil it)


Well, this stuf broke down qjackctl, audacity, hydrogen, etc... :(
(all these apps have Qt GUI but are installed on a gnome desktop)

So : I had to re-emerge qt-lib without gtkstyle flag... But some are still dead :cry:

In fine you may be just need to rebuild qt-lib :
Code:
emerge -1 qt-lib



here's what i got:
* IMPORTANT: 5 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "qt-lib".

emerge: searching for similar names...
emerge: Maybe you meant any of these: sci-libs/ta-lib, x11-libs/tslib, dev-tcltk/tklib?
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1510

PostPosted: Thu Nov 15, 2012 10:35 am    Post subject: Reply with quote

Well I just checked, it seems I do have the QT libraries installed, however qt applications(i tried smplayer as well) do not seem to work
help? anyone?
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1510

PostPosted: Sun Nov 18, 2012 5:18 pm    Post subject: Reply with quote

Solved by installing libICE and libSM and then reinstalling vlc
Back to top
View user's profile Send private message
Cripplys
n00b
n00b


Joined: 04 May 2011
Posts: 9

PostPosted: Fri Dec 28, 2012 7:27 pm    Post subject: Reply with quote

blakdeath wrote:
Solved by installing libICE and libSM and then reinstalling vlc

Seems not working for me. I've got the same error in vlc emerging:

Code:
>>> Failed to emerge media-video/vlc-2.0.5, Log file:

>>>  '/var/tmp/portage/media-video/vlc-2.0.5/temp/build.log'

 * Messages for package media-video/vlc-2.0.5:

 * ERROR: media-video/vlc-2.0.5 failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 3355:  Called econf '--docdir=/usr/share/doc/vlc-2.0.5' '--enable-a52' '--disable-aa' '--enable-faad' '--enable-alsa' '--disable-altivec' '--disable-atmo' '--disable-audioqueue' '--disable-bonjour' '--enable-avcodec' '--enable-avformat' '--disable-fribidi' '--disable-bluray' '--enable-vcd' '--disable-libcddb' '--enable-dbus' '--enable-dbus-control' '--disable-dirac' '--disable-direct2d' '--disable-directfb' '--disable-directx' '--disable-dc1394' '--disable-debug' '--disable-dshow' '--enable-dca' '--enable-dvbpsi' '--enable-dvdread' '--enable-dvdnav' '--disable-dxva2' '--disable-egl' '--enable-sout' '--disable-fbosd' '--enable-flac' '--disable-fluidsynth' '--disable-fontconfig' '--enable-libgcrypt' '--disable-gme' '--disable-gnomevfs' '--disable-gnutls' '--disable-growl' '--disable-httpd' '--disable-dv' '--disable-ios-vout' '--disable-jack' '--disable-kate' '--with-kde-solid' '--disable-libass' '--disable-caca' '--enable-notify' '--disable-libproxy' '--disable-samplerate' '--disable-libtar' '--disable-tiger' '--disable-linsys' '--disable-lirc' '--disable-live555' '--disable-lua' '--disable-macosx-audio' '--disable-macosx-dialog-provider' '--disable-macosx-eyetv' '--disable-macosx-qtkit' '--disable-macosx-quartztext' '--disable-macosx-vout' '--disable-mkv' '--disable-media-library' '--disable-mmx' '--disable-mod' '--enable-mad' '--enable-libmpeg2' '--disable-mtp' '--disable-mpc' '--enable-ncurses' '--disable-neon' '--enable-ogg' '--enable-mux_ogg' '--disable-omxil' '--enable-glx' '--disable-opus' '--disable-optimize-memory' '--disable-oss' '--enable-png' '--disable-portaudio' '--enable-postproc' '--disable-projectm' '--disable-pulse' '--disable-pvr' '--enable-qt4' '--disable-realrtsp' '--disable-run-as-root' '--disable-smb' '--disable-schroedinger' '--enable-sdl' '--disable-sdl-image' '--disable-shine' '--disable-sid' '--disable-shout' '--enable-skins2' '--disable-speex' '--disable-sqlite' '--disable-sse' '--enable-svg' '--disable-switcher' '--enable-swscale' '--disable-taglib' '--disable-theora' '--enable-freetype' '--disable-twolame' '--enable-udev' '--disable-upnp' '--disable-v4l2' '--disable-libva' '--disable-vcdx' '--disable-vlm' '--enable-vorbis' '--disable-waveout' '--enable-loader' '--disable-wingdi' '--disable-wma-fixed' '--with-x' '--enable-x264' '--enable-xcb' '--enable-libxml2' '--disable-xosd' '--enable-xvideo' '--disable-zvbi' '--enable-telx' '--disable-optimizations' '--without-tuning' '--enable-fast-install'
 *   phase-helpers.sh, line  501:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=media-video/vlc-2.0.5'`,
 * the complete build log and the output of `emerge -pqv '=media-video/vlc-2.0.5'`.
 * The complete build log is located at '/var/tmp/portage/media-video/vlc-2.0.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-2.0.5/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/vlc-2.0.5/work/vlc-2.0.5'
 * S: '/var/tmp/portage/media-video/vlc-2.0.5/work/vlc-2.0.5'

But it's little different than blackdeath's. In environment, line 3359 is environment, line 3355.
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 541
Location: Germany

PostPosted: Mon Dec 31, 2012 8:05 am    Post subject: Reply with quote

This "illegal instruction" was bugging me also. To fix it, I didn't do anything special, just reinstalled all qt and xfce related stuff (emerge -e qt-meta xfce4-meta --exclude 'glibc gcc') and then reinstalled vlc itself. After that things started to work. The funniest thing was, that the problem happened only under XFCE. Under sawfish, or i3 everything was working fine. Real mystery. It must be something that xfce offers and vlc tries to use.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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