diff --git a/README/INSTALL b/README/INSTALL index 9d0e5035ef5f47379930caaa7891b8f0ade33755..12c1f33ee6899adcd20e8a5d18f944ae7125fd78 100644 --- a/README/INSTALL +++ b/README/INSTALL @@ -125,35 +125,21 @@ Linux packages. You want to install in a generic directory, depending on environment variables ROOTSYS, LD_LIBRARY_PATH, and PATH. - 1) get the sources of the latest ROOT (see above) + 1) Get the sources of the latest ROOT (see above) - 2) set ROOTSYS to the `root' directory: - sh family: - export ROOTSYS=<path>/root - csh family - setenv ROOTSYS <path>/root - - 3) now type the build commands: - all shells: + 2) Type the build commands: + cd root ./configure --help ./configure <arch> [change arch appropriately] - gmake [or, make -j2 for dual CPU machines] - gmake install [when run directory is not $ROOTSYS] - - 4) add $ROOTSYS/bin to PATH and $ROOTSYS/lib to LD_LIBRARY_PATH: - sh family: - export PATH=$ROOTSYS/bin:$PATH - export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH - export DYLD_LIBRARY_PATH=$ROOTSYS/lib:$DYLD_LIBRARY_PATH (MacOS X only) - csh family: - setenv PATH ${ROOTSYS}/bin:${PATH} - setenv LD_LIBRARY_PATH ${ROOTSYS}/lib:${LD_LIBRARY_PATH} - setenv DYLD_LIBRARY_PATH ${ROOTSYS}/lib:${DYLD_LIBRARY_PATH} (MacOS X) - rehash - - 5) try running root: - all shells: + (g)make [or, make -j n for n core machines] + + 3) Add bin/ to PATH and lib/ to LD_LIBRARY_PATH. For the sh shell family do: + . bin/thisroot.sh + + and for the csh shell family do: + source bin/thisroot.csh + 4) try running root: root 3.2. Fixed locations build: @@ -178,23 +164,19 @@ recommended if you have some other way (like /etc/ld.so.conf) of making the dynamic loader aware of where you installed the ROOT libraries. - 1) get the sources of latest ROOT (see above) + 1) Get the sources of latest ROOT (see above) - 2) now type the build commands: - all shells: + 2) Now type the build commands: + cd root ./configure --help ./configure <arch> --prefix=/usr/local [change arch appropriately] - gmake [or, make -j2, for dual CPU machines] - gmake install [su to root if --prefix points to a system dir] + (g)make [or, make -j2, for dual CPU machines] + (g)make install [su to root if --prefix points to a system dir] - 3) try running root: - - sh family: - - root - csh family: + 3) Update the ldconfig cache by doing: + ldconfig - rehash + 4) try running root: root 3.3. Redhat packages: