[ 
https://issues.apache.org/jira/browse/DISPATCH-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16953239#comment-16953239
 ] 

ASF subversion and git services commented on DISPATCH-1282:
-----------------------------------------------------------

Commit 3db622312ecaf6b872af01c258f4687fdb5d9720 in qpid-dispatch's branch 
refs/heads/master from Jiri Danek
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=3db6223 ]

DISPATCH-1282 - Support for building on macOS

# Notes

* macOS does not use -rt linker option
* pthread_t on macOS is a typedef’d struct, not long
* dlopen on macOS substitutes rpath for @rpath placeholder, it does not prepend 
it as on Linux

Dispatch can be compiled and run on my macOS like this

$ cmake .. 
-DProton_DIR=/Users/jdanek/projects/qpid-proton/build/install/lib/cmake/Proton 
-DCMAKE_INSTALL_PREFIX=install
$ make install
$ PYTHONPATH=install/lib/python2.7/site-packages/ install/sbin/qdrouterd


> Support for building on macOS
> -----------------------------
>
>                 Key: DISPATCH-1282
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1282
>             Project: Qpid Dispatch
>          Issue Type: New Feature
>    Affects Versions: 1.5.0
>            Reporter: Jiri Daněk
>            Priority: Major
>              Labels: macOS
>
> Currently, Dispatch compilation fails on "rt" library being unavailable.
> All Dispatch dependencies (Qpid Proton, libwebsockets, ...) can be built on 
> macOS.
> I am attaching a patch which allows to compile dispatch on OSX and run it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to