Hi Stepan,
Compilation finished now successfully. Thanks! I re-installed the
nettle-dev package with its dependencies, but without installing
libgnutils-dev. But I think running make on a clean instance did the
trick. Now I have libringclient.so to start working with.
Now I can start looking if I can build a QML client by using registering
classes on the c++ side and then using methods marked with Q_INVOKABLE
on the QML side. Anyone by any chance experience with this? I will give
this a try soon and report back the mailing list about my efforts.
Greetings,
Mattias
On 21-06-16 00:03, Alexandre Viau wrote:
Maybe this is relevant in a way?
https://tuleap.ring.cx/plugins/tracker/?aid=783
I was planning to send a mail asking for help soon, as I couldn't find
a way to solve this.
Cheers,
--
Alexandre Viau
[email protected]
On Mon, Jun 20, 2016 at 5:51 PM, Stepan Salenikovich
<[email protected]> wrote:
Hmm... I'm actually on 15.10 as well, and I noticed I had no issue building
with or
without libgnutls-dev and nettle-dev.
I wonder if something strange happened in contrib... could you try going into
your
'ring-project/daemon/contrib/native' dir and running 'make clean' and then
running
'./make-ring.py --install' again.
----- On Jun 20, 2016, at 4:45 PM, Mattias [email protected] wrote:
Hi Stepan,
I removed the libgnutls-dev together with libgmp-dev libgmpxx4ldbl
libgnutlsxx28 libp11-kit-dev libtasn1-6-dev libtasn1-doc nettle-dev
using apt-get autoremove. When I build in the bin/dbus directory (or the
complete ./make-ring.py --install) some libraries are missing:
make[1]: Entering directory '/home/mattias/install/ring-project/daemon/bin'
CXXLD dring
/usr/bin/ld: cannot find -lhogweed
/usr/bin/ld: cannot find -lnettle
However, libhogweed is available on the system:
mattias@mattias-laptop:~/install/ring-project/daemon/bin$ locate hogweed
/home/mattias/install/ring-daemon/contrib/native/nettle/hogweed.pc
/home/mattias/install/ring-daemon/contrib/native/nettle/hogweed.pc.in
/home/mattias/install/ring-daemon/contrib/native/nettle/libhogweed.a
/home/mattias/install/ring-daemon/contrib/native/nettle/libhogweed.map
/home/mattias/install/ring-daemon/contrib/native/nettle/libhogweed.map.in
/home/mattias/install/ring-daemon/contrib/native/nettle/libhogweed.stamp
/home/mattias/install/ring-daemon/contrib/native/nettle/examples/hogweed-benchmark.c
/home/mattias/install/ring-daemon/contrib/x86_64-linux-gnu/lib/libhogweed.a
/home/mattias/install/ring-daemon/contrib/x86_64-linux-gnu/lib/pkgconfig/hogweed.pc
/usr/lib/x86_64-linux-gnu/libhogweed.a
/usr/lib/x86_64-linux-gnu/libhogweed.so
/usr/lib/x86_64-linux-gnu/libhogweed.so.4
/usr/lib/x86_64-linux-gnu/libhogweed.so.4.1
/usr/lib/x86_64-linux-gnu/pkgconfig/hogweed.pc
/usr/share/doc/libhogweed
Did I remove too many packages? or should I set the LD_LIBRARY_PATH
manually?
Date: Mon, 20 Jun 2016 10:12:53 -0400 (EDT)
From: Stepan Salenikovich<[email protected]>
To:[email protected]
Subject: Re: [Ring] error building ring daemon
Message-ID:
<1226891494.47595.1466431973728.javamail.zim...@savoirfairelinux.com>
Content-Type: text/plain; charset=utf-8
----- On Jun 18, 2016, at 1:01 PM, [email protected] wrote:
Hi,
I am using the make-ring.py script to build the ring daemon and client.
After a while I get this error:
mattias@mattias-laptop:~/install/ring-project/daemon/bin$ make
Making all in dbus
make[1]: Entering directory '/home/mattias/install/ring-project/daemon/bin/dbus'
make all-am
make[2]: Entering directory '/home/mattias/install/ring-project/daemon/bin/dbus'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/mattias/install/ring-project/daemon/bin/dbus'
make[1]: Leaving directory '/home/mattias/install/ring-project/daemon/bin/dbus'
make[1]: Entering directory '/home/mattias/install/ring-project/daemon/bin'
CXXLD dring
/usr/bin/ld:
/home/mattias/install/ring-project/daemon/contrib/x86_64-linux-gnu/lib/libgnutls.a(pk.o):
undefined reference to symbol 'nettle_dsa_sign@@HOGWEED_4'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libhogweed.so: error
adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:585: recipe for target 'dring' failed
make[1]: *** [dring] Error 1
make[1]: Leaving directory '/home/mattias/install/ring-project/daemon/bin'
Makefile:678: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
I am running Ubuntu 15.10. Any idea why there is this message about the
dynamic shared object? Are some libraries missing. Any help interpreting
and solving this issue is welcome.
Hmm, this possibly looks like this bug:
https://tuleap.ring.cx/plugins/tracker/?aid=783
Do you have the 'gnutls-dev' package installed on your system? If you do, could
you try
removing it and re-building and see if it works. It seems like an issue with our
contrib
system, so if you need this package and can't remove it you may not be able to
build the
daemon from source until we fix it.
Mattias
_______________________________________________
Ring mailing list
[email protected]
https://lists.savoirfairelinux.net/mailman/listinfo/ring
_______________________________________________
Ring mailing list
[email protected]
https://lists.savoirfairelinux.net/mailman/listinfo/ring
_______________________________________________
Ring mailing list
[email protected]
https://lists.savoirfairelinux.net/mailman/listinfo/ring
_______________________________________________
Ring mailing list
[email protected]
https://lists.savoirfairelinux.net/mailman/listinfo/ring