Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Setup failure

Received: by 10.205.139.2 with SMTP id iu2mr4377608bkc.7.1341860840541;
        Mon, 09 Jul 2012 12:07:20 -0700 (PDT)
X-BeenThere: camlistore@googlegroups.com
Received: by 10.204.130.131 with SMTP id t3ls736981bks.9.gmail; Mon, 09 Jul
 2012 12:07:18 -0700 (PDT)
Received: by 10.204.130.7 with SMTP id q7mr3278967bks.2.1341860838861;
        Mon, 09 Jul 2012 12:07:18 -0700 (PDT)
Received: by 10.204.130.7 with SMTP id q7mr3278964bks.2.1341860838833;
        Mon, 09 Jul 2012 12:07:18 -0700 (PDT)
Return-Path: <bradf...@gmail.com>
Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com [209.85.217.178])
        by gmr-mx.google.com with ESMTPS id p5si16698669bks.1.2012.07.09.12.07.18
        (version=TLSv1/SSLv3 cipher=OTHER);
        Mon, 09 Jul 2012 12:07:18 -0700 (PDT)
Received-SPF: pass (google.com: domain of bradf...@gmail.com designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of bradf...@gmail.com designates 209.85.217.178 as permitted sender) smtp.mail=bradf...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-lb0-f178.google.com with SMTP id gj10so17232183lbb.9
        for <camlistore@googlegroups.com>; Mon, 09 Jul 2012 12:07:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:reply-to:sender:in-reply-to:references:date
         :x-google-sender-auth:message-id:subject:from:to:content-type;
        bh=obJBs4ML/MEiaskCppaS5UwBMlzruZ2V2NGE50p2Sgg=;
        b=Za2anxRkXs2VJ9UhkHaaHk6FWBWckW+DFcMgUHUiDFp+0SlR2QhnByf1k64s2vlJ/F
         7IVk78wIMMrVgLhC6rFogl+RhtDoM/hp7y6RLkLj10lFIegeINmlcgehGc/WHPqAIRvE
         tyn8MZKQgKPGmTVXQJzacx/KyTsmnGXXTUlUWAaqzxHFrnpI4IaAHT2PD3SaWbBPJiba
         xBSKrGYTVZ7LlMompEGTEf5xz1Cg7e/wpTXgSr9p+bvI0NNo2d8hnD9xIOAKYrUHAHKm
         v+JgJeCBnEFJ4TsptWw7lRX20HWKlrMVvF3cXd21clq9SqtmPbgpK5rCmOrhDGoeidE/
         i42g==
MIME-Version: 1.0
Received: by 10.112.17.200 with SMTP id q8mr18465677lbd.11.1341860838220; Mon,
 09 Jul 2012 12:07:18 -0700 (PDT)
Reply-To: b...@danga.com
Sender: bradf...@gmail.com
Received: by 10.112.92.53 with HTTP; Mon, 9 Jul 2012 12:07:18 -0700 (PDT)
In-Reply-To: <650a19fc-33d9-428a-85ce-de4f3f9c84f5@googlegroups.com>
References: <650a19fc-33d9-428a-85ce-de4f3f9c84f5@googlegroups.com>
Date: Mon, 9 Jul 2012 12:07:18 -0700
Message-ID: <CAKPOmqMYopJoJ6e+CsxdbVQS-j+E1Jzvz2TUnLX35607Xff...@mail.gmail.com>
Subject: Re: Setup failure
From: Brad Fitzpatrick <b...@danga.com>
To: camlistore@googlegroups.com
Content-Type: multipart/alternative; boundary=bcaec554d82699a2b304c46a5268

--bcaec554d82699a2b304c46a5268
Content-Type: text/plain; charset=UTF-8

On Mon, Jul 9, 2012 at 6:36 AM, bsr <bsr...@gmail.com> wrote:

>
> Hello,
>
> I was trying to setup camlistore,
>
> ========== 1 ==========
> when clone from camlistore git repo, as it might be the latest, I get the
> below error. Tried few times, expecting n/w issue, but results the same.
>
> $ git clone https://camlistore.org/r/p/camlistore camlistore2
> Cloning into 'camlistore2'...
> remote: Counting objects: 14121, done
> remote: Finding sources: 100% (14121/14121)
> error: RPC failed; result=18, HTTP code = 200iB | 344 KiB/s
> fatal: The remote end hung up unexpectedly
> fatal: early EOF
> fatal: index-pack failed
>
>
This works fine for me, with git 1.7.7.3 at least.



