You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by 梦开始的地方 <38...@qq.com> on 2017/01/23 00:24:10 UTC

compile mesos failed

mesos-1.1.0
./configure --with-protobuf=/usr/local/services/tjop_protobuf --with-ssl --with-sasl  --with-zlib --with-zookeeper=/usr/local/services/tjop_zookeeper --with-curl --enable-static --prefix=/usr/local/services/tjop_mesos  --disable-shared --with-leveldb --disable-python


in config.status:
S["CPPFLAGS"]="-Iyes/include -I/usr/include/subversion-1 -Iyes/include -Iyes/include -Iyes/include -I/usr/include/apr-1 -I/usr/inclu
de/apr-1.0  -Iyes/include -I/us"\
"r/local/services/tjop_protobuf/include -I/usr/local/services/tjop_protobuf/include -I/usr/local/services/tjop_zookeeper/include/zoo
keeper"
S["LDFLAGS"]="-Lyes/lib -Lyes/lib -Lyes/lib -Lyes/lib  -Lyes/lib -L/usr/local/services/tjop_protobuf/lib -L/usr/local/services/tjop_
protobuf/lib -L/usr/local/serv"\
"ices/tjop_zookeeper/lib"



but yes/include and yes/lib  path do not exsit




------------------ 原始邮件 ------------------
发件人: "Benjamin Mahler";<bm...@apache.org>;
发送时间: 2017年1月23日(星期一) 上午6:16
收件人: "user"<us...@mesos.apache.org>; 
抄送: "dev"<de...@mesos.apache.org>; 
主题: Re: Welcome Neil Conway as Mesos Committer and PMC member!



Congrats and welcome!

On Fri, Jan 20, 2017 at 11:03 PM, Vinod Kone <vi...@apache.org> wrote:
Hi folks,

Please welcome Neil Conway as the newest committer and PMC member of the Apache Mesos project.


Neil has been an active contributor to Mesos for more than a year now. As
part of his work, he has contributed some major features (Partition aware
frameworks, floating point operations for resources). Neil also took the initiative to improve the documentation of our project and shepherded several improvements over time. Doing that even without being a committer, shows that he takes ownership of the project seriously.


Here is his more formal checklist for your perusal.

https://docs.google.com/document/d/137MYwxEw9QCZRH09CXfn1544p1LuMuoj9LxS-sk2_F4/edit



Thanks,
Vinod

回复: compile mesos failed

Posted by 梦开始的地方 <38...@qq.com>.
I have figure out this problem,but I meet another problem


