LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-29-2014, 05:22 PM   #1
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Rep: Reputation: Disabled
Post unable to install pavucontrol on slackware 14.1 64 bits


i want to run skype sound support
i run sbopkg -i pavucontrol
my output

...
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking return type of signal handlers... void
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
***
*** Attempting build in GTK3 mode. Use --disable-gtk3 to build for GTK2
***
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GUILIBS... yes
checking for PULSE... yes
checking for lynx... yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.18.1
checking for XML::Parser... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating doc/README.html
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
make all-recursive
make[1]: Entering directory `/tmp/SBo/pavucontrol-2.0'
Making all in src
make[2]: Entering directory `/tmp/SBo/pavucontrol-2.0/src'
CXX pavucontrol-minimalstreamwidget.o
CXX pavucontrol-channelwidget.o
CXX pavucontrol-streamwidget.o
CXX pavucontrol-devicewidget.o
CXX pavucontrol-cardwidget.o
CXX pavucontrol-sinkwidget.o
CXX pavucontrol-sourcewidget.o
CXX pavucontrol-sinkinputwidget.o
CXX pavucontrol-sourceoutputwidget.o
CXX pavucontrol-rolewidget.o
CXX pavucontrol-mainwindow.o
CXX pavucontrol-pavucontrol.o
CXXLD pavucontrol
pavucontrol-devicewidget.o: In function `DeviceWidget::renamePopup()':
devicewidget.cc.text+0x351c): undefined reference to `pa_ext_device_manager_set_device_description'
pavucontrol-sinkwidget.o: In function `SinkWidget:nEncodingsChange()':
sinkwidget.cc.text+0x348): undefined reference to `pa_ext_device_restore_save_formats'
pavucontrol-rolewidget.o: In function `RoleWidget::executeVolumeUpdate()':
rolewidget.cc.text+0xf5): undefined reference to `pa_ext_stream_restore_write'
pavucontrol-pavucontrol.o: In function `ext_device_restore_subscribe_cb(pa_context*, pa_device_type, unsigned int, void*)':
pavucontrol.cc.text+0x51f): undefined reference to `pa_ext_device_restore_read_formats'
pavucontrol-pavucontrol.o: In function `context_state_callback(pa_context*, void*)':
pavucontrol.cc.text+0xd25): undefined reference to `pa_ext_stream_restore_read'
pavucontrol.cc.text+0xd4f): undefined reference to `pa_ext_stream_restore_set_subscribe_cb'
pavucontrol.cc.text+0xd60): undefined reference to `pa_ext_stream_restore_subscribe'
pavucontrol.cc.text+0xd7f): undefined reference to `pa_ext_device_restore_read_formats_all'
pavucontrol.cc.text+0xda9): undefined reference to `pa_ext_device_restore_set_subscribe_cb'
pavucontrol.cc.text+0xdba): undefined reference to `pa_ext_device_restore_subscribe'
pavucontrol.cc.text+0xdd9): undefined reference to `pa_ext_device_manager_read'
pavucontrol.cc.text+0xe03): undefined reference to `pa_ext_device_manager_set_subscribe_cb'
pavucontrol.cc.text+0xe14): undefined reference to `pa_ext_device_manager_subscribe'
pavucontrol-pavucontrol.o: In function `ext_device_manager_subscribe_cb(pa_context*, void*)':
pavucontrol.cc.text+0xf6f): undefined reference to `pa_ext_device_manager_read'
pavucontrol-pavucontrol.o: In function `ext_stream_restore_subscribe_cb(pa_context*, void*)':
pavucontrol.cc.text+0xfbf undefined reference to `pa_ext_stream_restore_read'
collect2: error: ld returned 1 exit status
make[2]: *** [pavucontrol] Error 1
make[2]: Leaving directory `/tmp/SBo/pavucontrol-2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/pavucontrol-2.0'
make: *** [all] Error 2"
 
Old 12-29-2014, 05:42 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Check that you have installed all dependencies. Or (easier) use sqg:
Code:
/usr/doc/sbopkg-0.37.0/contrib/sqg -p pavucontrol
sbopkg -k -i pavucontrol
 
Old 12-29-2014, 05:50 PM   #3
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Original Poster
Rep: Reputation: Disabled
0.- i think some dep are missing
i already install this:
cairomm pangomm atkmm mm-common gtkmm3 gtkmm libglademm
1.- /usr/doc/sbopkg-0.37.0/contrib/sqg -p pavucontrol

ERROR: /var/lib/sbopkg/queues or /var/lib/sbopkg/SBo/14.0 do not exist or are not writable.
Check the configurable variables at the top of the script

3.- the same error.
i reinstall slackware again, but i had the pavucontrol once before, i dont remember what deps i need, there are so many.
 
Old 12-29-2014, 06:00 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by allenlinux View Post
Check the configurable variables at the top of the script
Just do that.
 
Old 12-29-2014, 06:04 PM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
This has additional program dependencies that need to be met before you attempt this compile. You can see the required programs on slackbuilds.org, but they are gtkmm3, libasyncns, and pulseaudio. gtkmm3 requires mm-common and atkmm. atkmm requires cairomm, which requires glibmm, which requires libsigc++. pulseaudio requires speex and json-c. You can view all the required packages for each program in the README file, which is conveniently displayed on the program's page.

http://slackbuilds.org/repository/14...o/pavucontrol/

It would probably be highly beneficial to look into sqg (Sbopkg Queuefile Generator). It comes with sbopkg and is a program that will generate queue files for each program. This will automatically determine what dependencies are needed and will allow sbopkg to compile them in order. You can run it for a single program by typing

Code:
sqg -p pavucontrol
or you can run it and have it generate queue files for every program in sbopkg (this can take some time)

Code:
sqg -a
Once a queue file ($PRGRM_NAME.sqf) is created, if you run sbopkg -i pavucontrol, it would then ask if you want to use the queue file or just the package. You'd just select q for queuefile and it will go through and compile all the programs needed in the correct order. You can also do this using the ncurses menu by going under Queue -> Load and then just find the program you want to compile (it sorts it alphabetically, although it is unix-like in that uppercase are sorted separately from lowercase). You can hit the letter of the program to help get to that section faster. Once you're done, you "Process" the queue and then make sure you select to install it (otherwise it won't be able to complete the queue since dependencies will be missing).

Long story short, run the following:

Code:
sqg -p pavucontrol
sbopkg -i pavucontrol
q
This should build pavucontrol and all needed dependencies.

EDIT: looks like Didier beat me to it. And I had moved sqg to /usr/bin and had forgotten about that. I just had to change the REPO_BRANCH tag to 14.1 in the script (sqg is just a bash script), and unless you're running 14.0, you would need to edit that as well.

Last edited by bassmadrigal; 12-29-2014 at 06:07 PM.
 
Old 12-29-2014, 06:23 PM   #6
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Original Poster
Rep: Reputation: Disabled
sqg: command not found

i install the slackbuilds need it deps but i think i need more.
 
Old 12-29-2014, 06:33 PM   #7
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Original Poster
Rep: Reputation: Disabled
also i have this which i dont know what its supous to mean.

-updatedb
-ldconfig


ldconfig: /usr/lib64/libpulse.so.0 is not a symbolic link


ldconfig: /usr/lib64/libpulse-simple.so.0 is not a symbolic link

do i have to apply ln -s something?, i install pulseaudio.
 
Old 12-29-2014, 09:35 PM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
How did you install pulseaudio? Did you use the slackbuild? Did you add the required user and group? Did you install its dependencies? If the answer to any of these is no, I would uninstall it and then reinstall it using sbopkg

As Didier mentioned, sqg is found in /usr/doc/sbopkg-0.37.0/contrib/. You would either need to call it from there or copy/link it to /usr/bin so you can call it whenever.

But to simply get you started, try modifying /usr/doc/sbopkg-0.37.0/contrib/sqg and changing the REPO_BRANCH variable to 14.1 (REPO_BRANCH=${REPO_BRANCH:-14.1}) and then run /usr/doc/sbopkg-0.37.0/contrib/sqg -p pavucontrol. After this, try running sbopkg -i pavucontrol and selecting to build based on the queue file. If it asks if you want to rebuild packages, select yes. Once pulseaudio is installed correctly, it shouldn't list those errors (but if it doesn't, this could shed some light on your error http://stackoverflow.com/questions/1...-symbolic-link).
 
Old 12-29-2014, 11:05 PM   #9
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Original Poster
Rep: Reputation: Disabled
i install all that, yes.
 
Old 12-30-2014, 01:58 AM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
If you're still having issues, I would uninstall it and then use sqg to generate the needed .sqf file. Then run all that through sbopkg as I already stated. Programs are required to be tested before they are allowed on slackbuilds, so on a stock 14.1 machine, these will definitely work.
 
Old 12-30-2014, 12:11 PM   #11
allenlinux
Member
 
Registered: Aug 2012
Posts: 76

Original Poster
Rep: Reputation: Disabled
Arrow

this deps was missing

sbopkg -i libsigc++
sbopkg -i libsigc++-legacy12
sbopkg -i orc
sbopkg -i gstreamer1
sbopkg -i gst1-plugins-base
sbopkg -i c++-gtk-utils

ldconfig
rm -rf /usr/lib64/libpulse-simple.so.0
ldconfig
rm -rf /usr/lib64/libpulse.so.0
ldconfig


i fix it, but i have this question:
having delete it that files my slackware will be compromised or broken?

after all that i install normally with sbopkg -i pavucontrol
 
Old 12-30-2014, 01:15 PM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
I'm not sure why those would be "missing" considering they weren't required by any of the software required to install pavucontrol. You should've been able to successfully compile pavucontrol with a fully stock 14.1 install if you install the following programs first. Any other "dependencies" are likely optional software and not required by the slackbuild to build the program correctly.

libsigc++
glibmm
cairomm
atkmm
mm-common
gtkmm3
libasyncns
speex
json-c
pulseaudio

As to deleting those files, I'm not sure. They usually are generic names and symbolically link to specific versions. That allows there to always be a constant name programs can reference, which will then point it to the correct file. Any programs that would depend on those files linking to the correct file could likely break.
 
Old 12-30-2014, 01:39 PM   #13
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Rep: Reputation: 77
I just installed pulseaudio & pavucontrol using sqg with no errors. Nice and easy. Also installed alsa-plugins as well. After setting up my .asoundrc I can switch between the audio built into my laptop and my use headset with no problems.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] unable to install graphviz 64 on slackware 14.1 64 bits through sbopkg allenlinux Slackware 9 12-27-2014 01:29 PM
[SOLVED] Setup 32 bits environment within 64 bits install yogesh_attarde Linux - Software 3 09-25-2013 08:51 AM
cryptography... what's difference between 8bits / 16 bits / 32 bits/ 64 bits/128bits? ybpark81 Linux - Security 4 02-19-2012 08:38 AM
Button of Xchat on Slackware 13.1 in 64 bits and 32 bits Laodiceans Slackware 1 06-21-2010 05:32 PM
Can I install Linux 32 bits on system 64 bits? miros84 Linux - Software 7 01-06-2010 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration