README
上传用户:shenzhenrh
上传日期:2013-05-12
资源大小:2904k
文件大小:5k
源码类别:

信息检索与抽取

开发平台:

Unix_Linux

  1. Welcome to the Swarm distribution.  Full documentation (both online
  2. and downloadable) can be found at: http://www.swarm.org/release-docs.html.
  3. Further information on Swarm can be found at the Swarm website at:
  4.   http://www.swarm.org
  5.   this is being replaced by the Swarm wiki at:
  6.   
  7.   http://wiki.swarm.org
  8.  
  9. * MacOS X users: 
  10.   please see macosx/README.MacOSX
  11. * CVS users:
  12.   please consult "HACKING" in this directory
  13. Contents of this README ================================================
  14.    I. Installation Process
  15.       A. Full source compilation and installation
  16.       B. Binary installation with accompanying source
  17. Questions about this release should be directed to <support@swarm.org>
  18. This is a mailing list for discussion of Swarm and its usage.  You
  19. need to subscribed in order to post to this list.  For subscription
  20. info, please visit:
  21.  http://www.swarm.org/mailman/listinfo/support/
  22. Interesting files in this release:
  23. - INSTALL, which contains instructions on building and installing Swarm.
  24. - NEWS, which describes user-visible changes since the last release of Swarm.
  25. - COPYING, which describes the terms under which you may redistribute
  26.   Swarm, and explains that there is no warranty.   
  27. I. Installation Process =================================================
  28.       Full installation instructions are contained in `INSTALL' and
  29. additional material is also contained in the Swarm documentation.
  30. Basically, there are two options for the installation of Swarm: the
  31. full source compilation and installation, and the binary installation
  32. accompanied by a copy of the full source.
  33. A. Full source compilation and installation 
  34. -------------------------------------------
  35. (a.k.a. the "archive" installation)
  36.          The full source (a.k.a. "archive") compilation and
  37. installation consists of 1) ensuring that you have available to you,
  38. all the system/environment prerequisite software you need to use
  39. Swarm, 2) getting Swarm, itself, and 3) getting the sample
  40. applications that use Swarm.
  41.          1. Prerequisite software:
  42. All of the prerequisite software you will need is available on the
  43. Swarm ftp site (ftp://ftp.swarm.org/pub/swarm/needed-software).
  44. These can be horrendously difficult to install; so your best bet is to
  45. use your systems administrator.
  46.          2. Compiling and installing Swarm itself:
  47. As of the Swarm 1.3 release, the compilation and installation of Swarm
  48. is handled by the GNU `configure'.  This removes a large burden from
  49. the user, as `configure' has smarts which automatically sets many
  50. common options.
  51. You first need to read the file `INSTALL' and determine the
  52. appropriate options to give to the `configure' script (this is
  53. analogous to what you needed to do when editing the INCDIR macros in
  54. the obsolete `Makefile.conf' in earlier releases).  You then type
  55. `make' as in earlier releases.
  56. However, there is now an explicit "installation" step to install Swarm
  57. -- `make install' so that binaries and libraries can be installed
  58. cleanly to a specified location.
  59. All these things are described in more detail in the `INSTALL' file.
  60.          3. Compiling and running the example applications:
  61. Retrieve the swarmapps-xx.yy.zz.tar.gz from the Swarm web page
  62. or ftp site.  Untar this file somewhere appropriate (usually a
  63. user's home directory, since each user will likely want to make
  64. code changes to a given app and recompile).  Then change directory
  65. (cd) to one of the example apps, like heatbugs and edit the Makefile,
  66. changing the following line from:
  67. SWARMHOME=../swarm
  68. to the following format:
  69. SWARMHOME=<path to where Swarm is installed>
  70. For example, on my system the line looks like this:
  71. SWARMHOME=/net/user/gepr/Swarm/swarm-1.3
  72. if the system admin has installed Swarm it may be:
  73. SWARMHOME=/usr/local/swarm-1.3
  74. This points `make' to the Makefile.appl (in the case of applications)
  75. or Makefile.lib (in the case of libraries) file in the directory in
  76. which Swarm is installed and allows each application's own Makefile to
  77. access all the parameters set there.  Then all you need do is run
  78. "make".
  79. Now, all you need do is type the name of the executable you just
  80. compiled, prefixed by a `./'.  So if you are compiling heatbugs, you
  81. would type `./heatbugs' so that your shell knows that you want to run
  82. an executable found in the current directory.
  83. B. Binary installation with accompanying source 
  84. -----------------------------------------------
  85. Binary distributions of Swarm are available for the following
  86. platforms, the relevant package manager needed for installing the
  87. binary packages on these systems are noted in parentheses.
  88. * Debian GNU/Linux (dpkg)
  89. * RedHat GNU/Linux (rpm)
  90. * Sparc Solaris (pkgadd etc.)
  91. Please consult the Swarm release page:
  92.   http://www.swarm.org/release.html
  93. for the latest information on the operating system versions that are
  94. supported and download information.
  95. Details of how to configure your Swarm installation just so, are now
  96. documented in the `INSTALL' file.