Giter Club home page Giter Club logo

Comments (6)

gonzus avatar gonzus commented on September 27, 2024

Please provide a patch and/or pull request. Thanks.

from jzmq.

gonzus avatar gonzus commented on September 27, 2024

Can you please either provide a patch or close this issue? Thanks.

from jzmq.

siggimoo avatar siggimoo commented on September 27, 2024

The following patch fixes both the pthread issue and a jni_md path issue:

--- configure.in.orig   2011-05-27 14:03:01.000000000 -0700
+++ configure.in        2011-05-27 14:23:13.000000000 -0700
@@ -35,6 +35,14 @@
 # Set default CPPFLAGS for reentrant code
 CPPFLAGS="-D_REENTRANT -D_THREAD_SAFE $CPPFLAGS"

+# FreeBSD requires pthread flag
+AC_CANONICAL_HOST
+case "${host_os}" in
+    *freebsd*)
+        CPPFLAGS="$CPPFLAGS -pthread"
+    ;;
+esac
+
 # Check for zeromq library
 zeromq_prefix=detect
 AC_ARG_WITH([zeromq], 
@@ -107,6 +115,9 @@
     *darwin*)
         # Darwin does not need an extra -I path
     ;;
+    *freebsd*)
+        CPPFLAGS="$CPPFLAGS -I${JAVA_HOME}/include/freebsd"
+    ;;
     *)
     AC_MSG_ERROR([don't know how to find jni_md.h on this platform])
     ;;

from jzmq.

gonzus avatar gonzus commented on September 27, 2024

I am in the middle of switching laptops and temporarily lack access to my development environment. Could you send this in the shape of a pull request, so that I can process it directly within GitHub? Thanks.

from jzmq.

gonzus avatar gonzus commented on September 27, 2024

@siggimoo, is this patch still valid? I could apply it now (although I would prefer a pull request). Please let me know.

from jzmq.

trevorbernard avatar trevorbernard commented on September 27, 2024

Closing because it's been a year since last activity

from jzmq.

Related Issues (20)

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.