Hi Sidharta,

1):
Could you tell us where did you install your mesos? (i.e. where is your mesos header files located?)
By default the mesos header files will be in /usr/local/include/mesos/.
If not you might need to change the progma in executor.go/scheduler.go (see an issue here https://github.com/mesos/mesos-go/issues/12)

Not sure about the 2) problem. Maybe other folks can answer this.

Thanks

Yifan

On 08/20/2014 03:49 PM, Sidharta Seethana wrote:
hello mesos-users,

I am running into some issues when trying to use kubernetes mesos (on Mac OS X). I am following the instructions provided here : https://github.com/mesosphere/kubernetes-mesos

1) mesos-go installation (tried this is $GOPATH) :

===
$go get github.com/mesos/mesos-go/mesos <http://github.com/mesos/mesos-go/mesos>
# github.com/mesos/mesos-go/mesos <http://github.com/mesos/mesos-go/mesos>
src/github.com/mesos/mesos-go/mesos/executor_driver.cpp:5:10 <http://github.com/mesos/mesos-go/mesos/executor_driver.cpp:5:10>: fatal error: 'mesos/executor.hpp' file not found
===

Is mesos-go supported on Mac OS X ? I didn't find any documentation mentioning such a restriction. If it is indeed supported on Mac OS X, what steps do I need to take to fix this problem?

2) installing kubernetes-mesos directly :

===
$ go get github.com/mesosphere/kubernetes-mesos/kubernetes-mesos <http://github.com/mesosphere/kubernetes-mesos/kubernetes-mesos> package github.com/GoogleCloudPlatform/kubernetes/pkg/registry/memory <http://github.com/GoogleCloudPlatform/kubernetes/pkg/registry/memory> imports github.com/GoogleCloudPlatform/kubernetes/pkg/registry/memory <http://github.com/GoogleCloudPlatform/kubernetes/pkg/registry/memory> imports github.com/GoogleCloudPlatform/kubernetes/pkg/registry/memory <http://github.com/GoogleCloudPlatform/kubernetes/pkg/registry/memory>: cannot find package "github.com/GoogleCloudPlatform/kubernetes/pkg/registry/memory <http://github.com/GoogleCloudPlatform/kubernetes/pkg/registry/memory>" in any of: /usr/local/Cellar/go/1.3/libexec/src/pkg/github.com/GoogleCloudPlatform/kubernetes/pkg/registry/memory <http://github.com/GoogleCloudPlatform/kubernetes/pkg/registry/memory> (from $GOROOT)
<snip go path> (from $GOPATH)
<snip third part dir> src/github.com/GoogleCloudPlatform/kubernetes/pkg/registry/memory <http://github.com/GoogleCloudPlatform/kubernetes/pkg/registry/memory>
===

Looking at kubernetes source (https://github.com/GoogleCloudPlatform/kubernetes), there doesn't appear to be a registry/memory package - this makes me suspect that kubernetes-mesos is not currently buildable.

Can somebody help be get past these issues?

thanks,
-Sidharta








--
Gu Yifan

Reply via email to