Bug 94034

Summary: pavucontrol 3.0 , problem with compile
Product: PulseAudio Reporter: tele <swojskichlopak>
Component: pavucontrolAssignee: pulseaudio-bugs
Status: RESOLVED DUPLICATE QA Contact: pulseaudio-bugs
Severity: trivial    
Priority: lowest CC: lennart
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description tele 2016-02-07 12:01:48 UTC
I have problem with compile pavucontrol 3.0

http://wklejto.pl/247277

I udated before to
gtk 3.18.7
glibmm 2.46.3
mm-common 0.9.9
gtkmm 3.18.0
liepoxy 1.3.1

System PCLinuxOS 64bit
I don't know what I cam do more.
Comment 1 Tanu Kaskinen 2016-02-07 18:01:29 UTC
This is probably the same bug as 92930. It should be fixed in the current git master.

*** This bug has been marked as a duplicate of bug 92930 ***
Comment 2 tele 2016-02-08 01:04:12 UTC
Edited:
libepoxy 1.3.1 (not liepoxy)

~~~~~~~~~~~~~~~~~~~~~~~~
 Arun Raghavan 2015-11-13
"Looks like this is because glibmm 2.46 onwards needs C++11 support while building"
~~~~~~~~~~~~~~~~~~~~~~~~

But what if he have right with glibmm or gtkmm ?
I had before pavucontrol 3.0,
I tried just rebuild with new gtk dependencies because
my new compiled gtkmm not have libs

-------------------------------
error: Unfulfilled dependence:
	libgdkmm-3.0.so.1()(64bit) is required by (installed)
pavucontrol-3.0-1pclos2015.x86_64
	libgtkmm-3.0.so.1()(64bit) is required by (installed)
pavucontrol-3.0-1pclos2015.x86_64
-------------------------------


I tried also rebuild ibsigc++ to the same version for pavucontrol,
but without success. 

.log from compile gtkmm
http://wklejto.pl/247332

.log from compile glibmm
http://wklejto.pl/247333

I hope, errors from pavucontrol can tell you more,
because I don't understand.
Comment 3 tele 2016-02-08 01:06:17 UTC
" I tried also rebuild ibsigc++ to the same version for pavucontrol,
but without success. "
- This mean I rebuild ibsigc++,
 but this not helped with compile pavucontrol.
Comment 4 Tanu Kaskinen 2016-02-08 07:31:14 UTC
Did you try to build pavucontrol from git master?

Rebuilding libgtkmm and other dependencies shouldn't be needed.
Comment 5 tele 2016-02-08 10:45:52 UTC

with source code https://github.com/pulseaudio/pavucontrol
from github
http://wklejto.pl/247346

~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Entrance To directory '/home/gg/src/rpm/BUILD/pavucontrol-3.0/src'
  CXXLD    pavucontrol
/usr/bin/ld: cannot find -lgtkmm-3.0
/usr/bin/ld: cannot find -lgdkmm-3.0
~~~~~~~~~~~~~~~~~~~~~~~


http://wklejto.pl/247347

