go install fails to find package

オープン
#22 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
cli

調査の方向性

まず Windows 上で go install code.google.com/p/codesearch/cmd/cindex を再現し、その後、go build 実行時にローカルの Mercurial checkout とそれが依存するパッケージがどのように解決されるかを調査します。コマンドでパッケージと依存関係を特定でき、checkout したサブディレクトリが正常にビルドできれば完了です。

索引モデルが issue の本文から書いたものです。

説明

auto-migrated Priority-Medium Type-Defect
What steps will reproduce the problem?

1. Installed latest version of go binaries.
2. go install code.google.com/p/codesearch/cmd/cindex (or any other component 
library)

This produces:
can't load package: package code.google.com/p/codesearch/cmd/cindex: import 
"code.google.com/p/codesearch/cmd/cindex": cannot find package

After that failed, I simply cloned the repository using Hg, and tried to build 
locally. Not sure exactly how this is supposed to work (how to install all of 
the sources as the local versions of the packages), so whenever I try to build 
any sub-folder's contents (with go build), it produces the same error as above 
when attempting to locate a dependent package.

What version of the product are you using? On what operating system?

Windows, both 32-bit and 64-bit.

Original issue reported on code.google.com by [email protected] on 16 May 2012 at 1:13

主要言語
Go
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

jmurzy/codesearch のほかの issue

jmurzy/codesearch の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。