Changeset 6714

Show
Ignore:
Timestamp:
07/02/09 10:00:49 (8 months ago)
Author:
dbaelde
Message:

Try to clarify the info on how to build the source. Add a note about
PACKAGES.default. Put the simple procedure upfront to not scare
people.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/liquidsoap/doc/content/build.txt

    r6143 r6714  
    33h3. Building liquidsoap from source 
    44 
     5From every sub-project's directory (ocaml-vorbis, ocaml-dtools, liquidsoap,  
     6etc.) you can build using <code>./bootstrap</code>, <code>./configure</code>,  
     7<code>make</code> and optionally install using <code>make install</code>. 
     8 
     9If you are using the <code>liquidsoap-full</code> tarball, 
     10or the 
     11"SVN trunk":https://savonet.svn.sourceforge.net/svnroot/savonet/trunk, 
     12there is also a fast procedure for building liquidsoap 
     13that doesn't require installing the libraries provided by Savonet. 
     14The steps to follow are simple. 
     15 
     16First, 
     17you should choose which features you want to enable when building liquidsoap. 
     18Each shipped feature can be enabled/disabled by editing the 
     19<code>PACKAGE</code> file. 
     20Depending on your version you might have to first copy  
     21<code>PACKAGES.default</code> to <code>PACKAGES</code>. 
     22 
     23Then run the usual commands from the toplevel directory, _above_ the 
     24sub-project's directories: 
     25%% 
     26# Edit PACKAGES to choose which feature you want 
     27 
     28# In the SVN tree you should bootstrap first. 
     29# No need with the tarballs. 
     30./bootstrap 
     31 
     32# Configure all libraries and packages. 
     33# You may pass extra options such as --enable-debugging, 
     34# --prefix, --sysconfdir, --localstatedir, etc. 
     35./configure 
     36 
     37# Now, build all libraries and liquidsoap 
     38make 
     39 
     40# To install liquidsoap, 
     41# you'll usually need to type the following as root 
     42make install 
     43%% 
     44 
    545h4. Dependencies 
    6  
    7 You can choose which features you want to enable when building liquidsoap. 
    8 If you use the -full tarball, each shipped feature can be enabled/disabled using the <code>PACKAGE</code> file. 
    946 
    1047Here are liquidsoap's dependencies (all OCaml libraries are distributed by Savonet, except when linked): 
     
    4582 
    4683And other that you'll find on the project page, or in liquidsoap-full tarball. 
    47  
    48 h4. Building the source 
    49  
    50 From every sub-project's directory you can build and install the package using <code>./bootstrap</code>, <code>./configure</code>, <code>make</code> and optionally <code>make install</code>. 
    51  
    52 From the toplevel savonet directory you can also directly build a vanilla liquidsoap. It's fast and doesn't require you to install the libraries. The steps to follow are simple: 
    53 %% 
    54 # Edit PACKAGES to choose which feature you want 
    55 ./configure 
    56 make 
    57 # To install liquidsoap, 
    58 # you'll usually need to type the following as root 
    59 make install 
    60 %%