----------------------------------------------
$ locate gtkmm | grep so  | grep -v home
/usr/include/gtkmm-2.4/gtkmm/iconsource.h
/usr/include/gtkmm-2.4/gtkmm/socket.h
/usr/include/gtkmm-2.4/gtkmm/treedragsource.h
/usr/include/gtkmm-2.4/gtkmm/treemodelsort.h
/usr/include/gtkmm-2.4/gtkmm/treesortable.h
/usr/include/gtkmm-2.4/gtkmm/private/iconsource_p.h
/usr/include/gtkmm-2.4/gtkmm/private/socket_p.h
/usr/include/gtkmm-2.4/gtkmm/private/treedragsource_p.h
/usr/include/gtkmm-2.4/gtkmm/private/treemodelsort_p.h
/usr/include/gtkmm-2.4/gtkmm/private/treesortable_p.h
/usr/include/gtkmm-3.0/gtkmm/iconsource.h
/usr/include/gtkmm-3.0/gtkmm/socket.h
/usr/include/gtkmm-3.0/gtkmm/treedragsource.h
/usr/include/gtkmm-3.0/gtkmm/treemodelsort.h
/usr/include/gtkmm-3.0/gtkmm/treesortable.h
/usr/include/gtkmm-3.0/gtkmm/private/iconsource_p.h
/usr/include/gtkmm-3.0/gtkmm/private/socket_p.h
/usr/include/gtkmm-3.0/gtkmm/private/treedragsource_p.h
/usr/include/gtkmm-3.0/gtkmm/private/treemodelsort_p.h
/usr/include/gtkmm-3.0/gtkmm/private/treesortable_p.h
/usr/lib64/libgtkmm-2.4.so
/usr/lib64/libgtkmm-2.4.so.1
/usr/lib64/libgtkmm-2.4.so.1.1.0
/usr/lib64/ardour4/libgtkmm2ext.so
/usr/lib64/ardour4/libgtkmm2ext.so.0
/usr/lib64/ardour4/libgtkmm2ext.so.0.8.3
/usr/share/doc/gtkmm-3.0/reference/html/classGdk_1_1Cursor-members.html
/usr/share/doc/gtkmm-3.0/reference/html/classGdk_1_1Cursor.html
/usr/share/doc/gtkmm-3.0/reference/html/classGdk_1_1Cursor__inherit__graph.png
/usr/share/doc/gtkmm-3.0/reference/html/gtk-sort-ascending.png
/usr/share/doc/gtkmm-3.0/reference/html/gtk-sort-descending.png
-------------------------------------------------------------------
Comment 6 tele 2016-02-08 10:48:10 UTC
My all installed gtkmm, I dont install only static libs,
because are not used, used are shared libs.
-----------------------
$ rpm -qa | grep gtkmm
lib64gtkmm2.4-devel-2.24.4-3pclos2015
lib64gtkmm3.0_1-3.18.0-1pclos2016
lib64gtkmm3.0-devel-3.18.0-1pclos2016
lib64gtkmm2.4_1-2.24.4-3pclos2015
gtkmm3.0-doc-3.18.0-1pclos2016
-----------------------
Comment 7 Tanu Kaskinen 2016-02-08 11:13:46 UTC
(In reply to tele from comment #6)
> $ rpm -qa | grep gtkmm
> lib64gtkmm3.0_1-3.18.0-1pclos2016

I think this package should make the library available. What files does that package contain? "rpm -ql lib64gtkmm3.0" should give the installed file list.
Comment 8 tele 2016-02-08 11:52:43 UTC
]$ rpm -ql lib64gtkmm3.0_1
/usr/share/doc/lib64gtkmm3.0_1
/usr/share/doc/lib64gtkmm3.0_1/AUTHORS
/usr/share/doc/lib64gtkmm3.0_1/COPYING
/usr/share/doc/lib64gtkmm3.0_1/NEWS
/usr/share/doc/lib64gtkmm3.0_1/README


In this rpm I don't have libs, 
because was not created after compile,
however I don't had errors, .log I put post above.

This mean in spec file to build rpm package I need put #, 
remove paths with libs

------------------------
%files -n %{libname}
%defattr(-, root, root)
%doc AUTHORS COPYING NEWS README
#{_libdir}/libgdkmm-%{api_version}.so.%{major}*
#{_libdir}/libgtkmm-%{api_version}.so.%{major}*


%files -n %{libnamedev}
%defattr(-, root, root)
%doc PORTING ChangeLog
%{_includedir}/*
#{_libdir}/*.so
%{_libdir}/gtkmm-%{api_version}
%{_libdir}/gdkmm-%{api_version}
%{_libdir}/pkgconfig/*.pc

%files -n %{libnamestaticdev}
%defattr(-, root, root)
%doc COPYING
%{_libdir}/*.a

%files doc
%defattr(-, root, root)
%doc %{_datadir}/doc/gtkmm-%{api_version}
%doc %{_datadir}/devhelp/books/*
--------------------------
Comment 9 Tanu Kaskinen 2016-02-08 13:21:18 UTC
Ok, so you created the libgtkmm package yourself. Why don't you use the gtkmm package that is provided by the distribution?
Comment 10 tele 2016-02-08 22:50:40 UTC
From gtkmm3 is gtkmm 3.4.2 in my system
I'm trying update all dependencies for compile Subtitle Editor.
I need for example gtkmm above 3.10, but only 3.18 I build without error for now.

So I will try ask inside gtkmm support why I don't have libs,
if I will know, I write here.
Comment 11 tele 2016-02-09 11:14:52 UTC
I found problem,
I changed options for configure 

-------------------------------
%configure2_5x --enable-static --enable-shared
-------------------------------

to disable all (for disable static, I don't know why I changed shared)
, and I forgot.

Sorry for the problem and 
Thanks for help find problem :-) 


SOLVED

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.