You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Yu Wenhua <sy...@yuwh.net> on 2015/01/23 10:27:36 UTC

how to create rpm package

Hi,

  Can anyone tell me how to build a mesos rpm package? So I can deploy it to slave node easily

Thanks.

 

Yu.


Re: how to create rpm package

Posted by Tim St Clair <ts...@redhat.com>.
Re: CentOS7 - http://timothysc.github.io/blog/2014/09/08/mesos-breeze/

I still need to track back through epel.  

Cheers,
Tim

----- Original Message -----
> From: "Dick Davies" <di...@hellooperator.net>
> To: user@mesos.apache.org
> Sent: Monday, January 26, 2015 3:50:35 AM
> Subject: Re: how to create rpm package
> 
> Those RPMs are built for CentOS 6 i think.
> 
> For testing, you can get it to start up by just dropping in a symlink :
> 
> /lib64/libsasl2.so.2  -> /lib64/libsasl2.so.3
> 
> On 26 January 2015 at 01:33, Yu Wenhua <sy...@yuwh.net> wrote:
> > [root@zone1_0 ~]# uname -a
> >
> > Linux zone1_0 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014
> > x86_64 x86_64 x86_64 GNU/Linux
> >
> >
> >
> > I use CentOS7 and install the rpm from
> >
> >    https://mesosphere.com/2014/07/17/mesosphere-package-repositories/
> >
> > then got this error message:
> >
> > mesos-slave --master=192.168.3.5:5050
> >
> > mesos-slave: error while loading shared libraries: libsasl2.so.2: cannot
> > open shared object file: No such file or directory
> >
> >
> >
> > [root@zone1_0 ~]# ls /usr/lib64/libsasl2.so* -l
> >
> > lrwxrwxrwx. 1 root root     17 Nov 28 04:31 /usr/lib64/libsasl2.so.3 ->
> > libsasl2.so.3.0.0
> >
> > -rwxr-xr-x. 1 root root 121296 Jun 10  2014 /usr/lib64/libsasl2.so.3.0.0
> >
> > [root@zone1_0 ~]#
> >
> >
> >
> > Maybe   I have to build a rpm from the src file. Right?
> >
> >
> >
> >
> >
> > From: Tim St Clair [mailto:tstclair@redhat.com]
> > Sent: 2015年1月23日 22:59
> > To: user@mesos.apache.org
> > Subject: Re: how to create rpm package
> >
> >
> >
> > What's your distro+version?
> >
> >
> >
> > Cheers,
> >
> > Tim
> >
> >
> >
> > ________________________________
> >
> > From: "Yu Wenhua" <sy...@yuwh.net>
> > To: user@mesos.apache.org
> > Sent: Friday, January 23, 2015 3:27:36 AM
> > Subject: how to create rpm package
> >
> >
> >
> > Hi,
> >
> >   Can anyone tell me how to build a mesos rpm package? So I can deploy it
> >   to
> > slave node easily
> >
> > Thanks.
> >
> >
> >
> > Yu.
> >
> >
> >
> >
> >
> > --
> >
> > Cheers,
> > Timothy St. Clair
> > Red Hat Inc.
> 

-- 
Cheers,
Timothy St. Clair
Red Hat Inc.

Re: how to create rpm package

Posted by Dick Davies <di...@hellooperator.net>.
Those RPMs are built for CentOS 6 i think.

For testing, you can get it to start up by just dropping in a symlink :

/lib64/libsasl2.so.2  -> /lib64/libsasl2.so.3

