Home > バージョン管理 > linuxへのSubversionのインストール

linuxへのSubversionのインストール

スタードメイン さくらインターネット ロリポップ! ムームードメイン ミニバード ヘテムル
いつもありがとうございます!
にほんブログ村 IT技術ブログへ

subversionのインストール
# wget http://subversion.tigris.org/downloads/subversion-1.6.2.tar.gz
# tar zxvf subversion-1.6.2.tar.gz
# cd subversion-1.6.2
# ./configure –with-apr=/usr/local/apache2 –with-apr-util=/usr/local/apache2 –with-apxs=/usr/local/apache2/bin/apxs –with-ssl
ここでエラー発生
–ここから
configure: Configuring Subversion 1.6.2
configure: creating config.nice
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking for g++… g++
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking how to run the C preprocessor… gcc -E
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking target system type… i686-pc-linux-gnu
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking whether ln -s works… yes
checking for a BSD-compatible install… /usr/bin/install -c
configure: Apache Portable Runtime (APR) library configuration
checking for APR… yes
checking APR version… 1.3.3
configure: Apache Portable Runtime Utility (APRUTIL) library configuration
checking for APR-util… yes
checking APR-UTIL version… 1.3.4
checking for pkg-config… /usr/bin/pkg-config
configure: checking neon library
checking for neon-config… no
An appropriate version of neon could not be found, so libsvn_ra_neon
will not be built. If you want to build libsvn_ra_neon, please either
install neon 0.28.4 on this system
or
get neon 0.28.4 from:

http://www.webdav.org/neon/neon-0.28.4.tar.gz

unpack the archive using tar/gunzip and rename the resulting
directory from ./neon-0.28.4/ to ./neon/
no suitable neon found
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
configure: looking for apr_memcache as part of apr-util
checking apr_memcache.h usability… yes
checking apr_memcache.h presence… yes
checking for apr_memcache.h… yes
checking for apr_memcache_create in -laprutil-1… yes
checking for Apache module support via DSO through APXS… found at /usr/local/apache2/bin/apxs
checking httpd version… recent enough
checking whether Apache version is compatible with APR version… yes
configure: checking sqlite library
amalgamation not found at /usr/local/src/subversion-1.6.2/sqlite-amalgamation/sqlite3.c
checking sqlite3.h usability… yes
checking sqlite3.h presence… yes
checking for sqlite3.h… yes
checking sqlite library version (via header)… unsupported SQLite version
checking sqlite library version (via pkg-config)… none or unsupported 3.3
no
An appropriate version of sqlite could not be found. We recommmend
3.6.13, but require at least 3.4.0.
Please either install a newer sqlite on this system
or
get the sqlite 3.6.13 amalgamation from:

http://www.sqlite.org/sqlite-amalgamation-3.6.13.tar.gz

unpack the archive using tar/gunzip and copy sqlite3.c from the
resulting directory to:
/usr/local/src/subversion-1.6.2/sqlite-amalgamation/sqlite3.c
This file also ships as part of the subversion-deps distribution.
configure: error: Subversion requires SQLite
–ここまで
依存するファイルのダウンロード
# cd /usr/local/src
# wget http://subversion.tigris.org/downloads/subversion-deps-1.6.2.tar.gz
# tar zxvf subversion-deps-1.6.2.tar.gz
# ./configure –with-apr=/usr/local/apache2 –with-apr-util=/usr/local/apache2 –with-apxs=/usr/local/apache2/bin/apxs –with-ssl
★トラックバック:http://ueblog.natural-wave.com/2009/03/30/subversion-install/
今度は成功。makeする
# make
なげぇ・・・
# make install
で、インストール終了らしい。
★設定いろいろ
1.svnグループ・svnユーザの作成
2.リポジトリを格納するディレクトリを作成
/home/svn
3.xinetdの設定
  /etc/xinetd.d/svnserve
service svnserve
{
disable = no
socket_type = stream
wait = no
user = svn
server = /usr/bin/svnserve
server_args = -i -r /home/svn
log_on_failure += USERID
}
4./etc/servicesの編集
  svnserve 3690/tcp # Subversion
  svnserve 3690/udp # Subversion
  ※)すでにsvnがある場合は上記に書き換える
5.サービスに登録
  chkconfig –add svnserve
6.xinetdの再起動
  service xinetd restart
7.リポジトリの作成
  svnadmin create /home/svn/test
8.svnserve.confの設定
  /home/svn/test/conf/svnserve.conf
anon-access = none # Anonymous(匿名)ユーザ
auth-access = write # 認証済みユーザ
password-db = passwd # パスワードファイル名
9.パスワードの設定
  /home/svn/test/conf/passwd
harry = harryssecret
  ※)アクセス権を変更しておく
    chmod 600 passwd
    chown svn:svn passwd
10.ディレクトリの作成
  svn mkdir -m ‘setup trunk’ file:///home/svn/test/trunk
  svn mkdir -m ‘setup trunk’ file:///home/svn/test/tags
  svn mkdir -m ‘setup trunk’ file:///home/svn/test/branches



この記事はお役に立てましたか?
人気ブログランキングへ

このブログはさくらのレンタルサーバムームードメインの組み合わせで提供しています。
かわいくて高機能なアクセス解析ツール【アクセスプラス】が使えるのは【Color Me Shop! pro】だけ!
月額263円でPHP・MySQL対応のレンタルサーバー、ミニバード
5GBで月額250円~!FC2レンタルサーバーLite!
スタードメイン さくらインターネット ロリポップ! ムームードメイン ミニバード ヘテムル

関連する投稿


コメント:0

コメントフォーム
お名前などを保存しますか?

トラックバック:0

トラックバックURL
http://itblog.posifeel.com/archives/19.html/trackback
linuxへのSubversionのインストール from ITめもりーにょ

Home > バージョン管理 > linuxへのSubversionのインストール

カウンター
  • 今日 : 186
  • 累計 : 54,218
  • 現在の閲覧者数: 2
ランキング
ブログランキング・にほんブログ村へ
人気ブログランキングへ

RSSフィード
ブログ内検索
おすすめレンタルサーバ
おすすめ度:★★★
当ブログのposifeel.comドメインはさくらインターネットのサーバで運営しています。OSはUNIX互換FreeBSD。SSHでリモート操作ができるので自由度が高く、ましぇたん一押し。Root権限がいらないソフトならインストールし放題です。CSVなどのバージョン管理ソフトもインストール可能。UNIX、Linux系のサーバーのお勉強には持ってこいです。


おすすめ度:★★
毎度おなじみのナウでヤングなロリポップ。僕も以前は使っていました。おすすめ度は高いです・・・が。リモート接続でOSを直に操作することが出来ないため、ある程度、知識のある人にとっては物足りないかもしれません。とにかく安く簡単なレンタルサーバをお探しでしたら一押しです。初心者向き。


おすすめ度:???
ロリポップの対抗馬!?最近、注目しているレンサバです。価格もサービスもロリポップと近いかも。ナウでヤングじゃない方はこちらを(ry 初心者向き
Link
他に運営しているブログです。僕の日常的な事はめもりーにょで書いています。
相互リンク募集中!
アーカイブ
アクセスアップツール
BLOGOOLE BLOG情報

SEO対策
windows
Linux
apache
eclipse
プログラミング
  • seo

フィードメーター - ITめもりーにょ
エディタ
ブロガー(ブログ)交流空間 エディタコミュニティ
メタ

Return to page top