プログラムとちょっとショップとかの紹介とか、いろいろと載せておきます。
× [PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
ダウンロード。
解凍。 # make install : mercurial/base85.c:13:20: error: Python.h: No such file or directory : error: command 'gcc' failed with exit status 1 make: *** [build] エラー 1 解決→http://zanedp.blogspot.jp/2013/06/building-mercurial-hg-fatal-error.html # yum install python-devel # make install :abort: couldn't generate documentation: docutils module is missing please install python-docutils or see http://docutils.sourceforge.net/ またエラー。 # yum install python-docutils # make install : make[1]: Leaving directory `/<install dir>/mercurial-3.2.4/doc' cd doc && make install make[1]: Entering directory `/<install dir>/mercurial-3.2.4/doc' for i in hg.1 hgignore.5 hgrc.5 ; do \ subdir=`echo $i | sed -n 's/^.*\.\([0-9]\)$/man\1/p'` ; \ mkdir -p /usr/local/share/man/$subdir ; \ install -c -m 644 $i /usr/local/share/man/$subdir ; \ done make[1]: Leaving directory `/<install dir>/mercurial-3.2.4/doc' # checkinstall The package documentation directory ./doc-pak does not exist. Should I create a default set of package docs? [y]: y パッケージのドキュメンテーションを準備..OK 使用するパッケージ方式を選んでください。 Slackwareなら[S], RPMなら[R], Debianなら[D]を入力R このパッケージの説明を書いてください 説明の末尾は空行かEOFにしてください。 >> ************************************** **** RPM package creation selected *** ************************************** このパッケージは以下の内容で構成されます: 1 - Summary: [ Package created with checkinstall 1.6.3 ] 2 - Name: [ mercurial ] 3 - Version: [ 3.2.4 ] 4 - Release: [ 1 ] 5 - License: [ GPL ] 6 - Group: [ Applications/System ] 7 - Architecture: [ x86_64 ] 8 - Source location: [ mercurial-3.2.4 ] 9 - Alternate source location: [ ] 10 - Requires: [ ] 11 - Provides: [ mercurial ] 変更するものの番号を入力してください。Enterで続行します: Installing with make install... ========================= インストールの結果 =========================== : ======================== インストールに成功しました ========================== Copying documentation directory... ./ ./CONTRIBUTORS ./COPYING ./Doc/ ./Doc/check-seclevel.py ./Doc/common.txt ./Doc/gendoc.py ./Doc/hg.1 ./Doc/hg.1.gendoc.txt ./Doc/hg.1.html ./Doc/hg.1.txt ./Doc/hgignore.5 ./Doc/hgignore.5.gendoc.txt ./Doc/hgignore.5.html ./Doc/hgignore.5.txt ./Doc/hgmanpage.py ./Doc/hgmanpage.pyc ./Doc/hgrc.5 ./Doc/hgrc.5.gendoc.txt ./Doc/hgrc.5.html ./Doc/hgrc.5.txt ./Doc/Makefile ./Doc/README ./Doc/runrst ./Doc/style.css ./README cp: cannot stat `//var/tmp/tmp.cZFZCjEeAm/newfiles.tmp': そのようなファイルやデ ィレクトリはありません tempディレクトリにファイルをコピー..OK Stripping ELF binaries and libraries...OK manページを圧縮..OK ファイルリストを作成..OK /root/rpmbuild has no SOURCES directory. Please write the path to the RPM source directory tree: Ctrl+Cで中断。ディレクトリ作成。 # mkdir -p /root/rpmbuild/SOURCES # checkinstall : ======================== インストールに成功しました ========================== Copying documentation directory... ./ ./CONTRIBUTORS ./COPYING ./Doc/ ./Doc/check-seclevel.py ./Doc/common.txt ./Doc/gendoc.py ./Doc/hg.1 ./Doc/hg.1.gendoc.txt ./Doc/hg.1.html ./Doc/hg.1.txt ./Doc/hgignore.5 ./Doc/hgignore.5.gendoc.txt ./Doc/hgignore.5.html ./Doc/hgignore.5.txt ./Doc/hgmanpage.py ./Doc/hgmanpage.pyc ./Doc/hgrc.5 ./Doc/hgrc.5.gendoc.txt ./Doc/hgrc.5.html ./Doc/hgrc.5.txt ./Doc/Makefile ./Doc/README tar: ./Doc: 読み込んだファイルが変更されています ./Doc/runrst ./Doc/style.css ./README cp: cannot stat `//var/tmp/tmp.fzSkcNl4qK/newfiles.tmp': そのようなファイルやデ ィレクトリはありません tempディレクトリにファイルをコピー..OK Stripping ELF binaries and libraries...OK manページを圧縮..OK ファイルリストを作成..OK RPMパッケージを作成..OK 注意: パッケージはインストールされません tempファイルを削除..OK temp dirを削除..OK ********************************************************************** Done. The new package has been saved to /root/rpmbuild/RPMS/x86_64/mercurial-3.2.4-1.x86_64.rpm You can install it in your system anytime using: rpm -i mercurial-3.2.4-1.x86_64.rpm ********************************************************************** これで、yumインストール # yum localinstall /root/rpmbuild/RPMS/x86_64/mercurial-3.2.4-1.x86_64.rpm 確認 # hg --version Mercurial - 分散構成管理ツール(バージョン 3.2.4) 動作確認 # hg clone http://www.selenic.com/repo/hello my-hello 全リビジョンを取得中 リビジョンを追加中 マニフェストを追加中 ファイルの変更を追加中 2 個のリビジョン(2 の変更を 2 ファイルに適用)を追加 ブランチ default へ更新中 ファイルの更新数 2、 マージ数 0、 削除数 0、 衝突未解消数 0 # ls my-hello/ Makefile hello.c PR |
ブログ内検索
カテゴリー
|