diff --git a/docs/compiling.html.in b/docs/compiling.html.in new file mode 100644 index 0000000000..49bc7ee860 --- /dev/null +++ b/docs/compiling.html.in @@ -0,0 +1,75 @@ + + +
++ libvirt uses the standard configure/make/install steps: +
+ ++ $ gunzip -c libvirt-x.x.x.tar.gz | tar xvf - + $ cd libvirt-x.x.x + $ ./configure+ +
+ The configure script can be given options to change its default + behaviour. +
+ ++ To get the complete list of the options it can take, pass it the + --help option like this: +
+ ++ $ ./configure --help+ +
+ When you have determined which options you want to use (if any), + continue the process. +
+ ++ Note the use of sudo with the make install command + below. Using sudo is only required when installing to a location your + user does not have write access to. Installing to a system location + is a good example of this. +
+ ++ If you are installing to a location that your user does have write + access to, then you can instead run the make install command + without putting sudo before it. +
+ ++ $ ./configure [possible options] + $ make + $ sudo make install+ +
+ At this point you may have to run ldconfig or a similar utility + to update your list of installed shared libs. +
+ +
+ The libvirt build process uses GNU autotools, so after obtaining a
+ checkout it is necessary to generate the configure script and Makefile.in
+ templates using the autogen.sh
command, passing the extra
+ arguments as for configure. As an example, to do a complete build and
+ install it into your home directory run:
+
+ $ ./autogen.sh --prefix=$HOME/usr --enable-compile-warnings=error + $ make + $ sudo make install+ + diff --git a/docs/downloads.html.in b/docs/downloads.html.in index 709bee8be1..64a16c9f37 100644 --- a/docs/downloads.html.in +++ b/docs/downloads.html.in @@ -91,46 +91,9 @@
- libvirt uses the standard configure/make/install steps: + Once you've have obtained the libvirt source code, you can compile it + using the instructions here.
- -- gunzip -c libvirt-xxx.tar.gz | tar xvf - - cd libvirt-xxxx - ./configure --help- -
- To see the options, then the compilation/installation proper: -
- -- ./configure [possible options] - make - make install- -
- At that point you may have to rerun ldconfig or a similar utility to - update your list of installed shared libs. -
- -
- The libvirt build process uses GNU autotools, so after obtaining a
- checkout it is necessary to generate the configure script and Makefile.in
- templates using the autogen.sh
command, passing the extra
- arguments as for configure. As an example, to do a complete build and
- install it into your home directory run:
-
- ./autogen.sh --prefix=$HOME/usr --enable-compile-warnings=error - make - make install