Return-Path: Delivered-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Received: (qmail 44209 invoked from network); 8 Sep 2010 23:46:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Sep 2010 23:46:47 -0000 Received: (qmail 61630 invoked by uid 500); 8 Sep 2010 23:46:47 -0000 Delivered-To: apmail-incubator-deltacloud-dev-archive@incubator.apache.org Received: (qmail 61606 invoked by uid 500); 8 Sep 2010 23:46:47 -0000 Mailing-List: contact deltacloud-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltacloud-dev@incubator.apache.org Delivered-To: mailing list deltacloud-dev@incubator.apache.org Received: (qmail 61593 invoked by uid 99); 8 Sep 2010 23:46:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 23:46:47 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=10.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lutter@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 23:46:40 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o88NkJiK007107 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 8 Sep 2010 19:46:20 -0400 Received: from [10.3.113.27] (ovpn-113-27.phx2.redhat.com [10.3.113.27]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o88NkJaM029590 for ; Wed, 8 Sep 2010 19:46:19 -0400 Subject: Re: question about building libdeltacloud From: David Lutterkort To: deltacloud-dev@incubator.apache.org In-Reply-To: References: <1283981698.26851.31.camel@avon.watzmann.net> Content-Type: text/plain; charset="ISO-8859-15" Organization: Red Hat Inc Date: Wed, 08 Sep 2010 16:46:19 -0700 Message-ID: <1283989579.26851.55.camel@avon.watzmann.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 On Wed, 2010-09-08 at 16:50 -0500, Ed Bradford wrote: > That certainly solved that problem. [libcurl - replace with > "libcur-devel"] > Thank you for the quick reply. Glad to hear it works. > I trying to understand the complete architecture and just now learning > what Ruby is. I thought if I could push a instance creation with a C > thing, it would help me understand the Ruby code. I've only been at > this for about 2 weeks; I'm not all that speedy. The C client isn't needed at all for that. (But better documentation is at [1]) The easiest way to get going is to run 'yum install rubygems' and then 'gem install deltacloud-core' on your Fedora machine. The code you get from the gem is a little outdated, but good enough to get started, and will make sure that all dependencies are installed. To switch to the latest greatest, check out the repo from source, either with svn co https://svn.apache.org/repos/asf/incubator/deltacloud/ or git clone git://git.apache.org/deltacloud.git Then cd deltacloud ./server/bin/deltacloudd -i mock and point your browser at http://localhost:3001/api/ Use mockuser/mockpasswd as the username and password when you are prompted for them To run the command line client, you can do cd client # in the deltacloud directory export RUBYLIB=$PWD/lib export API_URL=http://mockuser:mockpassword@localhost:3001/api ./bin/deltacloudc -h ./bin/deltacloudc images ... David [1] How to run from a source checkout: http://incubator.apache.org/deltacloud/drivers.html#h1