> cloned the github repo (https://github.com/bradfitz/camlistore.git),
> though it is slightly outdated
>
> ====== 2 =============
>
> when run dev-server, as per the setup.txt, I got the below error
>
> $ ./dev-server
> server/camlistored/camlistored.go:45:2: import "
> camlistore.org/pkg/blobserver/cond": cannot find package
> server/camlistored/camlistored.go:46:2: import "
> camlistore.org/pkg/blobserver/localdisk": cannot find package
> server/camlistored/camlistored.go:47:2: import "
> camlistore.org/pkg/blobserver/remote": cannot find package
> server/camlistored/camlistored.go:48:2: import "
> camlistore.org/pkg/blobserver/replica": cannot find package
> server/camlistored/camlistored.go:49:2: import "
> camlistore.org/pkg/blobserver/s3": cannot find package
> server/camlistored/camlistored.go:50:2: import "
> camlistore.org/pkg/blobserver/shard": cannot find package
> server/camlistored/camlistored.go:52:2: import "camlistore.org/pkg/index":
> cannot find package
> server/camlistored/camlistored.go:53:2: import "
> camlistore.org/pkg/index/mongo": cannot find package
> server/camlistored/camlistored.go:54:2: import "
> camlistore.org/pkg/index/mysql": cannot find package
> server/camlistored/camlistored.go:39:2: import "
> camlistore.org/pkg/jsonsign": cannot find package
> server/camlistored/setup.go:25:2: import "camlistore.org/pkg/netutil":
> cannot find package
> server/camlistored/camlistored.go:40:2: import "camlistore.org/pkg/osutil":
> cannot find package
> server/camlistored/camlistored.go:57:2: import "camlistore.org/pkg/search":
> cannot find package
> server/camlistored/camlistored.go:58:2: import "camlistore.org/pkg/server":
> cannot find package
> server/camlistored/camlistored.go:41:2: import "
> camlistore.org/pkg/serverconfig": cannot find package
> server/camlistored/camlistored.go:42:2: import "
> camlistore.org/pkg/webserver": cannot find package
> server/camlistored/camlistored.go:60:2: import "
> camlistore.org/third_party/code.google.com/p/go.crypto/openpgp": cannot
> find package
>
> ============== 3 ===========
> make on the root directory failed.
> make
> go install ./pkg/... ./server/... ./cmd/... ./third_party/...
> pkg/auth/auth.go:28:2: import "camlistore.org/pkg/netutil": cannot find
> package
> pkg/blobref/fetcher.go:31:2: import "camlistore.org/pkg/osutil": cannot
> find package
>
> if I need to install with go install / go get, please let me know which
> target?
>

You need to run git clone in your GOPATH src directory.

So if GOPATH=$HOME, then:

$ cd $GOPATH/src
$ git clone  https://camlistore.org/r/p/camlistore camlistore.org

Alternatively, just do:

$ go install camlistore.org/server/camlistored

... which will put everything in the right place.

The docs are probably slightly old at this point. Sorry.

--bcaec554d82699a2b304c46a5268
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 9, 2012 at 6:36 AM, bsr <span dir=3D"ltr">&lt;<a href=3D"mailto=
:bsr...@gmail.com" target=3D"_blank">bsr...@gmail.com</a>&gt;</span> wrote:=
<br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><div>Hello,</div><div><br></div><div>I was trying to setup=C2=A0camlist=
ore,</div><div><br></div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1 =3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D</div><div>when clone from=C2=A0camlistore git repo, as i=
t might be the latest, I get the below error. Tried few times, expecting n/=
w issue, but results the same.</div>
<div><br></div><div><div>$ git clone <a href=3D"https://camlistore.org/r/p/=
camlistore" target=3D"_blank">https://camlistore.org/r/p/camlistore</a> cam=
listore2</div><div>Cloning into &#39;camlistore2&#39;...</div><div>remote: =
Counting objects: 14121, done</div>
<div>remote: Finding sources: 100% (14121/14121)</div><div>error: RPC faile=
d; result=3D18, HTTP code =3D 200iB | 344 KiB/s =C2=A0 =C2=A0</div><div>fat=
al: The remote end hung up unexpectedly</div><div>fatal: early EOF</div><di=
v>fatal: index-pack failed</div>
</div><div><br></div></blockquote><div><br></div><div>This works fine for m=
e, with git 1.7.7.3 at least.</div><div><br></div><div>=C2=A0</div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex">
<div></div><div>cloned the github repo (<a href=3D"https://github.com/bradf=
itz/camlistore.git" target=3D"_blank">https://github.com/bradfitz/camlistor=
e.git</a>), though it is slightly outdated</div><div><br></div><div>=3D=3D=
=3D=3D=3D=3D 2 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div>
<div><br></div><div>when run dev-server, as per the setup.txt, I got the be=
low error</div><div><br></div><div><div>$ ./dev-server=C2=A0</div><div>serv=
er/camlistored/camlistored.go:45:2: import &quot;<a href=3D"http://camlisto=
re.org/pkg/blobserver/cond" target=3D"_blank">camlistore.org/pkg/blobserver=
/cond</a>&quot;: cannot find package</div>
<div>server/camlistored/camlistored.go:46:2: import &quot;<a href=3D"http:/=
/camlistore.org/pkg/blobserver/localdisk" target=3D"_blank">camlistore.org/=
pkg/blobserver/localdisk</a>&quot;: cannot find package</div><div>server/ca=
mlistored/camlistored.go:47:2: import &quot;<a href=3D"http://camlistore.or=
g/pkg/blobserver/remote" target=3D"_blank">camlistore.org/pkg/blobserver/re=
mote</a>&quot;: cannot find package</div>
<div>server/camlistored/camlistored.go:48:2: import &quot;<a href=3D"http:/=
/camlistore.org/pkg/blobserver/replica" target=3D"_blank">camlistore.org/pk=
g/blobserver/replica</a>&quot;: cannot find package</div><div>server/camlis=
tored/camlistored.go:49:2: import &quot;<a href=3D"http://camlistore.org/pk=
g/blobserver/s3" target=3D"_blank">camlistore.org/pkg/blobserver/s3</a>&quo=
t;: cannot find package</div>
<div>server/camlistored/camlistored.go:50:2: import &quot;<a href=3D"http:/=
/camlistore.org/pkg/blobserver/shard" target=3D"_blank">camlistore.org/pkg/=
blobserver/shard</a>&quot;: cannot find package</div><div>server/camlistore=
d/camlistored.go:52:2: import &quot;<a href=3D"http://camlistore.org/pkg/in=
dex" target=3D"_blank">camlistore.org/pkg/index</a>&quot;: cannot find pack=
age</div>
<div>server/camlistored/camlistored.go:53:2: import &quot;<a href=3D"http:/=
/camlistore.org/pkg/index/mongo" target=3D"_blank">camlistore.org/pkg/index=
/mongo</a>&quot;: cannot find package</div><div>server/camlistored/camlisto=
red.go:54:2: import &quot;<a href=3D"http://camlistore.org/pkg/index/mysql"=
 target=3D"_blank">camlistore.org/pkg/index/mysql</a>&quot;: cannot find pa=
ckage</div>
<div>server/camlistored/camlistored.go:39:2: import &quot;<a href=3D"http:/=
/camlistore.org/pkg/jsonsign" target=3D"_blank">camlistore.org/pkg/jsonsign=
</a>&quot;: cannot find package</div><div>server/camlistored/setup.go:25:2:=
 import &quot;<a href=3D"http://camlistore.org/pkg/netutil" target=3D"_blan=
k">camlistore.org/pkg/netutil</a>&quot;: cannot find package</div>
<div>server/camlistored/camlistored.go:40:2: import &quot;<a href=3D"http:/=
/camlistore.org/pkg/osutil" target=3D"_blank">camlistore.org/pkg/osutil</a>=
&quot;: cannot find package</div><div>server/camlistored/camlistored.go:57:=
2: import &quot;<a href=3D"http://camlistore.org/pkg/search" target=3D"_bla=
nk">camlistore.org/pkg/search</a>&quot;: cannot find package</div>
<div>server/camlistored/camlistored.go:58:2: import &quot;<a href=3D"http:/=
/camlistore.org/pkg/server" target=3D"_blank">camlistore.org/pkg/server</a>=
&quot;: cannot find package</div><div>server/camlistored/camlistored.go:41:=
2: import &quot;<a href=3D"http://camlistore.org/pkg/serverconfig" target=
=3D"_blank">camlistore.org/pkg/serverconfig</a>&quot;: cannot find package<=
/div>
<div>server/camlistored/camlistored.go:42:2: import &quot;<a href=3D"http:/=
/camlistore.org/pkg/webserver" target=3D"_blank">camlistore.org/pkg/webserv=
er</a>&quot;: cannot find package</div><div>server/camlistored/camlistored.=
go:60:2: import &quot;<a href=3D"http://camlistore.org/third_party/code.goo=
gle.com/p/go.crypto/openpgp" target=3D"_blank">camlistore.org/third_party/c=
ode.google.com/p/go.crypto/openpgp</a>&quot;: cannot find package</div>
</div><div><br></div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 3 =3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div>make on the root directory failed.=
</div><div><div>make</div><div>go install ./pkg/... ./server/... ./cmd/... =
./third_party/...</div><div>pkg/auth/auth.go:28:2: import &quot;<a href=3D"=
http://camlistore.org/pkg/netutil" target=3D"_blank">camlistore.org/pkg/net=
util</a>&quot;: cannot find package</div>
<div>pkg/blobref/fetcher.go:31:2: import &quot;<a href=3D"http://camlistore=
.org/pkg/osutil" target=3D"_blank">camlistore.org/pkg/osutil</a>&quot;: can=
not find package</div></div><div><br></div><div>if I need to install with g=
o install / go get, please let me know which target?</div>
</blockquote><div><br></div><div>You need to run git clone in your GOPATH s=
rc directory.</div><div><br></div><div>So if GOPATH=3D$HOME, then:</div><di=
v><br></div><div>$ cd $GOPATH/src</div><div>$ git clone =C2=A0<a href=3D"ht=
tps://camlistore.org/r/p/camlistore">https://camlistore.org/r/p/camlistore<=
/a> <a href=3D"http://camlistore.org">camlistore.org</a></div>
<div><br></div><div>Alternatively, just do:</div><div><br></div><div>$ go i=
nstall <a href=3D"http://camlistore.org/server/camlistored">camlistore.org/=
server/camlistored</a></div><div><br></div><div>... which will put everythi=
ng in the right place.</div>
<div><br></div><div>The docs are probably slightly old at this point. Sorry=
.</div><div><br></div></div>

--bcaec554d82699a2b304c46a5268--