You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Soumya Simanta <so...@gmail.com> on 2013/04/01 20:59:42 UTC

Error installing mesos on Redhat

I'm trying to install Mesos on a Redhat Linux but I'm getting some errors.
Any idea how to resolve these ?

* 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64
x86_64 GNU/Linux*

lpthread -lrt -pthread -Wl,-rpath -Wl,/usr/local/lib
g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\"
-DPACKAGE_VERSION=\"0.9.0\" -DPACKAGE_STRING=\"mesos\ 0.9.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\"
-DVERSION=\"0.9.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DMESOS_HAS_JAVA=1
-DMESOS_HAS_PYTHON=1 -DMESOS_WEBUI=1 -I.
-DMESOS_WEBUI_DIR=\"/usr/local/share/mesos/webui\"
-DMESOS_LIBEXECDIR=\"/usr/local/libexec/mesos\" -I../include
-I../third_party/libprocess/include -I../include
-I../third_party/boost-1.37.0 -I../third_party/protobuf-2.4.1/src
-I../third_party/glog-0.3.1/src
-I../third_party/zookeeper-3.3.4/src/c/include
-I../third_party/zookeeper-3.3.4/src/c/generated   -g2 -O2 -MT
master/mesos_master-main.o -MD -MP -MF master/.deps/mesos_master-main.Tpo
-c -o master/mesos_master-main.o `test -f 'master/main.cpp' || echo
'./'`master/main.cpp
mv -f master/.deps/mesos_master-main.Tpo master/.deps/mesos_master-main.Po
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g2 -O2   -o mesos-master
master/mesos_master-main.olibwebui.la libmesos.la -lrt
libtool: link: g++ -g2 -O2 -o .libs/mesos-master master/mesos_master-main.o
 ./.libs/libwebui.a -lpython2.7 ./.libs/libmesos.so
-L/usr/java/jdk1.7.0_03/jre/lib/amd64/server -lz -lpthread -lrt -pthread
-Wl,-rpath -Wl,/usr/local/lib
/usr/local/lib/libpython2.7.a(posixmodule.o): In function `posix_tmpnam':
/home/ssimanta/software/python/Python-2.7/./Modules/posixmodule.c:7275:
warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/local/lib/libpython2.7.a(posixmodule.o): In function `posix_tempnam':
/home/ssimanta/software/python/Python-2.7/./Modules/posixmodule.c:7230:
warning: the use of `tempnam' is dangerous, better use `mkstemp'
*/usr/local/lib/libpython2.7.a(posixmodule.o): In function `posix_forkpty':*
*posixmodule.c:(.text+0x298f): undefined reference to `forkpty'*
*/usr/local/lib/libpython2.7.a(posixmodule.o): In function `posix_openpty':*
*posixmodule.c:(.text+0x4596): undefined reference to `openpty'*
*collect2: ld returned 1 exit status*
*make[2]: *** [mesos-master] Error 1*
*make[2]: Leaving directory `/home/ssimanta/mesos/mesos-0.9.0/src'*
*make[1]: *** [all] Error 2*
*make[1]: Leaving directory `/home/ssimanta/mesos/mesos-0.9.0/src'*
*make: *** [all-recursive] Error 1*

Re: Error installing mesos on Redhat

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Thank you Soumya.

I'll try and take a look at this tomorrow, but it's possible someone
here on the list may be able to track down your issue before then.

Cheers,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++






-----Original Message-----
From: Soumya Simanta <so...@gmail.com>
Reply-To: "mesos-dev@incubator.apache.org" <me...@incubator.apache.org>
Date: Monday, April 1, 2013 4:05 PM
To: "mesos-dev@incubator.apache.org" <me...@incubator.apache.org>
Subject: Re: Error installing mesos on Redhat

>
>Chris, 
>
>Thanks. I tried with .10 but got the same error. I was able to build this
>successfully on Ubuntu but got another runtime error when I start the
>slave. I've posted another thread with that error.
>
>On Apr 1, 2013, at 3:27 PM, "Mattmann, Chris A (388J)"
><ch...@jpl.nasa.gov> wrote:
>
>> Hi Soumya,
>> 
>> Not sure if this is the problem, but Mesos also has a 0.10 release, that
>> you may try upgrading to to check if it fixes the issue.
>> 
>> Looks like an OS specific Python issue, but am not fully sure.
>> 
>> HTH.
>> 
>> Cheers,
>> Chris
>> 
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> Chris Mattmann, Ph.D.
>> Senior Computer Scientist
>> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
>> Office: 171-266B, Mailstop: 171-246
>> Email: chris.a.mattmann@nasa.gov
>> WWW:  http://sunset.usc.edu/~mattmann/
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> Adjunct Assistant Professor, Computer Science Department
>> University of Southern California, Los Angeles, CA 90089 USA
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> 
>> 
>> 
>> 
>> 
>> 
>> -----Original Message-----
>> From: Soumya Simanta <so...@gmail.com>
>> Reply-To: "mesos-dev@incubator.apache.org"
>><me...@incubator.apache.org>
>> Date: Monday, April 1, 2013 11:59 AM
>> To: "mesos-dev@incubator.apache.org" <me...@incubator.apache.org>
>> Subject: Error installing mesos on Redhat
>> 
>>> I'm trying to install Mesos on a Redhat Linux but I'm getting some
>>>errors.
>>> Any idea how to resolve these ?
>>> 
>>> * 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64
>>>x86_64
>>> x86_64 GNU/Linux*
>>> 
>>> lpthread -lrt -pthread -Wl,-rpath -Wl,/usr/local/lib
>>> g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\"
>>> -DPACKAGE_VERSION=\"0.9.0\" -DPACKAGE_STRING=\"mesos\ 0.9.0\"
>>> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\"
>>> -DVERSION=\"0.9.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
>>> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
>>>-DHAVE_MEMORY_H=1
>>> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
>>>-DHAVE_UNISTD_H=1
>>> -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1
>>> -DMESOS_HAS_JAVA=1
>>> -DMESOS_HAS_PYTHON=1 -DMESOS_WEBUI=1 -I.
>>> -DMESOS_WEBUI_DIR=\"/usr/local/share/mesos/webui\"
>>> -DMESOS_LIBEXECDIR=\"/usr/local/libexec/mesos\" -I../include
>>> -I../third_party/libprocess/include -I../include
>>> -I../third_party/boost-1.37.0 -I../third_party/protobuf-2.4.1/src
>>> -I../third_party/glog-0.3.1/src
>>> -I../third_party/zookeeper-3.3.4/src/c/include
>>> -I../third_party/zookeeper-3.3.4/src/c/generated   -g2 -O2 -MT
>>> master/mesos_master-main.o -MD -MP -MF
>>>master/.deps/mesos_master-main.Tpo
>>> -c -o master/mesos_master-main.o `test -f 'master/main.cpp' || echo
>>> './'`master/main.cpp
>>> mv -f master/.deps/mesos_master-main.Tpo
>>>master/.deps/mesos_master-main.Po
>>> /bin/sh ../libtool --tag=CXX   --mode=link g++  -g2 -O2   -o
>>>mesos-master
>>> master/mesos_master-main.olibwebui.la libmesos.la -lrt
>>> libtool: link: g++ -g2 -O2 -o .libs/mesos-master
>>> master/mesos_master-main.o
>>> ./.libs/libwebui.a -lpython2.7 ./.libs/libmesos.so
>>> -L/usr/java/jdk1.7.0_03/jre/lib/amd64/server -lz -lpthread -lrt
>>>-pthread
>>> -Wl,-rpath -Wl,/usr/local/lib
>>> /usr/local/lib/libpython2.7.a(posixmodule.o): In function
>>>`posix_tmpnam':
>>> /home/ssimanta/software/python/Python-2.7/./Modules/posixmodule.c:7275:
>>> warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
>>> /usr/local/lib/libpython2.7.a(posixmodule.o): In function
>>>`posix_tempnam':
>>> /home/ssimanta/software/python/Python-2.7/./Modules/posixmodule.c:7230:
>>> warning: the use of `tempnam' is dangerous, better use `mkstemp'
>>> */usr/local/lib/libpython2.7.a(posixmodule.o): In function
>>> `posix_forkpty':*
>>> *posixmodule.c:(.text+0x298f): undefined reference to `forkpty'*
>>> */usr/local/lib/libpython2.7.a(posixmodule.o): In function
>>> `posix_openpty':*
>>> *posixmodule.c:(.text+0x4596): undefined reference to `openpty'*
>>> *collect2: ld returned 1 exit status*
>>> *make[2]: *** [mesos-master] Error 1*
>>> *make[2]: Leaving directory `/home/ssimanta/mesos/mesos-0.9.0/src'*
>>> *make[1]: *** [all] Error 2*
>>> *make[1]: Leaving directory `/home/ssimanta/mesos/mesos-0.9.0/src'*
>>> *make: *** [all-recursive] Error 1*
>> 


Re: Error installing mesos on Redhat

Posted by Soumya Simanta <so...@gmail.com>.
Chris, 

Thanks. I tried with .10 but got the same error. I was able to build this successfully on Ubuntu but got another runtime error when I start the slave. I've posted another thread with that error. 

On Apr 1, 2013, at 3:27 PM, "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov> wrote:

> Hi Soumya,
> 
> Not sure if this is the problem, but Mesos also has a 0.10 release, that
> you may try upgrading to to check if it fixes the issue.
> 
> Looks like an OS specific Python issue, but am not fully sure.
> 
> HTH.
> 
> Cheers,
> Chris
> 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Chris Mattmann, Ph.D.
> Senior Computer Scientist
> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
> Office: 171-266B, Mailstop: 171-246
> Email: chris.a.mattmann@nasa.gov
> WWW:  http://sunset.usc.edu/~mattmann/
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Adjunct Assistant Professor, Computer Science Department
> University of Southern California, Los Angeles, CA 90089 USA
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Soumya Simanta <so...@gmail.com>
> Reply-To: "mesos-dev@incubator.apache.org" <me...@incubator.apache.org>
> Date: Monday, April 1, 2013 11:59 AM
> To: "mesos-dev@incubator.apache.org" <me...@incubator.apache.org>
> Subject: Error installing mesos on Redhat
> 
>> I'm trying to install Mesos on a Redhat Linux but I'm getting some errors.
>> Any idea how to resolve these ?
>> 
>> * 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64
>> x86_64 GNU/Linux*
>> 
>> lpthread -lrt -pthread -Wl,-rpath -Wl,/usr/local/lib
>> g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\"
>> -DPACKAGE_VERSION=\"0.9.0\" -DPACKAGE_STRING=\"mesos\ 0.9.0\"
>> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\"
>> -DVERSION=\"0.9.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
>> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
>> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
>> -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1
>> -DMESOS_HAS_JAVA=1
>> -DMESOS_HAS_PYTHON=1 -DMESOS_WEBUI=1 -I.
>> -DMESOS_WEBUI_DIR=\"/usr/local/share/mesos/webui\"
>> -DMESOS_LIBEXECDIR=\"/usr/local/libexec/mesos\" -I../include
>> -I../third_party/libprocess/include -I../include
>> -I../third_party/boost-1.37.0 -I../third_party/protobuf-2.4.1/src
>> -I../third_party/glog-0.3.1/src
>> -I../third_party/zookeeper-3.3.4/src/c/include
>> -I../third_party/zookeeper-3.3.4/src/c/generated   -g2 -O2 -MT
>> master/mesos_master-main.o -MD -MP -MF master/.deps/mesos_master-main.Tpo
>> -c -o master/mesos_master-main.o `test -f 'master/main.cpp' || echo
>> './'`master/main.cpp
>> mv -f master/.deps/mesos_master-main.Tpo master/.deps/mesos_master-main.Po
>> /bin/sh ../libtool --tag=CXX   --mode=link g++  -g2 -O2   -o mesos-master
>> master/mesos_master-main.olibwebui.la libmesos.la -lrt
>> libtool: link: g++ -g2 -O2 -o .libs/mesos-master
>> master/mesos_master-main.o
>> ./.libs/libwebui.a -lpython2.7 ./.libs/libmesos.so
>> -L/usr/java/jdk1.7.0_03/jre/lib/amd64/server -lz -lpthread -lrt -pthread
>> -Wl,-rpath -Wl,/usr/local/lib
>> /usr/local/lib/libpython2.7.a(posixmodule.o): In function `posix_tmpnam':
>> /home/ssimanta/software/python/Python-2.7/./Modules/posixmodule.c:7275:
>> warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
>> /usr/local/lib/libpython2.7.a(posixmodule.o): In function `posix_tempnam':
>> /home/ssimanta/software/python/Python-2.7/./Modules/posixmodule.c:7230:
>> warning: the use of `tempnam' is dangerous, better use `mkstemp'
>> */usr/local/lib/libpython2.7.a(posixmodule.o): In function
>> `posix_forkpty':*
>> *posixmodule.c:(.text+0x298f): undefined reference to `forkpty'*
>> */usr/local/lib/libpython2.7.a(posixmodule.o): In function
>> `posix_openpty':*
>> *posixmodule.c:(.text+0x4596): undefined reference to `openpty'*
>> *collect2: ld returned 1 exit status*
>> *make[2]: *** [mesos-master] Error 1*
>> *make[2]: Leaving directory `/home/ssimanta/mesos/mesos-0.9.0/src'*
>> *make[1]: *** [all] Error 2*
>> *make[1]: Leaving directory `/home/ssimanta/mesos/mesos-0.9.0/src'*
>> *make: *** [all-recursive] Error 1*
> 

