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

ASF GitHub Bot commented on DISPATCH-1282:
------------------------------------------

jdanekrh commented on pull request #459: [WIP] DISPATCH-1282 - Support for 
building on macOS
URL: https://github.com/apache/qpid-dispatch/pull/459
 
 
   * 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
   
   CMake is now configured to append rpath to all libraries linked into 
targets. This has also effect on Linux.
   
   With this path, I compiled dispatch and started it on macOS without errors
   
   $ 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
   
   The tests are not yet passing. Some of it is because I apparently did not 
have OpenSSL installed, some because `saslpasswd2` is not present, and some I 
have no clue about (like the segfault).
   
   The following tests FAILED:
          9 - unit_tests (SEGFAULT)
         26 - system_tests_qdmanage (Failed)
         28 - system_tests_sasl_plain (Failed)
         29 - system_tests_user_id (Failed)
         30 - system_tests_user_id_proxy (Failed)
         38 - system_tests_auth_service_plugin (Failed)
         39 - system_tests_authz_service_plugin (Failed)
         48 - system_tests_bad_configuration (Failed)
         49 - system_tests_ssl (Failed)
         52 - system_tests_console (Failed)
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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
(v7.6.3#76005)

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

Reply via email to