On 22. Aug 2020, at 14:08, Mateusz Viste <mateusz@viste.fr> wrote:
Hello Martin,
Thanks for your input!
On 22/08/2020 11:25, Schanzenbach, Martin wrote:
The reason libgnunetspeaker is not installed is because you likely missed
dependencies for it when compiling gnunet.
I was half expecting it, yes - but looking at the output of the configure
script it wasn't really explicit, hence I was in doubt (I even grepped through
the configure result looking for anything speaker-related, but with no match).
I did spot however these little things being output on stderr:
configure: WARNING: libpulse not found
configure: WARNING: libopus not found
configure: WARNING: libogg not found
I installed the headers for these packages and... miracle! The libgnunetspeaker
library got built and has been installed :)
$ ll /home/mateusz/gnunet/lib64/libgnunetspeaker*
-rwxr-xr-x 1 mateusz users 1123 Aug 22 13:36
/home/mateusz/gnunet/lib64/libgnunetspeaker.la
lrwxrwxrwx 1 mateusz users 25 Aug 22 13:36
/home/mateusz/gnunet/lib64/libgnunetspeaker.so -> libgnunetspeaker.so.0.0.0
lrwxrwxrwx 1 mateusz users 25 Aug 22 13:36
/home/mateusz/gnunet/lib64/libgnunetspeaker.so.0 -> libgnunetspeaker.so.0.0.0
-rwxr-xr-x 1 mateusz users 18304 Aug 22 13:36
/home/mateusz/gnunet/lib64/libgnunetspeaker.so.0.0.0
gnunetgtk still doesn't pass the configure process, though (still unable to
find libgnunetspeaker, even though the file exists now):
$ export LD_LIBRARY_PATH=/home/mateusz/gnunet/lib64
$ sudo ldconfig
$ /configure --prefix=/home/mateusz/gnunet --disable-nls
--with-gnunet=/home/mateusz/gnunet/
(...)
checking gnutls/abstract.h presence... yes
checking for gnutls/abstract.h... yes
checking for gnutls_pubkey_import in -lgnutls... yes
checking for GNUnet core... /home/mateusz/gnunet/
checking for GNUnet util library in /home/mateusz/gnunet... checking for
gnunet/gnunet_util_lib.h... yes
checking for GNUNET_xfree_ in -lgnunetutil... no
checking for gnunet/gnunet_conversation_service.h... yes
checking for GNUNET_SPEAKER_destroy in -lgnunetspeaker... no
configure: error: gnunet-gtk requires GNUnet
I imagine this is not really a gnunet problem and might be related to the fact
that I am installing the libs in a custom location, so perhaps the linker is
unable to find the libs... I will fiddle more with this. Important thing is
that the libraries are getting built alright. Thanks for the good pointers!
best,
Mateusz