You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Sharma, Abhijit" <Ab...@bmc.com> on 2011/08/04 18:42:12 UTC

Problem in building Mesos Code on Ubuntu Lucid Lynx 32 bit

I am trying to build Mesos Code on Ubuntu Lucid Lynx 32 bit and am facing some problems - it would be great if someone could guide me. I have run "configure" and subsequently when I run "make" it fails with the following error.

make[1]: Entering directory `/home/absharma/mesos/src'
g++ -c -O2 -fno-strict-aliasing -fPIC  -g -I. -I. -I../include -I../include -I../third_party/boost-1.37.0 -I../third_party/protobuf-2.3.0/src -I../third_party/glog-0.3.1/src -I../third_party/glog-0.3.1/src -I../third_party/libprocess/include -MMD -MP -o sched/sched.o sched/sched.cpp
g++ -c -O2 -fno-strict-aliasing -fPIC  -g -I. -I. -I../include -I../include -I../third_party/boost-1.37.0 -I../third_party/protobuf-2.3.0/src -I../third_party/glog-0.3.1/src -I../third_party/glog-0.3.1/src -I../third_party/libprocess/include -MMD -MP -o local/local.o local/local.cpp
In file included from ./master/master.hpp:35,
                 from local/local.hpp:26,
                 from local/local.cpp:25:
./common/utils.hpp: In function 'Result<bool> mesos::internal::utils::os::rm(const std::string&)':
./common/utils.hpp:272: error: '::remove' has not been declared
In file included from ../third_party/boost-1.37.0/boost/uuid/random_generator.hpp:12,
                 from ../third_party/boost-1.37.0/boost/uuid/uuid_generators.hpp:17,
                 from ./common/uuid.hpp:26,
                 from ./slave/slave.hpp:32,
                 from ./slave/process_based_isolation_module.hpp:28,
                 from local/local.cpp:36:


Regards
Abhijit


Re: Problem in building Mesos Code on Ubuntu Lucid Lynx 32 bit

Posted by Benjamin Hindman <be...@eecs.berkeley.edu>.
Hi Abhijit,

It looks like utils.hpp might be missing stdio.h. I've added that and pushed it to github (is that where you grabbed the code, I'll push it over to SVN shortly). Let me know if that solves your problems.

Thanks for pointing this out!

Ben.


On Aug 4, 2011, at 9:42 AM, Sharma, Abhijit wrote:

> I am trying to build Mesos Code on Ubuntu Lucid Lynx 32 bit and am facing some problems - it would be great if someone could guide me. I have run "configure" and subsequently when I run "make" it fails with the following error.
> 
> make[1]: Entering directory `/home/absharma/mesos/src'
> g++ -c -O2 -fno-strict-aliasing -fPIC  -g -I. -I. -I../include -I../include -I../third_party/boost-1.37.0 -I../third_party/protobuf-2.3.0/src -I../third_party/glog-0.3.1/src -I../third_party/glog-0.3.1/src -I../third_party/libprocess/include -MMD -MP -o sched/sched.o sched/sched.cpp
> g++ -c -O2 -fno-strict-aliasing -fPIC  -g -I. -I. -I../include -I../include -I../third_party/boost-1.37.0 -I../third_party/protobuf-2.3.0/src -I../third_party/glog-0.3.1/src -I../third_party/glog-0.3.1/src -I../third_party/libprocess/include -MMD -MP -o local/local.o local/local.cpp
> In file included from ./master/master.hpp:35,
>                 from local/local.hpp:26,
>                 from local/local.cpp:25:
> ./common/utils.hpp: In function 'Result<bool> mesos::internal::utils::os::rm(const std::string&)':
> ./common/utils.hpp:272: error: '::remove' has not been declared
> In file included from ../third_party/boost-1.37.0/boost/uuid/random_generator.hpp:12,
>                 from ../third_party/boost-1.37.0/boost/uuid/uuid_generators.hpp:17,
>                 from ./common/uuid.hpp:26,
>                 from ./slave/slave.hpp:32,
>                 from ./slave/process_based_isolation_module.hpp:28,
>                 from local/local.cpp:36:
> 
> 
> Regards
> Abhijit
>