Kevin,

It comes down to what you want to do with it.  If you want to run Riak,
store data in it and use it in some production sense, you don't want the
'make devrel' functionality anyway. You want one Riak node running on each
machine.  Use the Riak package we ship (you don't need to uninstall Erlang
package from Ubuntu).

Now, if you want to develop against Riak and have more than one running
node on a machine at a time for test purposes, building from source is the
best way.  Given that, building erlang from source along the way is what
I'd do because frankly I don't trust how distributions package up things
like Erlang, breaking it up into many packages (sudo apt-cache search
erlang | grep erlang- | wc -l  ---> 57).   We documented how to build
erlang from source as well
http://docs.basho.com/riak/latest/tutorials/installation/Installing-Erlang/#Installing-onGNU/Linux

-Jared



On Thu, Nov 1, 2012 at 12:48 PM, Kevin Burton <[email protected]>wrote:

> Since I already have erlang installed do I have to uninstall it and do
> this apt-get then reinstall it? If so how do I do that? I am just following
> the directions in the documentation (
> http://docs.basho.com/riak/latest/tutorials/installation/Installing-on-Debian-and-Ubuntu/
> ).
>
> Like the documentation says my Ubuntu has a package that is out of date
> even though it has the right version stamp?
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Thursday, November 01, 2012 1:26 PM
> To: Kevin Burton
> Cc: 'Jared Morrow'; [email protected]
> Subject: RE: Riak installation on Ubuntu Server
>
> If you're building from source you'll want to have some dependencies
> installed first by running the following command i.e. before installing
> Erlang:
>
> apt-get -y install build-essential libncurses5-dev openssl libssl-dev m4
> libssh-dev unixodbc-dev libwxgtk2.8-dev libglu-dev fop xsltproc default-jdk
> tk-dev
>
> Cheers,
>
> Charles.
>
> -----Original Message-----
> From: "Kevin Burton" <[email protected]>
> Sent: Thursday, 1 November, 2012 7:07pm
> To: "'Jared Morrow'" <[email protected]>
> Cc: [email protected]
> Subject: RE: Riak installation on Ubuntu Server
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> By the way the build seems to work fine (make rel). Just a few warnings.
> But there is no indication of an error until the erlang generate error
> detailed below.
>
>
>
> From: Jared Morrow [mailto:[email protected]]
> Sent: Thursday, November 01, 2012 12:58 PM
> To: Kevin Burton
> Cc: [email protected]
> Subject: Re: Riak installation on Ubuntu Server
>
>
>
> Devrel will depend on a working build first, so sticking with just 'make'
> to see if that works will be a good first step.
>
>
>
> If you can run 'make' and put the output in a gist or pastebin for me I
> can try and take a look at it.
>
>
>
> Are you building from an untarred source tarball of Riak 1.2.1, or cloning
> from Github?
>
>
>
> Also, if you haven't already looked at it, these instructions are the best
> ones to follow when building from source
> http://docs.basho.com/riak/latest/tutorials/installation/Installing-Riak-fro
> m-Source/
>
>
>
> -Jared
>
> On Thu, Nov 1, 2012 at 11:46 AM, Kevin Burton <[email protected]>
> wrote:
>
> I get
>
>
>
> Erlang R15B01 (erts-5.9.1) [source] [64bit] [async-threads:0]
> [kernel-poll:false]
>
> EShell V5.9.1 (abort with ^G)
>
>
>
> In the case of make devrel it is definitely skipping something as the dev
> directory is completely empty.
>
>
>
>
>
> From: Jared Morrow [mailto:[email protected]]
> Sent: Thursday, November 01, 2012 12:39 PM
>
>
> To: Kevin Burton
> Cc: [email protected]
> Subject: Re: Riak installation on Ubuntu Server
>
>
>
> If building 1.2.1 from source, make sure you have erlang r15B01 installed
> and in your path.
>
>
>
> That particular error I have never seen.  If you type 'erl' in the command
> line, what do you see?
>
>
>
> -Jared
>
> On Thu, Nov 1, 2012 at 11:33 AM, Kevin Burton <[email protected]>
> wrote:
>
> Better yet I decided to build from source. But I ran into the following
> error:
>
>
>
> ERROR: Unable to generate spec: read file info
> /usr/lib/erlang/man/man1/qemu-i386.1 failed
>
>
>
> From the content this error seems to related to erlang more than riak but I
> am wondering if this makes other portions of the build unavailable?
>
>
>
> Thanks again.
>
>
>
> From: Jared Morrow [mailto:[email protected]]
> Sent: Thursday, November 01, 2012 11:50 AM
>
>
> To: Kevin Burton
> Cc: [email protected]
> Subject: Re: Riak installation on Ubuntu Server
>
>
>
> Kevin,
>
>
>
> So you are on 12.10, which is one minor release past Precise (12.04) which
> is the current LTS (Long Term Support) release.  I haven't confirmed that
> the Precise Riak package will work on Quantal, but I suspect it will be
> fine.  In version mismatches most issues you'll find will be on install
> with
> dependencies.  If this is something you will rely on for a business in a
> production sense, I'd recommend using a LTS release like Precise (12.04)
> instead and know that we tested Riak on that platform.  If this is for
> development purposes,  you will likely be fine on 12.10.  If something
> complains on install with dependencies please let me know so I can respond
> differently the next time this comes up on the mailing list.
>
>
>
> -Jared
>
> On Thu, Nov 1, 2012 at 10:44 AM, Kevin Burton <[email protected]>
> wrote:
>
> I can do a lsb_release -a and I get:
>
>
>
> Distributor ID: Ubuntu
>
> Description: Ubuntu 12.10
>
> Release: 12.10
>
> Codename: quantal
>
>
>
> From: Jared Morrow [mailto:[email protected]]
> Sent: Thursday, November 01, 2012 11:42 AM
> To: Kevin Burton
> Cc: [email protected]
> Subject: Re: Riak installation on Ubuntu Server
>
>
>
> Kevin
>
>
>
> As far as I know, the lsb_release tool is installed by default on all
> Ubuntu
> installs. You can use it to get the codename of the release like:
>
> For Ubuntu 10.04
>
>
>
>
>
> $ lsb_release -c
> Codename:    lucid
>
> or Ubuntu 12.04
>
>
>
>
>
> $ lsb_release -c
> Codename:    precise
>
> You can also get the information from the /etc/lsb-release file directly.
>
> % cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=12.04
> DISTRIB_CODENAME=precise
> DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"
>
>
>
> Hope that helps,
>
> Jared
>
>
>
>
>
> On Thu, Nov 1, 2012 at 10:26 AM, Kevin Burton <[email protected]>
> wrote:
>
> I was looking at the options of installing Riak and there are several
> options under Ubuntu: Lucid, Natty, and Precise. This is a Linux Ubuntu
> Server. I am not sure how to tell which variant it is.
>
>
>
> Thank you.
>
>
>
> Kevin
>
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
>
>
>
>
>
>
>
>
>
>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to