You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Benjamin Mahler <be...@gmail.com> on 2013/04/19 21:25:22 UTC

Re: mesos 0.13.0 $make

There's not much to go on here.. can you provide more information about
your system? OS / gcc version. Also, it would be beneficial if you provide
the exact command that got you to the error from a fresh checkout of the
project. It's unclear from your message whether the 'make
hadoop-0.20.205.0' invocation is relevant?

I'm confused as to why you're seeing snappy linking issues when we don't
use snappy in mesos. So more information would be great!


On Fri, Apr 19, 2013 at 6:39 AM, trq1102 <tr...@126.com> wrote:

>
>
> Hi,
> I have a problem when I installed mesos0.13.0 in my cluster, I hope I can
> get your help, thank you.
> I want to follow the following steps to deploy mesos0.13.0 in my cluater.
> $ git clone git://git.apache.org/mesos.git
> $ cd mesos
> $ ./bootstrap
> $ ./configure
> $ make
> $ cd hadoop
> $ make hadoop-0.20.205.0
> But the problem is that when I go into this step:$ make,there are errors,
> I wait for your help. thank you .
> [root@master ~]# cd mesos
> [root@master mesos]# make
> Making all in .
> make[1]: Entering directory `/home/tianruiqin/mesos'
> make[1]: Nothing to be done for `all-am'.
> make[1]: Leaving directory `/home/tianruiqin/mesos'
> Making all in third_party
> make[1]: Entering directory `/home/tianruiqin/mesos/third_party'
> make all-recursive
> make[2]: Entering directory `/home/tianruiqin/mesos/third_party'
> Making all in libprocess
> make[3]: Entering directory `/home/tianruiqin/mesos/third_party/libprocess'
> Making all in third_party
> make[4]: Entering directory
> `/home/tianruiqin/mesos/third_party/libprocess/third_party'
> make all-recursive
> make[5]: Entering directory
> `/home/tianruiqin/mesos/third_party/libprocess/third_party'
> Making all in stout
> make[6]: Entering directory
> `/home/tianruiqin/mesos/third_party/libprocess/third_party/stout'
> make[6]: Nothing to be done for `all'.
> make[6]: Leaving directory
> `/home/tianruiqin/mesos/third_party/libprocess/third_party/stout'
> make[6]: Entering directory
> `/home/tianruiqin/mesos/third_party/libprocess/third_party'
> make[6]: Nothing to be done for `all-am'.
> make[6]: Leaving directory
> `/home/tianruiqin/mesos/third_party/libprocess/third_party'
> make[5]: Leaving directory
> `/home/tianruiqin/mesos/third_party/libprocess/third_party'
> make[4]: Leaving directory
> `/home/tianruiqin/mesos/third_party/libprocess/third_party'
> Making all in .
> make[4]: Entering directory `/home/tianruiqin/mesos/third_party/libprocess'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory `/home/tianruiqin/mesos/third_party/libprocess'
> make[3]: Leaving directory `/home/tianruiqin/mesos/third_party/libprocess'
> make[3]: Entering directory `/home/tianruiqin/mesos/third_party'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/home/tianruiqin/mesos/third_party'
> make[2]: Leaving directory `/home/tianruiqin/mesos/third_party'
> make[1]: Leaving directory `/home/tianruiqin/mesos/third_party'
> Making all in src
> make[1]: Entering directory `/home/tianruiqin/mesos/src'
> /usr/lib/jvm/jdk1.7.0_17/bin/javah -d java/jni -classpath \
> ../protobuf-2.4.1.jar:java/classes \
> org.apache.mesos.MesosSchedulerDriver
> /usr/lib/jvm/jdk1.7.0_17/bin/javah -d java/jni -classpath \
> ../protobuf-2.4.1.jar:java/classes \
> org.apache.mesos.MesosExecutorDriver
> /usr/lib/jvm/jdk1.7.0_17/bin/javah -d java/jni -classpath \
> ../protobuf-2.4.1.jar:java/classes org.apache.mesos.Log
> /usr/lib/jvm/jdk1.7.0_17/bin/javah -d java/jni -classpath \
> ../protobuf-2.4.1.jar:java/classes org.apache.mesos.state.Variable
> /usr/lib/jvm/jdk1.7.0_17/bin/javah -d java/jni -classpath \
> ../protobuf-2.4.1.jar:java/classes org.apache.mesos.state.ZooKeeperState
> make all-am
> make[2]: Entering directory `/home/tianruiqin/mesos/src'
> /usr/lib/jvm/jdk1.7.0_17/bin/javah -d java/jni -classpath \
> ../protobuf-2.4.1.jar:java/classes org.apache.mesos.Log
> /usr/lib/jvm/jdk1.7.0_17/bin/javah -d java/jni -classpath \
> ../protobuf-2.4.1.jar:java/classes \
> org.apache.mesos.MesosSchedulerDriver
> /usr/lib/jvm/jdk1.7.0_17/bin/javah -d java/jni -classpath \
> ../protobuf-2.4.1.jar:java/classes \
> org.apache.mesos.MesosExecutorDriver
> /bin/sh ../libtool --tag=CXX --mode=link g++ -g -g2 -O2 -o mesos-local
> local/mesos_local-main.o libmesos.la -lcurl -lssl -lcrypto -lz -lrt
> libtool: link: g++ -g -g2 -O2 -o .libs/mesos-local
> local/mesos_local-main.o ./.libs/libmesos.so
> -L/usr/lib/jvm/jdk1.7.0_17/jre/lib/i386/server -lpthread -lcurl -lssl
> -lcrypto -lz -lrt -pthread -Wl,-rpath -Wl,/mesos/build/lib
> ./.libs/libmesos.so: undefined reference to `snappy::RawCompress(char
> const*, unsigned long, char*, unsigned long*)'
> ./.libs/libmesos.so: undefined reference to `snappy::RawUncompress(char
> const*, unsigned long, char*)'
> ./.libs/libmesos.so: undefined reference to
> `snappy::GetUncompressedLength(char const*, unsigned long, unsigned long*)'
> ./.libs/libmesos.so: undefined reference to
> `snappy::MaxCompressedLength(unsigned long)'
> collect2: ld returned 1 exit status
> make[2]: *** [mesos-local] Error 1
> make[2]: Leaving directory `/home/tianruiqin/mesos/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/tianruiqin/mesos/src'
> make: *** [all-recursive] Error 1
> [root@master mesos]#
> 2013-04-19
>
>
>
> trq1102
> 2013-04-19
>
>
>
> trq1102
> 2013-04-19
>
>
>
> trq1102
> 2013-04-19
>
>
>
> trq1102
>