On 26 January 2015 at 01:33, Yu Wenhua <sy...@yuwh.net> wrote:
> [root@zone1_0 ~]# uname -a
>
> Linux zone1_0 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014
> x86_64 x86_64 x86_64 GNU/Linux
>
>
>
> I use CentOS7 and install the rpm from
>
>    https://mesosphere.com/2014/07/17/mesosphere-package-repositories/
>
> then got this error message:
>
> mesos-slave --master=192.168.3.5:5050
>
> mesos-slave: error while loading shared libraries: libsasl2.so.2: cannot
> open shared object file: No such file or directory
>
>
>
> [root@zone1_0 ~]# ls /usr/lib64/libsasl2.so* -l
>
> lrwxrwxrwx. 1 root root     17 Nov 28 04:31 /usr/lib64/libsasl2.so.3 ->
> libsasl2.so.3.0.0
>
> -rwxr-xr-x. 1 root root 121296 Jun 10  2014 /usr/lib64/libsasl2.so.3.0.0
>
> [root@zone1_0 ~]#
>
>
>
> Maybe   I have to build a rpm from the src file. Right?
>
>
>
>
>
> From: Tim St Clair [mailto:tstclair@redhat.com]
> Sent: 2015年1月23日 22:59
> To: user@mesos.apache.org
> Subject: Re: how to create rpm package
>
>
>
> What's your distro+version?
>
>
>
> Cheers,
>
> Tim
>
>
>
> ________________________________
>
> From: "Yu Wenhua" <sy...@yuwh.net>
> To: user@mesos.apache.org
> Sent: Friday, January 23, 2015 3:27:36 AM
> Subject: how to create rpm package
>
>
>
> Hi,
>
>   Can anyone tell me how to build a mesos rpm package? So I can deploy it to
> slave node easily
>
> Thanks.
>
>
>
> Yu.
>
>
>
>
>
> --
>
> Cheers,
> Timothy St. Clair
> Red Hat Inc.

RE: how to create rpm package

Posted by Yu Wenhua <sy...@yuwh.net>.
[root@zone1_0 ~]# uname -a

Linux zone1_0 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

 

I use CentOS7 and install the rpm from 

   https://mesosphere.com/2014/07/17/mesosphere-package-repositories/

then got this error message:

mesos-slave --master=192.168.3.5:5050

mesos-slave: error while loading shared libraries: libsasl2.so.2: cannot open shared object file: No such file or directory

 

[root@zone1_0 ~]# ls /usr/lib64/libsasl2.so* -l

lrwxrwxrwx. 1 root root     17 Nov 28 04:31 /usr/lib64/libsasl2.so.3 -> libsasl2.so.3.0.0

-rwxr-xr-x. 1 root root 121296 Jun 10  2014 /usr/lib64/libsasl2.so.3.0.0

[root@zone1_0 ~]#

 

Maybe   I have to build a rpm from the src file. Right?

 

 

From: Tim St Clair [mailto:tstclair@redhat.com] 
Sent: 2015年1月23日 22:59
To: user@mesos.apache.org
Subject: Re: how to create rpm package

 

What's your distro+version?

 

Cheers,

Tim

 

  _____  

From: "Yu Wenhua" < <ma...@yuwh.net> sync@yuwh.net>
To:  <ma...@mesos.apache.org> user@mesos.apache.org
Sent: Friday, January 23, 2015 3:27:36 AM
Subject: how to create rpm package

 

Hi,

  Can anyone tell me how to build a mesos rpm package? So I can deploy it to slave node easily

Thanks.

 

Yu.

 

 

-- 

Cheers,
Timothy St. Clair
Red Hat Inc.


Re: how to create rpm package

Posted by Tim St Clair <ts...@redhat.com>.
What's your distro+version? 

Cheers, 
Tim 

----- Original Message -----

> From: "Yu Wenhua" <sy...@yuwh.net>
> To: user@mesos.apache.org
> Sent: Friday, January 23, 2015 3:27:36 AM
> Subject: how to create rpm package

> Hi,

> Can anyone tell me how to build a mesos rpm package? So I can deploy it to
> slave node easily

> Thanks.

> Yu.

-- 
Cheers, 
Timothy St. Clair 
Red Hat Inc. 

Re: how to create rpm package

Posted by Dick Davies <di...@hellooperator.net>.
There's an RPM repo, see documentation at:

   https://mesosphere.com/2014/07/17/mesosphere-package-repositories/

On 23 January 2015 at 09:27, Yu Wenhua <sy...@yuwh.net> wrote:
> Hi,
>
>   Can anyone tell me how to build a mesos rpm package? So I can deploy it to
> slave node easily
>
> Thanks.
>
>
>
> Yu.