From f71b6b92840a396500aa477a6dba94be4c36d3bb Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 20 Nov 2010 01:13:13 +0000 Subject: have configure only look for bullet in /usr by default, --with-bullet=prefix switch overrides, updated documentation --- doc/installation.html | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'doc/installation.html') diff --git a/doc/installation.html b/doc/installation.html index 2c3ddfc..cc1ec14 100644 --- a/doc/installation.html +++ b/doc/installation.html @@ -173,7 +173,7 @@ unzip ../osirion-data-latest.zip the instructions in this document to create a complete environment, capable of building the Project::OSiRiON source code. You need to install the base system described in part one, and the following packages described - in part two: DirectX development files, zlib, SDL, libpng, libjpeg, OpenAL Soft, pdcurses and bullet. + in part two: pkg-config, DirectX development files, zlib, SDL, libpng, libjpeg, OpenAL Soft, pdcurses and bullet.

@@ -250,32 +250,31 @@ autoreconf -fi
./configure
-

- If you do not need the client and want to build the dedicated server only - you can pass the --without-client option to configure: -

-
-./configure --without-client -

Configure will automaticly detect the bullet library if it was installed in - /usr or /usr/local. + /usr. If it was installed somewhere else you will have to pass the --with-bullet=prefix option - to configure. For example, --with-bullet=/opt/bullet will use the bullet libraries installed in - /opt/bullet/lib and the includes in /opt/bullet/include/bullet. + to configure. For example, --with-bullet=/usr/local will use the bullet libraries installed in + /usr/local/lib and the includes in /usr/local/include/bullet.

-./configure --with-bullet=/opt/bullet +./configure --with-bullet=/usr/local

If you add the --enable-static-bullet option, the resulting binary will be staticly linked with the bullet libraries. They will work on systems that do not have bullet installed.

-./configure --with-bullet=/opt/bullet --enable-static-bullet +./configure --with-bullet=/usr/local --enable-static-bullet +
+

+ If you do not need the client and want to build the dedicated server only + you can pass the --without-client option to configure: +

+
+./configure --without-client
-

If configure finds ncurses or pdcurses, the dedicated server will use this library and a have a curses console. To disable curses detection, pass the -- cgit v1.2.3