Re: Error installing mesos on Redhat

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hi Soumya,

Not sure if this is the problem, but Mesos also has a 0.10 release, that
you may try upgrading to to check if it fixes the issue.

Looks like an OS specific Python issue, but am not fully sure.

HTH.

Cheers,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++






-----Original Message-----
From: Soumya Simanta <so...@gmail.com>
Reply-To: "mesos-dev@incubator.apache.org" <me...@incubator.apache.org>
Date: Monday, April 1, 2013 11:59 AM
To: "mesos-dev@incubator.apache.org" <me...@incubator.apache.org>
Subject: Error installing mesos on Redhat

>I'm trying to install Mesos on a Redhat Linux but I'm getting some errors.
>Any idea how to resolve these ?
>
>* 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64
>x86_64 GNU/Linux*
>
>lpthread -lrt -pthread -Wl,-rpath -Wl,/usr/local/lib
>g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\"
>-DPACKAGE_VERSION=\"0.9.0\" -DPACKAGE_STRING=\"mesos\ 0.9.0\"
>-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\"
>-DVERSION=\"0.9.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
>-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
>-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
>-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1
>-DMESOS_HAS_JAVA=1
>-DMESOS_HAS_PYTHON=1 -DMESOS_WEBUI=1 -I.
>-DMESOS_WEBUI_DIR=\"/usr/local/share/mesos/webui\"
>-DMESOS_LIBEXECDIR=\"/usr/local/libexec/mesos\" -I../include
>-I../third_party/libprocess/include -I../include
>-I../third_party/boost-1.37.0 -I../third_party/protobuf-2.4.1/src
>-I../third_party/glog-0.3.1/src
>-I../third_party/zookeeper-3.3.4/src/c/include
>-I../third_party/zookeeper-3.3.4/src/c/generated   -g2 -O2 -MT
>master/mesos_master-main.o -MD -MP -MF master/.deps/mesos_master-main.Tpo
>-c -o master/mesos_master-main.o `test -f 'master/main.cpp' || echo
>'./'`master/main.cpp
>mv -f master/.deps/mesos_master-main.Tpo master/.deps/mesos_master-main.Po
>/bin/sh ../libtool --tag=CXX   --mode=link g++  -g2 -O2   -o mesos-master
>master/mesos_master-main.olibwebui.la libmesos.la -lrt
>libtool: link: g++ -g2 -O2 -o .libs/mesos-master
>master/mesos_master-main.o
> ./.libs/libwebui.a -lpython2.7 ./.libs/libmesos.so
>-L/usr/java/jdk1.7.0_03/jre/lib/amd64/server -lz -lpthread -lrt -pthread
>-Wl,-rpath -Wl,/usr/local/lib
>/usr/local/lib/libpython2.7.a(posixmodule.o): In function `posix_tmpnam':
>/home/ssimanta/software/python/Python-2.7/./Modules/posixmodule.c:7275:
>warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
>/usr/local/lib/libpython2.7.a(posixmodule.o): In function `posix_tempnam':
>/home/ssimanta/software/python/Python-2.7/./Modules/posixmodule.c:7230:
>warning: the use of `tempnam' is dangerous, better use `mkstemp'
>*/usr/local/lib/libpython2.7.a(posixmodule.o): In function
>`posix_forkpty':*
>*posixmodule.c:(.text+0x298f): undefined reference to `forkpty'*
>*/usr/local/lib/libpython2.7.a(posixmodule.o): In function
>`posix_openpty':*
>*posixmodule.c:(.text+0x4596): undefined reference to `openpty'*
>*collect2: ld returned 1 exit status*
>*make[2]: *** [mesos-master] Error 1*
>*make[2]: Leaving directory `/home/ssimanta/mesos/mesos-0.9.0/src'*
>*make[1]: *** [all] Error 2*
>*make[1]: Leaving directory `/home/ssimanta/mesos/mesos-0.9.0/src'*
>*make: *** [all-recursive] Error 1*