I am not doing the standard rpm, but am building from source and following their directions for running the mesos master. Mesos 0.25 runs fine -non-docker and docker and doesn’t need g++ to run. I can also run mesos master 0.27.1 fine non-docker and docker; I just want to know why mesos master 0.27.1 needs g++.
Is this more a question for the developer list? Thanks, Mark Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: haosdent<mailto:[email protected]> Sent: Sunday, March 6, 2016 8:03 PM To: user<mailto:[email protected]> Subject: Re: mesos master 0.27.1 needs g++ to execute ? I think you should not run it by "build/bin/xxx.sh", it may only work in your build machine. You could try install it by deb/rpm http://open.mesosphere.com/downloads/mesos/#apache-mesos-0.27.0 On Mon, Mar 7, 2016 at 8:51 AM, kr di <[email protected]> wrote: > Sure – sorry. I did two ones, one before I added gcc and the other after > I added gcc: > > > > The following is if I simply use the same dockerfile for mesos 0.27.1 as I > used with mesos 0.25 (which executed and worked fine without error): > > > > + exec /home/ec2-user/mm.dev/mesos/build/bin/mesos-master.sh > --Iog_dir=/data/mesos/logs --no-hostname_lookup > --c1uster=marks-mm-test_Mesos_master-zk=zk://10.6.250.84:2181, > 10.6.250.83:2181,1O.6.250.82:2181/mesos --ip=172.1.0.4 > -advertiseJp=1O.6.250.82 --quorum=2 --work_dir=/data/mesos/work > /home/ec2-user/mm.dev/mesos-0.27.1/build/src/mesos-master: line 202: g++: > command not found > > > > The following is the error from mesos 0.27.1 if I add gcc-c++ to the > docker container: > > > > + exec /home/ec2-user/mm.dev/mesos/build/bin/mesos-master.sh > --Iog_dir=/data/mesos/logs --no-hostname_lookup > --cluster=marks-mm-test_Mesos_master-zk=zk://10.6.250.84:2181, > 10.6.250.83:2181,10.6.250.82:2181/mesos --ip=172.1.0.4 > -advertiseJp=1O.6.250.82 --quorum=2 --work_dir=/data/mesos/work g++: error: > /usr/lib64/libaprutil-1.so: No such file or directory g++: error: > /usr/lib64/libapr-1.so: No such file or directory > > 1 > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > > > *From: *Klaus Ma <[email protected]> > *Sent: *Sunday, March 6, 2016 8:17 AM > *To: *[email protected] > *Subject: *Re: mesos master 0.27.1 needs g++ to execute ? > > > Hi KR, > > Can you share the error message? > > ---- > Da (Klaus), Ma (马达) | PMP® | Advisory Software Engineer > Platform OpenSource Technology, STG, IBM GCG > +86-10-8245 4084 | [email protected] | http://k82.me > > On Sun, Mar 6, 2016 at 8:22 PM, kr di <[email protected]> wrote: > > I have dockerized amy compiled version of mesos master for version 0.25 > successfully. In moving closer to production, I am upgrading to 0.27.1. > However, in dockerizing 0.27.1, the mesos master seems to need g++ (plus a > few libraries) to execute which was not the case with mesos 0.25. I am not > speaking of compiling mesos. I successfully downloaded mesos tar file and > compiled mesos (0.25 and 0.27.1) on RHEL 7.2. Mesos master 0.27.1 runs > without issues on my system with development tools. > > > > The issue is that I am hesitate to put development tools on a production > system without understanding why g++ is needed. Could someone briefly > explain why I need g++ to run mesos 0.27.1 (and maybe why mesos 0.25 did > not require g++) to run? And whether there is a work-around to not having > development tools (g++) for mesos master? > > > > Awesome software btw. > > > > Thank you, > > > > KR > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > > > > -- Best Regards, Haosdent Huang

