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

Charles Reiss commented on MESOS-532:
-------------------------------------

mesos.pb.h should end up in $(pkgincludedir) (precisely because it's included 
in nodist_pkginclude_HEADERS in the Makefile.am). $(pkgincludedir) should be 
$(includedir)/mesos which should default to $(prefix)/include/mesos which 
should in turn default to /usr/local/include/mesos. And this works for me when 
I run 'make install' on something close to trunk.
                
> Compile/Linking against Mesos out of tree
> -----------------------------------------
>
>                 Key: MESOS-532
>                 URL: https://issues.apache.org/jira/browse/MESOS-532
>             Project: Mesos
>          Issue Type: Question
>          Components: build
>    Affects Versions: 0.12.0
>            Reporter: andrew forgue
>            Priority: Minor
>
> I'm writing a ruby gem that links with mesos in order to write frameworks in 
> ruby.  I'm using native extensions obviously, however, I can't compile 
> anything out of tree because 'mesos/mesos.hpp' includes 'mesos.pb.h' which 
> doesn't seem to be included after make install, and it's in 
> nodist_pkginclude_HEADERS in the Makefile.
> Is it possible to link against Mesos without doing it during the build 
> process?
> I would assume I can just #include <mesos/scheduler.hpp> and implement a 
> scheduler that way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to