ces/tjop_protobuf/lib -lz -lsvn_delta-1 -lsvn_subr-1 -lsasl2 -lcurl -lapr-1 -lz -lrt
/bin/ld: /data/tmp/mesos-1.1.0/src/.libs/libmesos_no_3rdparty.a(libbuild_la-build.o): relocation R_X86_64_32 against `.rodata' can n
ot be used when making a shared object; recompile with -fPIC
/data/tmp/mesos-1.1.0/src/.libs/libmesos_no_3rdparty.a: could not read symbols: 错误的值
collect2: 错误:ld 返回 1
error: command 'g++' failed with exit status 1
make[2]: *** [python/dist/mesos.executor-1.1.0-py2.7-linux-x86_64.egg] 错误 1
make[2]: *** 正在等待未完成的任务....
/bin/ld: /data/tmp/mesos-1.1.0/src/.libs/libmesos_no_3rdparty.a(libbuild_la-build.o): relocation R_X86_64_32 against `.rodata' can n
ot be used when making a shared object; recompile with -fPIC
/data/tmp/mesos-1.1.0/src/.libs/libmesos_no_3rdparty.a: could not read symbols: 错误的值
collect2: 错误:ld 返回 1
error: command 'g++' failed with exit status 1
make[2]: *** [python/dist/mesos.scheduler-1.1.0-py2.7-linux-x86_64.egg] 错误 1
/bin/ld: ./.libs/libmesos_no_3rdparty.a(libbuild_la-build.o): relocation R_X86_64_32 against `.rodata' can not be used when making a
 shared object; recompile with -fPIC
./.libs/libmesos_no_3rdparty.a(libbuild_la-build.o): could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [libmesos.la] 错误 1
make[2]: 离开目录“/data/tmp/mesos-1.1.0/src”
make[1]: *** [all] 错误 2
make[1]: 离开目录“/data/tmp/mesos-1.1.0/src”
make: *** [all-recursive] 错误 1





this is my configure param:
./configure --with-protobuf=/usr/local/services/tjop_protobuf --with-ssl=/usr --with-sasl=/usr  --with-zlib=/usr --with-curl=/usr --enable-static --prefix=/usr/local/services/tjop_mesos --with-leveldb=/usr --enable-shared
env 
export JAVA_HOME=/usr/local/services/tjop_jdk
export JAVA_JVM_LIBRARY=/usr/local/services/tjop_jdk/jre/lib/amd64/server/libjvm.so
export MAVEN_HOME=/usr/local/services/apache-maven-3.3.9
export PYTHON=/usr/local/services/tjop_python/bin/python
export PATH=$PATH:/usr/local/services/tjop_python/bin



please help me,thanks
------------------ 原始邮件 ------------------
发件人: "haosdent";<ha...@gmail.com>;
发送时间: 2017年1月23日(星期一) 上午9:32
收件人: "user"<us...@mesos.apache.org>; 

主题: Re: compile mesos failed



Hi, could you provide error logs?

On Mon, Jan 23, 2017 at 8:24 AM, 梦开始的地方 <38...@qq.com> wrote:
mesos-1.1.0
./configure --with-protobuf=/usr/local/services/tjop_protobuf --with-ssl --with-sasl  --with-zlib --with-zookeeper=/usr/local/services/tjop_zookeeper --with-curl --enable-static --prefix=/usr/local/services/tjop_mesos  --disable-shared --with-leveldb --disable-python


in config.status:
S["CPPFLAGS"]="-Iyes/include -I/usr/include/subversion-1 -Iyes/include -Iyes/include -Iyes/include -I/usr/include/apr-1 -I/usr/inclu
de/apr-1.0  -Iyes/include -I/us"\
"r/local/services/tjop_protobuf/include -I/usr/local/services/tjop_protobuf/include -I/usr/local/services/tjop_zookeeper/include/zoo
keeper"
S["LDFLAGS"]="-Lyes/lib -Lyes/lib -Lyes/lib -Lyes/lib  -Lyes/lib -L/usr/local/services/tjop_protobuf/lib -L/usr/local/services/tjop_
protobuf/lib -L/usr/local/serv"\
"ices/tjop_zookeeper/lib"



but yes/include and yes/lib  path do not exsit




------------------ 原始邮件 ------------------
发件人: "Benjamin Mahler";<bm...@apache.org>;
发送时间: 2017年1月23日(星期一) 上午6:16
收件人: "user"<us...@mesos.apache.org>; 
抄送: "dev"<de...@mesos.apache.org>; 
主题: Re: Welcome Neil Conway as Mesos Committer and PMC member!







-- 
Best Regards,
Haosdent Huang

Re: compile mesos failed

Posted by haosdent <ha...@gmail.com>.
Hi, could you provide error logs?

On Mon, Jan 23, 2017 at 8:24 AM, 梦开始的地方 <38...@qq.com> wrote:

> mesos-1.1.0
> ./configure --with-protobuf=/usr/local/services/tjop_protobuf --with-ssl
> --with-sasl  --with-zlib --with-zookeeper=/usr/local/services/tjop_zookeeper
> --with-curl --enable-static --prefix=/usr/local/services/tjop_mesos
>  --disable-shared --with-leveldb --disable-python
>
> in config.status:
> S["CPPFLAGS"]="-Iyes/include -I/usr/include/subversion-1 -Iyes/include
> -Iyes/include -Iyes/include -I/usr/include/apr-1 -I/usr/inclu
> de/apr-1.0  -Iyes/include -I/us"\
> "r/local/services/tjop_protobuf/include -I/usr/local/services/tjop_protobuf/include
> -I/usr/local/services/tjop_zookeeper/include/zoo
> keeper"
> S["LDFLAGS"]="-Lyes/lib -Lyes/lib -Lyes/lib -Lyes/lib  -Lyes/lib
> -L/usr/local/services/tjop_protobuf/lib -L/usr/local/services/tjop_
> protobuf/lib -L/usr/local/serv"\
> "ices/tjop_zookeeper/lib"
>
> but yes/include and yes/lib  path do not exsit
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "Benjamin Mahler";<bm...@apache.org>;
> *发送时间:* 2017年1月23日(星期一) 上午6:16
> *收件人:* "user"<us...@mesos.apache.org>;
> *抄送:* "dev"<de...@mesos.apache.org>;
> *主题:* Re: Welcome Neil Conway as Mesos Committer and PMC member!
>
>
-- 
Best Regards,
Haosdent Huang