51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2261|回复: 0
打印 上一主题 下一主题

[翻译] [资源] 谁能帮忙翻译一下有关svn安装方面的文章.(2)

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2006-11-3 10:36:55 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
1.  Apache Portable Runtime 0.9.7 (http://apr.apache.org/)

      Whenever you want to build any part of Subversion, you need the
      Apache Portable Runtime (APR) and the APR Utility (APR-util)
      libraries. These are included in the Subversion dependency package -
      if you are building from a source tarball and wish to use the versions
      of APR and APR-util included there, just unpack the dependency package
      and skip ahead to the next requirement.

      If you are not building from a tarball with the dependency
      package, you will need to get these yourself. Visit this page,
      and be sure to download the 0.9.x version:

          http://apr.apache.org/download.cgi

      On Unix systems, if you already have the APR libraries compiled and do
      not wish to regenerate them from source code, then Subversion needs to
      be able to find them.

      There are a couple of options to "./configure" that tell it where
      to look for the APR and APR-util libraries. By default, it will first
      look for bundled versions of APR and APR-util, and then try to locate
      already installed versions of the libraries using the apr-config and
      apu-config scripts. These scripts provide all the relevant information
      for the APR and APR-util installations.

      If you want to specify the location of the APR library, you can use
      the "--with-apr=" option of "./configure". It should be able to find
      the apr-config script in the standard location under that directory
      (e.g. ${prefix}/bin).

      Similarly, you can specify the location of APR-util using the
      "--with-apr-util=" option to "./configure". It will look for the
      apu-config script relative to that directory.

      For example, if you want to use the APR libraries you built
      with the Apache httpd 2.0 server, you could run:

          $ ./configure --with-apr=/usr/local/apache2 \
            --with-apr-util=/usr/local/apache2  ...

      If you want Subversion to build the APR libraries from source
      code as part of the Subversion build process, you can put their
      source code into the "./apr" and "./apr-util" directories.

      You don't need the latest development versions, since Subversion is
      guaranteed to compile against the latest released APR and APR-util.
      However, if you really want to, you can use the following two
      commands. If you run them from the directory where you've checked out
      Subversion, then the APR source code will be in "./apr" and
      "./apr-util", where Subversion wants it:

      $ svn co \
        http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x apr
      $ svn co \
        http://svn.apache.org/repos/asf/apr/apr-util/branches/0.9.x apr-util

      NOTE: On Windows you will also need apr-iconv.  Check it out next to
      the apr and apr-util directories:

      $ svn co \
        http://svn.apache.org/repos/asf/apr/apr-iconv/branches/0.9.x apr-iconv

      Be sure to use a native Windows SVN client (as opposed to
      Cygwin's version) so that the .dsp files get carriage-returns at
      the ends of their lines.  Otherwise Visual Studio will complain
      that it doesn't recognize the .dsp files.

      If you use APR libraries checked out from svn in an Unix
      environment, you need to run the 'buildconf' script in each
      library's directory, to regenerate the configure scripts and
      other files required for compiling the libraries:

      $ cd apr; ./buildconf; cd ..

      $ cd apr-util; ./buildconf; cd ..
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-26 05:58 , Processed in 0.063445 second(s), 26 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表