Ah sorry I didn't realize you were building off the 0.9.0 release.

If you're willing to wait a bit, we would like to release 0.10.0 shortly
(within a week or so, I believe). So keep an eye out for that. In the
meantime, you can patch the socket.hpp file to fix this issue:

-Find third_party/libprocess/include/process/socket.hpp
-Add '#include <unistd.h>' at the top of the file.

I can send you a patch file if you have any issues. Let me know if this
works for you.



On Wed, Dec 5, 2012 at 6:23 PM, Jeff Zhang <[email protected]> wrote:

> Hi Ben,
>
> I just follow the instruction of this wiki page
> https://github.com/mesos/mesos/wiki
>
> 1.  Invoke command "./configure"
> 2.  Invoke command "make"
>
> My environment :
> OS: Ubuntu 12.04
> g++ version :  4.7.2
>
>
> Error message:
> ./include/process/socket.hpp: In member function 'void Socket::cleanup()':
> ./include/process/socket.hpp:64:16: error: 'close' was not declared in this
> scope
> make[4]: *** [libprocess_la-latch.lo] Error 1
> make[4]: Leaving directory
> `/home/zjffdu/mesos-0.9.0/third_party/libprocess'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/zjffdu/mesos-0.9.0/third_party/libprocess'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/zjffdu/mesos-0.9.0/third_party'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/zjffdu/mesos-0.9.0/third_party'
> make: *** [all-recursive] Error 1
>
>
>
> On Thu, Dec 6, 2012 at 2:56 AM, Benjamin Mahler <[email protected]>
> wrote:
>
> > Hi Jeff,
> >
> > Can you please provide the full commands and output from ./configure and
> > make?
> >
> > Thanks,
> > Ben
> >
> >
> > On Sun, Dec 2, 2012 at 10:04 PM, Jeff Zhang <[email protected]> wrote:
> >
> > > Hi,
> > >
> > > First sorry if this is not the right mail list for this kind of
> question,
> > > but could not find a user mail list, only find this dev mail list.
> > >
> > > My issue is that I meet errors when invoke the command ".configure" on
> > > ubuntu 12.04, I following the instruction in this page
> > > https://github.com/mesos/mesos/wiki
> > >
> > > And this is the error message
> > >
> > > ./include/process/socket.hpp: In member function 'void
> > Socket::cleanup()':
> > > ./include/process/socket.hpp:64:16: error: 'close' was not declared in
> > this
> > > scope
> > > make[4]: *** [libprocess_la-latch.lo] Error 1
> > > make[4]: Leaving directory
> > > `/home/zjffdu/mesos-0.9.0/third_party/libprocess'
> > > make[3]: *** [all-recursive] Error 1
> > > make[3]: Leaving directory
> > > `/home/zjffdu/mesos-0.9.0/third_party/libprocess'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/home/zjffdu/mesos-0.9.0/third_party'
> > > make[1]: *** [all] Error 2
> > > make[1]: Leaving directory `/home/zjffdu/mesos-0.9.0/third_party'
> > > make: *** [all-recursive] Error 1
> > >
> > >
> > > --
> > > Best Regards
> > >
> > > Jeff Zhang
> > >
> >
>
>
>
> --
> Best Regards
>
> Jeff Zhang
>

Reply via email to