home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / cvs-1.8.7-src.tgz / tar.out / fsf / cvs / INSTALL < prev    next >
Text File  |  1996-09-28  |  12KB  |  321 lines

  1. First, read the README file.  If you're still happy...
  2.  
  3. CVS has been tested on the following platforms.  The most recent
  4. version of CVS reported to have been tested is indicated, but more
  5. recent versions of CVS probably will work too.  Please send updates to
  6. this list to bug-cvs@prep.ai.mit.edu (doing so in the form of a diff
  7. to this file is encouraged).
  8.  
  9. Alpha:
  10.     DEC Alpha running OSF/1 version 1.3 using cc (about 1.4A2)
  11.     DEC Alpha running OSF/1 version 2.0 (1.4.90)
  12.     DEC Alpha running OSF/1 version 2.1 (about 1.4A2)
  13.     DEC Alpha running OSF/1 version 3.0 (1.5.95) (footnote 7)
  14.     DEC Alpha running OSF/1 version 3.2 (1.7+obvious patch)
  15. HPPA:
  16.     HP 9000/710 running HP-UX 8.07A using gcc (about 1.4A2)
  17.     HP 9000/715 running HP-UX 9.01 (1.6)
  18.     HPPA running HP-UX 10.01 (1.7)
  19.         HPPA 1.1 running HP-UX A.09.03 (1.5.95) (footnote 8)
  20.         HPPA 1.1 running HP-UX A.09.04 (1.7.1)
  21.     NextSTEP 3.3 (1.7)
  22. i386 family:
  23.     Solaris 2.4 using gcc (about 1.4A2)
  24.     UnixWare v1.1.1 using gcc (about 1.4A2)
  25.     ISC 4.0.1 (1.5.94)
  26.     Linux (kernel 1.2.x) (1.7.1)
  27.     BSDI 2.0 (1.4.93) (footnote 5)
  28.     FreeBSD 2.0.5, i486, gcc (1.5.95)
  29.     NextSTEP 3.3 (1.7)
  30.     SCO Unix 3.2.4.2 (1.4.93) (footnote 4)
  31.     SCO OpenServer 5.0.0, "CC='cc -b elf' configure"
  32.     Lynx 2.3.0 080695 (1.6.86) (footnote 9)
  33.     Windows NT 3.51 (1.7.87 client-only)
  34.     QNX 4 (1.7 + obvious patches)
  35.     OS/2 Version 3 using IBM C/C++ Tools 2.01 (1.7.86 with patches)
  36. m68k:
  37.     Sun 3 running SunOS 4.1.1_U1 w/ bundled K&R /usr/5bin/cc (1.8.2)
  38.     NextSTEP 3.3 (1.7)
  39.     Lynx 2.3.0 062695 (1.6.86) (footnote 9)
  40. m88k:
  41.     Data General AViiON running dgux 5.4R2.10 (1.5)
  42.     Data General AViiON running dgux 5.4R3.10 (1.7.1)
  43.     Harris Nighthawk 5800 running CX/UX 7.1 (1.5) (footnote 6)
  44. MIPS:
  45.     DECstation running Ultrix 4.2a (1.4.90)
  46.     DECstation running Ultrix 4.3 (1.6.86)
  47.     SGI running Irix 4.0.5H using gcc and cc (about 1.4A2) (footnote 2)
  48.     SGI running Irix 5.3 (1.7)
  49.     SGI running Irix-6 (about 1.4.90) (footnote 3)
  50.     Siemens-Nixdorf RM600 running SINIX-Y (1.6)
  51. PowerPC or RS/6000:
  52.     IBM RS/6000 running AIX 3.1 using gcc and cc (1.6.86)
  53.     IBM RS/6000 running AIX 3.2.5 (1.7.87)
  54.     IBM RS/6000 running AIX 4.1 using gcc and cc (about 1.4A2) (footnote 1)
  55.     Lynx 2.3.1 120495 (1.6.86) (footnote 9)
  56. SPARC:
  57.     Sun SPARC running SunOS 4.1.x (1.6.86)
  58.     Sun SPARCstation 10 running Solaris 2.3 using gcc and cc (about 1.4A2)
  59.     Sun SPARCstation running Solaris 2.4 using gcc and cc (about 1.5.91)
  60.     Sun SPARC running Solaris 2.5 (2.5 beta?) (1.7)
  61.     NextSTEP 3.3 (1.7)
  62.  
  63. (footnote 1)
  64.     AIX 4.1 systems fail to run "configure" due to bugs in their
  65.     "/bin/sh" implementation.  You might want to try feeding the
  66.     configure script to "bash" ported to AIX 4.1.  (about 1.4A2).
  67.  
  68. (footnote 2)
  69.     Some Irix 4.0 systems may core dump in malloc while running
  70.     CVS.  We believe this is a bug in the Irix malloc.  You can
  71.     workaround this bug by linking with "-lmalloc" if necessary.
  72.     (about 1.4A2).
  73.  
  74. (footnote 3)
  75.         There are some warnings about pointer casts which can safely be
  76.         ignored.  (about 1.4.90).
  77.  
  78. (footnote 4) Comment out the include of sys/time.h in src/server.c. (1.4.93)
  79.     You also may have to make sure TIME_WITH_SYS_TIME is undef'ed.
  80.  
  81. (footnote 5) Change /usr/tmp to /var/tmp in src/server.c (2 places) (1.4.93).
  82.  
  83. (footnote 6) Build in ucb universe with COFF compiler tools.  Put
  84.     /usr/local/bin first in PATH while doing a configure, make
  85.     and install of GNU diffutils-2.7, rcs-5.7, then cvs-1.5.
  86.  
  87. (footnote 7) Manoj Srivastava <srivasta@pilgrim.umass.edu> reports
  88.         success with this configure command:
  89.   CC=cc CFLAGS='-O2 -Olimit 2000 -std1' ./configure --verbose alpha-dec-osf
  90.  
  91. (footnote 8) Manoj Srivastava <srivasta@pilgrim.umass.edu> reports
  92.         success with this configure command:
  93.   CC=cc CFLAGS='+O2 -Aa -D_HPUX_SOURCE' ./configure --verbose hppa1.1-hp-hpux
  94.  
  95. (footnote 9) 
  96.     Had to configure with ./configure --host=<arch>-lynx.
  97.  
  98.     In src/cvs.h, protected the waitpid prototype with ifdef _POSIX_SOURCE.
  99.     (I might try building with gcc -mposix -D_POSIX_SOURCE.)
  100.  
  101.     LynxOS has <dirent.h>, but you don't want to use it.
  102.     You want to use <sys/dir.h> instead.
  103.     So after running configure I had to undef HAVE_DIRENT_H and
  104.     define HAVE_SYS_DIR_H.
  105.  
  106. -------------------------------------------------------------------------------
  107.  
  108. Installation under Unix:
  109.  
  110. 1)  Run "configure":
  111.  
  112.     $ ./configure
  113.  
  114.     You can specify an alternate destination to override the default with
  115.     the --prefix option:
  116.  
  117.     $ ./configure --prefix=/usr/local/gnu
  118.  
  119.     or some path that is more appropriate for your site.  The default prefix
  120.     value is "/usr/local", with binaries in sub-directory "bin", manual
  121.     pages in sub-directory "man", and libraries in sub-directory "lib".
  122.  
  123.     If you are using server or local CVS, RCS needs to be installed in
  124.     the user's PATH (or a path you have configured in src/options.h,
  125.     or a path specified with the -b option).  If you don't have RCS,
  126.     you will need to get it from GNU as well.  It is best to get the
  127.     version 5.7 (or later) version of RCS, available from
  128.     prep.ai.mit.edu in the file pub/gnu/rcs-5.7.tar.gz.
  129.  
  130.     If you want version control of files with binary data, make sure
  131.     that the RCS configure script finds GNU diff 1.15 or later and
  132.     notices that diff supports the -a option.  CVS itself is much less
  133.     picky about which version of diff it uses, and you shouldn't need
  134.     to worry about that.
  135.  
  136.     NOTE: The configure program will cache the results of the previous
  137.     configure execution.  If you need to re-run configure from scratch, you
  138.     may need to run "make distclean" first to remove the cached
  139.     configuration information.
  140.  
  141.     If you are using gcc and are planning to modify CVS, you may want to
  142.     configure with -Wall; see the file HACKING for details.
  143.  
  144.     Try './configure --help' for further information on its usage.
  145.  
  146.     NOTE ON CVS's USE OF NDBM:
  147.  
  148.     By default, CVS uses some built-in ndbm emulation code to allow
  149.     CVS to work in a heterogeneous environment.  However, if you have
  150.     a very large modules database, this may not work well.  You will
  151.     need to edit src/options.h to turn off the MY_NDBM #define and
  152.     re-run configure.  If you do this, the following comments apply.
  153.     If not, you may safely skip these comments.
  154.  
  155.     If you configure CVS to use the real ndbm(3) libraries and
  156.     you do not have them installed in a "normal" place, you will
  157.     probably want to get the GNU version of ndbm (gdbm) and install
  158.     that before running the CVS configure script.  Be aware that the
  159.     GDBM 1.5 release does NOT install the <ndbm.h> header file included
  160.     with the release automatically.  You may have to install it by hand.
  161.  
  162.     If you configure CVS to use the ndbm(3) libraries, you cannot
  163.     compile CVS with GNU cc (gcc) on Sun-4 SPARC systems.  However, gcc
  164.     2.0 may have fixed this limitation if -fpcc-struct-return is
  165.     defined.  When using gcc on other systems to compile CVS, you *may*
  166.     need to specify the -fpcc-struct-return option to gcc (you will
  167.     *know* you have to if "cvs checkout" core dumps in some ndbm
  168.     function).  You can do this as follows:
  169.  
  170.         $ CC='gcc -fpcc-struct-return' ./configure
  171.  
  172.     for sh, bash, and ksh users and:
  173.  
  174.         % setenv CC 'gcc -fpcc-struct-return'
  175.         % ./configure
  176.  
  177.     for csh and tcsh users.
  178.  
  179.     END OF NOTE FOR NDBM GUNK.
  180.  
  181. 2)  Edit src/options.h.  Appropriate things to look at may be the
  182.     invocation locations of programs like DIFF and GREP.
  183.     Also glance at the default values for the environment variables
  184.     that CVS uses, in particular, the RCSBIN variable, which holds the
  185.     path to where the RCS programs live on your system.
  186.  
  187. 3)  Try to build it:
  188.  
  189.     $ make
  190.  
  191.     This will (hopefully) make the needed CVS binaries within the
  192.     "src" directory.  If something fails for your system, and you want
  193.     to submit a bug report, you may wish to include your
  194.     "config.status" file, your host type, operating system and
  195.     compiler information, make output, and anything else you think
  196.     will be helpful.
  197.  
  198. 3a)  Run the regression tests (optional).
  199.  
  200.     You may also wish to validate the correctness of the new binary by
  201.     running the regression tests.  If they succeed, that is nice to
  202.     know.  However, if they fail, it doesn't tell you much.  Often it
  203.     will just be a problem with running the tests on your machine,
  204.     rather than a problem with CVS.  Unless you will have the time to
  205.     determine which of the two it is in case of failure, you might
  206.     want to save yourself the time and just not run the tests.
  207.  
  208.     If you want to run the tests, see the file TESTS for more information.
  209.  
  210. 4)  Install the binaries/documentation:
  211.  
  212.     $ make install
  213.  
  214.     Depending on your installation's configuration, you may need to be
  215.     root to do this.
  216.  
  217. 5)  Take a look at the CVS documentation.
  218.  
  219.     $ man cvs
  220.  
  221.     and
  222.  
  223.     $ info cvs  
  224.  
  225.     See what it can do for you, and if it fits your environment (or can
  226.     possibly be made to fit your environment).  If things look good,
  227.     continue on...
  228.  
  229. 6)  Set up the master source repository.  See the "Setting up the repository"
  230.     section of cvs.texinfo for details; the one-line summary is (if you
  231.     are putting the repository in /src/master):
  232.     $ cvs -d /src/master init
  233.  
  234. 7)  Have all users of the CVS system set the CVSROOT environment
  235.     variable appropriately to reflect the placement of your source
  236.     repository.  If the above example is used, the following commands
  237.     can be placed in user's ~/.profile, ~/.bash_profile file; or in the
  238.     site-wide /etc/profile:
  239.  
  240.     CVSROOT=/src/master; export CVSROOT
  241.  
  242.     for sh/bash/ksh users, or place the following commands in the user's
  243.     ~/.cshrc, ~/.login, or /etc/chsrc file:
  244.  
  245.     setenv CVSROOT /src/master
  246.  
  247.     for csh/tcsh users.  If these environment variables are not already set
  248.     in your current shell, set them now (or source the login script you
  249.     just edited).  You will need to have the CVSROOT environment variable
  250.     set to continue on to the next step.
  251.  
  252. 8)  It might be a good idea to jump right in and put the CVS distribution
  253.     directly under CVS control.  From within the top-level directory of the
  254.     CVS distribution (the one that contains this README file) do the
  255.     following commands:
  256.  
  257.     $ make distclean
  258.     $ cvs import -m 'CVS 1.6 distribution' cvs CVS_DIST CVS-1_6
  259.  
  260. 9)  Having done step 8, one should be able to checkout a fresh copy of the
  261.     CVS distribution and hack away at the sources with the following command:
  262.  
  263.     $ cd
  264.     $ cvs checkout cvs
  265.  
  266.     This will make the directory "cvs" in your current directory and
  267.     populate it with the appropriate CVS files and directories.
  268.  
  269. 10) You may wish to customize the various administrative files, in particular
  270.     modules.  See cvs.texinfo for details.
  271.  
  272. 11) Read the NEWS file to see what's new.
  273.  
  274. 12) Hack away.
  275.  
  276. -------------------------------------------------------------------------------
  277.  
  278. Detailed information about your interaction with "configure":
  279.  
  280. The "configure" script and its interaction with its options and the
  281. environment is described here.  For more detailed documentation about
  282. "configure", please refer to the GNU Autoconf documentation.
  283.  
  284. Supported options are:
  285.  
  286.     --srcdir=DIR        Useful for compiling on many different
  287.                 machines sharing one source tree.
  288.     --prefix=DIR        The root of where to install the
  289.                 various pieces of CVS (/usr/local).
  290.     --exec_prefix=DIR    If you want executables in a
  291.                 host-dependent place and shared
  292.                 things in a host-independent place.
  293.  
  294. The following environment variables override configure's default
  295. behaviour:
  296.  
  297.     CC            If not set, tries to use gcc first,
  298.                 then cc.  Also tries to use "-g -O"
  299.                 as options, backing down to -g
  300.                 alone if that doesn't work.
  301.     INSTALL            If not set, tries to use "install", then
  302.                 "./install-sh" as a final choice.
  303.     RANLIB            If not set, tries to determine if "ranlib"
  304.                 is available, choosing "echo" if it doesn't
  305.                 appear to be.
  306.     YACC            If not set, tries to determine if "bison"
  307.                 is available, choosing "yacc" if it doesn't
  308.                 appear to be.
  309.  
  310. -------------------------------------------------------------------------------
  311. Installation under Windows NT:
  312.  
  313. You may find interesting information in windows-NT/README.
  314.  
  315. 1) Using Microsoft Visual C++ version 2.1, open the project `cvsnt.mak',
  316.    in the top directory of the CVS distribution.
  317. 2) Choose "Build cvs.exe" from the "Project" menu.
  318. 3) MSVC will place the executable file cvs.exe in WinDebug, or whatever
  319.    your target directory is.
  320. -------------------------------------------------------------------------------
  321.