Giter Club home page Giter Club logo

Comments (18)

hintjens avatar hintjens commented on July 3, 2024

It should work now. Thanks for reporting this.

On Sat, Feb 6, 2016 at 3:24 PM, krombel [email protected] wrote:

I got an issue compiling the current master of libcurve

I pushed my console-output to gist for review:
https://gistgithubcom/krombel/8490f556d784bbf67ce5

libsodium, libzmq and czmq were installed previously and could be tested
with small examples

I was testing with linuxmint 173 and debian 8

Thank you for you help


Reply to this email directly or view it on GitHub
#28.

from libcurve.

krombel avatar krombel commented on July 3, 2024

Thank you for fixing this that quickly. Building succeeded.

from libcurve.

hintjens avatar hintjens commented on July 3, 2024

With pleasure.

On Sat, Feb 6, 2016 at 4:06 PM, krombel [email protected] wrote:

Closed #28 #28.


Reply to this email directly or view it on GitHub
#28 (comment).

from libcurve.

krombel avatar krombel commented on July 3, 2024

hmm... I don't know it this was there yesterday afternoon but during further development I noticed that the selftest after building fails. I think that I was focused on the output of the Testsuite which shows no error.

I copied my output here: https://gist.github.com/krombel/948e2ac7db9124ec8724

Hopefully you are able to resolve this issue.

from libcurve.

photoszzt avatar photoszzt commented on July 3, 2024

Is there any update on this issue?

from libcurve.

hintjens avatar hintjens commented on July 3, 2024

Sorry for the slow response on this. It should work properly now.

from libcurve.

photoszzt avatar photoszzt commented on July 3, 2024

It's still broken: https://travis-ci.org/zeromq/libcurve/builds/112617225

from libcurve.

hintjens avatar hintjens commented on July 3, 2024

Does it give the same error when you build manually? There's something
wrong with the .travis script, I think.

On Mon, Feb 29, 2016 at 9:03 PM, Zhiting Zhu [email protected]
wrote:

It's still broken: https://travis-ci.org/zeromq/libcurve/builds/112617225


Reply to this email directly or view it on GitHub
#28 (comment).

from libcurve.

photoszzt avatar photoszzt commented on July 3, 2024

Yes. I'm building the libraries installed in directory inside $HOME and I'm using the cmake file.

Here is the cmake command line I'm using:

cmake .. -DLIBZMQ_LIBRARIES=$PREFIX/lib/libzmq.so -DLIBZMQ_INCLUDE_DIRS=$PREFIX/include -DCZMQ_LIBRARIES=$PREFIX/lib/libczmq.so -DCZMQ_INCLUDE_DIRS=$PREFIX/include -DCMAKE_INSTALL_PREFIX=$PREFIX

This is what I get: https://gist.github.com/photoszzt/9e2ffa63a6a316d29d6c for cmake output.

Apparently the curve_source is empty in this case, then I add the ENABLE_DRAFTS at the end:

cmake .. -DLIBZMQ_LIBRARIES=$PREFIX/lib/libzmq.so -DLIBZMQ_INCLUDE_DIRS=$PREFIX/include -DCZMQ_LIBRARIES=$PREFIX/lib/libczmq.so -DCZMQ_INCLUDE_DIRS=$PREFIX/include -DCMAKE_INSTALL_PREFIX=$PREFIX -DENABLE_DRAFTS=yes

This configuration solves the linker language problem.

The output of make is: https://gist.github.com/photoszzt/54d7c6192df796d33e1e

from libcurve.

photoszzt avatar photoszzt commented on July 3, 2024

I have been using cmake method to build czmq and libzmq successfully and they all install in a directory under $HOME.

from libcurve.

hintjens avatar hintjens commented on July 3, 2024

OK, I've made another change to the project spec. Libsodium wasn't
explicitly listed as a dependency, which caused the link errors.

On Mon, Feb 29, 2016 at 9:52 PM, Zhiting Zhu [email protected]
wrote:

I have been using cmake method to build czmq and libzmq successfully and
they all install in a directory under $HOME.


Reply to this email directly or view it on GitHub
#28 (comment).

from libcurve.

photoszzt avatar photoszzt commented on July 3, 2024

I can build successfully with this version of cmake file. But I still get the assertion error:
https://gist.github.com/photoszzt/73b27f713550aaabfadf

from libcurve.

hintjens avatar hintjens commented on July 3, 2024

I've tracked this down to what looks like a new error return in libsodium.
It hits a test case where we pass an invalid key (on purpose). I'm
double-checking, and will have a fix soon.

On Mon, Feb 29, 2016 at 10:19 PM, Zhiting Zhu [email protected]
wrote:

I can build successfully with this version of cmake file. But I still get
the assertion error:
https://gist.github.com/photoszzt/73b27f713550aaabfadf


Reply to this email directly or view it on GitHub
#28 (comment).

from libcurve.

hintjens avatar hintjens commented on July 3, 2024

OK, fixed on libcurve master now. Thanks for your patience.

On Tue, Mar 1, 2016 at 2:44 PM, Pieter Hintjens [email protected] wrote:

I've tracked this down to what looks like a new error return in libsodium.
It hits a test case where we pass an invalid key (on purpose). I'm
double-checking, and will have a fix soon.

On Mon, Feb 29, 2016 at 10:19 PM, Zhiting Zhu [email protected]
wrote:

I can build successfully with this version of cmake file. But I still get
the assertion error:
https://gist.github.com/photoszzt/73b27f713550aaabfadf


Reply to this email directly or view it on GitHub
#28 (comment).

from libcurve.

photoszzt avatar photoszzt commented on July 3, 2024

@hintjens I see. Since you bring up libsodium, there is similar issue on the libzmq when I build with CMake with libsodium enable which makes some tests fail but the build with tweetnacl seems fine.

from libcurve.

hintjens avatar hintjens commented on July 3, 2024

I fixed this in libzmq master, at the same time. If you can catch any
failing tests on current master, please let me know.

On Tue, Mar 1, 2016 at 10:32 PM, Zhiting Zhu [email protected]
wrote:

@hintjens https://github.com/hintjens I see. Since you bring up
libsodium, there is similar issue on the libzmq when I build with CMake
with libsodium enable which makes some tests fail but the build with
tweetnacl seems fine.


Reply to this email directly or view it on GitHub
#28 (comment).

from libcurve.

photoszzt avatar photoszzt commented on July 3, 2024

OK, I will command on the libzmq issue.

from libcurve.

hintjens avatar hintjens commented on July 3, 2024

Thanks

On Tue, Mar 1, 2016 at 11:50 PM, Zhiting Zhu [email protected]
wrote:

OK, I will command on the libzmq issue.


Reply to this email directly or view it on GitHub
#28 (comment).

from libcurve.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.