Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Webex the audio device not accessible
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
YuriyRusinov
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 208
Location: Saint-Petersburg, Russia

PostPosted: Tue Aug 08, 2017 6:11 am    Post subject: Webex the audio device not accessible Reply with quote

Hello, colleagues !

I begin to study Hebrew. It is need to run webex. I emerge firefox-bin and icedtea-bin with abi_x86_32 support. But when I try to launch this, I receive error "The audio device inaccessible now". I work on 64bit computer and if I try to launch 32bit firefox using this
Code:

export ENV_HOME=~/32bit
export FIREFOX_HOME=$ENV_HOME/firefox
export MOZ_PLUGIN_PATH=$FIREFOX_HOME/plugins
export JDK_HOME=$ENV_HOME/jdk1.8.0_144
export JAVA_HOME=$JDK_HOME/jre
export PATH=$JAVA_HOME/bin:$JDK_HOME/bin:$PATH
/usr/bin/firefox-bin --no-remote -P 32bit

I receive error
Code:

Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"

Despite of libcanberra was emerged with 32bit support. Where is the error, in java or in firefox.
_________________
Best regards,
Yuriy Rusinov.
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 453
Location: Connecticut, USA

PostPosted: Sat Sep 02, 2017 11:42 pm    Post subject: Reply with quote

Was libcanberra installed with gtk or gtk3 use flags? Which one you need looks like it depends on which version of gtk+ you have installed. I have both enabled.
Back to top
View user's profile Send private message
YuriyRusinov
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 208
Location: Saint-Petersburg, Russia

PostPosted: Sun Sep 03, 2017 8:11 pm    Post subject: Reply with quote

emerge -pv media-libs/libcanberra

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] media-libs/libcanberra-0.30-r5::gentoo USE="alsa gtk gtk3 pulseaudio sound -gnome -gstreamer -oss -tdb -udev" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
_________________
Best regards,
Yuriy Rusinov.
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 453
Location: Connecticut, USA

PostPosted: Sun Sep 03, 2017 9:30 pm    Post subject: Reply with quote

I think you are running into problems because it looks like you have firefox-bin and icedtea-bin 32 bit (or at least some components of them) installed under ~/32bit, not in the main system area. (How did you do that?) Perhaps you also need to install libcanberra 32-bit in that area also? You can do "equery f libcanberra" to confirm it did install canberra-gtk-module, and confirm where it is installed. Either firefox or icedtea isn't finding it.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 11082

PostPosted: Sun Sep 03, 2017 11:26 pm    Post subject: Reply with quote

The paths say 32bit, but nothing in there actually causes it to be 32-bit. If /usr/bin/firefox-bin is 32-bit, then you will get a 32-bit browser. Otherwise, you will get a 64-bit browser.

OP: why do you think that you are launching a 32-bit Firefox? What is the output of file -s /usr/bin/firefox-bin ; emerge --info www-client/firefox-bin?
Back to top
View user's profile Send private message
YuriyRusinov
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 208
Location: Saint-Petersburg, Russia

PostPosted: Mon Sep 04, 2017 7:47 pm    Post subject: Reply with quote

Code:

file -s /usr/bin/firefox-bin
/usr/bin/firefox-bin: POSIX shell script, ASCII text executable

emerge --info www-client/firefox-bin gives
Code:

Portage 2.3.6 (python 2.7.12-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r4, 4.9.16-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.16-gentoo-x86_64-AMD_Athlon-tm-_II_X2_215_Processor-with-gentoo-2.3
KiB Mem:     8181968 total,   1508492 free
KiB Swap:    4200960 total,   4200960 free
Timestamp of repository gentoo: Fri, 25 Aug 2017 17:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.3::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.28-r2::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.ru.gentoo.org/gentoo-portage
    priority: -1000
                                                                                                                                                       
archenroot                                                                                                                                             
    location: /var/lib/layman/archenroot                                                                                                               
    masters: gentoo                                                                                                                                   
    priority: 50                                                                                                                                       
                                                                                                                                                       
barnowl                                                                                                                                               
    location: /var/lib/layman/barnowl                                                                                                                 
    masters: gentoo                                                                                                                                   
    priority: 50                                                                                                                                       

calculate
    location: /var/lib/layman/calculate
    masters: gentoo
    priority: 50

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 50

games-overlay
    location: /var/lib/layman/games-overlay
    masters: gentoo
    priority: 50

mva
    location: /var/lib/layman/mva
    masters: gentoo
    priority: 50

pg_overlay
    location: /var/lib/layman/pg_overlay
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    masters: gentoo
    priority: 50

rion
    location: /var/lib/layman/rion
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

vmware
    location: /var/lib/layman/vmware
    masters: gentoo
    priority: 50

zugaina
    location: /var/lib/layman/zugaina
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://trumpetti.atm.tut.fi/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ rsync://gentoo.bloodhost.ru/gentoo-distfiles ftp://gentoo.bloodhost.ru/ http://gentoo.bloodhost.ru/ ftp://xeon.gentoo.ru/mirrors/gentoo/distfiles/ http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo http://gentoo.osuosl.org/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl alsa amd64 apache2 bash-completion berkdb bzip2 cli cracklib crypt cups cxx dbus dri dvd encode fortran gd gdbm git gnome-keyring iconv ipv6 jabber jpeg kde mmx modules multilib ncurses nls nptl nv nvidia opengl openmp pam pcre phonon png postgres qt qt3 qt4 readline seccomp session snmp sse sse2 ssh ssl subversion svg tcpd tiff truetype unicode vim-syntax virtualbox xattr zlib" ABI_X86="64" 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" 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 author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" CROSSCOMPILE_OPTS="headers-only" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en-GB ru fr he" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru fr he" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nouveau nv" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

www-client/firefox-bin-52.3.0::gentoo was built with the following:
USE="ffmpeg pulseaudio (-selinux) -startup-notification" ABI_X86="(64)" L10N="en-GB fr he ru -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cs -cy -da -de -el -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -fi -fy -ga -gd -gl -gu -hi -hr -hsb -hu -hy -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW"

_________________
Best regards,
Yuriy Rusinov.
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 453
Location: Connecticut, USA

PostPosted: Mon Sep 04, 2017 7:57 pm    Post subject: Reply with quote

That installed firefox-bin is clearly 64 bit, not 32 bit. You also need to actually look into /usr/bin/firefox-bin, which is a shell script, to find the actual executable, and then run file -s on that file.

As Hu asked, why do you think you are running 32 bit firefox? If you were following instructions from somewhere, either you missed something, or the instructions were not correct.
Back to top
View user's profile Send private message
YuriyRusinov
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 208
Location: Saint-Petersburg, Russia

PostPosted: Mon Sep 04, 2017 8:13 pm    Post subject: Reply with quote

I saw on this forum, that www-client/firefox is 64bit and www-client/firefox-bin is 32bit, but as you said, this was not correct. Which way I have to do for running 32bit firefox and java in 64bit environment ?
_________________
Best regards,
Yuriy Rusinov.
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 453
Location: Connecticut, USA

PostPosted: Mon Sep 04, 2017 8:49 pm    Post subject: Reply with quote

Well, you can add abi_x86_32 use flag for icedtea-bin. If you try that, portage may say you also need to add it to any dependencies. Unfortunately, I do not see that option is available for firefox or firefox-bin. If you go to the firefox web site, there is an option to download a 32 bit version. I suspect that may end up requiring a trial and error process of figuring out what libraries will need to be emerged with abi_x86_32. That also implies that you could build a 32 bit version, but I'm not sure I'd want to try, given that whoever created the ebuild did not make it an option.

By the way, it looks like your canberra issue is because libcanberra was emerged 32 bit only, and the 64 bit firefox is looking for 64 bit libcanberra.

You might consider telling whoever chose Webex as the hosting tool that it is extremely difficult to use it on Linux because it only supports 32 bit software, which is getting harder and harder to support when everything else is going to 64 bit. I have one organization which gave up on Webex, mainly for financial reasons, but the difficulty of using Linux contributed at least a little.
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