Changes between Version 58 and Version 59 of Download


Ignore:
Timestamp:
Oct 23, 2010, 9:42:04 PM (14 years ago)
Author:
Christian Franke
Comment:

Update build instructions

Legend:

Unmodified
Added
Removed
Modified
  • Download

    v58 v59  
    292292== Install from the source tarball ==
    293293
    294 For operating systems: Linux/Solaris/FreeBSD/NetBSD/OpenBSD/Cygwin
    295 
    296294Download the latest source tarball from [http://sourceforge.net/projects/smartmontools/files/ here].
    297 Note: you probably want the most recent stable release. Stable releases have
    298 even-numbered extensions, and unstable experimental releases have
    299 odd-numbered extensions.
    300295
    301296Uncompress the tarball:
    302297{{{
    303   tar zxvf  smartmontools-5.39.tar.gz
    304 }}}
    305 
    306 The previous step created a directory called {{{smartmontools-5.39}}}
     298  tar zxvf smartmontools-5.40.tar.gz
     299}}}
     300
     301The previous step created a directory called {{{smartmontools-5.40}}}
    307302containing the code. Go to that directory, build, and install:
    308303{{{
    309   cd smartmontools-5.39
     304  cd smartmontools-5.40
    310305  ./configure
    311306  make
     
    313308}}}
    314309
    315 For releases >=5.19, {{{./configure}}} can take optional arguments. These optional arguments are fully explained in the
    316 [http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/INSTALL?view=markup INSTALL]
    317 file. The most important one is {{{--prefix}}} to change the default installation directories.
    318 ''Please note that the default installation location changed in versions >=5.31''.
     310These optional arguments of {{{./configure}}} are fully explained in the
     311[source:/trunk/smartmontools/INSTALL INSTALL] file.
     312The most important one is {{{--prefix}}} to change the default installation directories.
    319313If you don't pass any arguments to {{{./configure}}} all files will reside under
    320 {{{/usr/local}}} to not interfere with files from your distribution. For more detailed
    321 information please also refer to the
    322 [http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/INSTALL?view=markup INSTALL] document.
     314{{{/usr/local}}} to not interfere with files from your distribution.
    323315
    324316To compile from another directory (avoids overwriting virgin files from the smartmontools package)
     
    338330Use a full path: {{{~/smartmontools-test}}} would work but {{{./smartmontools-test}}} won't.
    339331
    340 Unless the destination directory is your home directory (or a location that you have write permission)
    341 
    342 {{{
    343   # only root can do that:
    344   make install
    345 }}}
     332Note that {{{make install}}} requires root access rights unless the destination directory
     333is your home directory (or a location that you have write permission)
     334
     335The smartmontools binaries for Windows can also be build from the source tarball (or from SVN)
     336using the [http://www.mingw.org/ MinGW] or the [http://mingw-w64.sourceforge.net/ MinGW-w64]
     337compiler. Build environments may be [http://cygwin.com Cygwin] or [http://www.mingw.org/wiki/MSYS MSYS],
     338cross-compilation under Linux is also supported.
     339Extra {{{./configure}}} arguments {{{--host=...}}} and {{{--build=...}}} may be required.
     340The {{{make install}}} command does not work for Windows.
     341See [source:/trunk/smartmontools/INSTALL INSTALL] file for details.
    346342
    347343----
     
    351347We moved from CVS to a Subversion (SVN) repository.
    352348The new address for our repository is 
    353 [http://smartmontools.svn.sourceforge.net/viewvc/smartmontools https://smartmontools.svn.sourceforge.net/svnroot/smartmontools]
     349[https://smartmontools.svn.sourceforge.net/svnroot/smartmontools].
     350Two repository browsers are available:
     351[http://smartmontools.svn.sourceforge.net/viewvc/smartmontools ViewVC] and [source:/ Trac].
    354352
    355353For those, who don't already have a Subversion client installed,
    356 here is a [http://subversion.tigris.org/links.html#clients list of SVN-Clients]
     354here is a [http://subversion.apache.org/packages.html list of SVN Packages] and a
     355[http://en.wikipedia.org/wiki/Comparison_of_Subversion_clients comparison of SVN clients]
    357356for different operating systems and in all colors and flavours. (Stand-alone clients,
    358357Desktop-integrated clients, IDE plug-in clients, ..)
     
    389388the most current development version. And it's trivial, because
    390389each release is __tagged__ with a name. Look at the
    391 [http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/tags/ tags in our SVN repository],
    392 to see what the different names are.
     390[source:/tags/ tags in our SVN repository] to see what the different names are.
    393391
    394392E.g. run the following command to fetch the RELEASE_5_38 release:
     
    401399releases <= 5.39.
    402400
    403 The rest of the build procedure is the same like described above, with one exception:
    404 
    405 - Skip {{{./autogen.sh}}} and {{{./configure}}} for tagged releases <= 5.1-18
    406 (RELEASE_5_X_Y, where X = 0 or 1 and Y = 0 to 18).
     401The rest of the build procedure is the same like described above.
    407402
    408403----