aboutsummaryrefslogtreecommitdiff
path: root/cvs/cvsweb.cgi/code/snowballs2/INSTALL?rev=1.4&content-type=text/x-cvsweb-markup/index.html
blob: fadc195273ffd53e434dbc3a025136bda17cc6bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
<HEAD><style>		A { color:black }</style>
<!-- hennerik CVSweb $Revision: 1.93 $ -->
<TITLE>code/snowballs2/INSTALL - view - 1.4</TITLE></HEAD>
<BODY BGCOLOR="#eeeeee">
<table width="100%" border=0 cellspacing=0 cellpadding=1 bgcolor="#aaaaaa"><tr valign=bottom><td><a href="INSTALL"><IMG SRC="/inc/img/picto-up.gif" ALT="[BACK]" BORDER="0" WIDTH="14" HEIGHT="13"></a> <b>Return to <A HREF="INSTALL">INSTALL</A>
 CVS log</b> <IMG SRC="/inc/img/picto-news.gif" ALT="[TXT]" BORDER="0" WIDTH="13" HEIGHT="15"></td><td align=right><IMG SRC="/inc/img/picto-dir.gif" ALT="[DIR]" BORDER="0" WIDTH="15" HEIGHT="13"> <b>Up to  <a href="/cvs/cvsweb.cgi/">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/">code</a> / <a href="/cvs/cvsweb.cgi/code/snowballs2/">snowballs2</a></b></td></tr></table><HR noshade><table width="100%"><tr><td bgcolor="#ffffff">File:  <a href="/cvs/cvsweb.cgi/">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/">code</a> / <a href="/cvs/cvsweb.cgi/code/snowballs2/">snowballs2</a> / <a href="/cvs/cvsweb.cgi/code/snowballs2/INSTALL">INSTALL</a>&nbsp;(<A HREF="/cvs/cvsweb.cgi/~checkout~/code/snowballs2/INSTALL?rev=1.4" target="cvs_checkout" onClick="window.open('/cvs/cvsweb.cgi/~checkout~/code/snowballs2/INSTALL?rev=1.4','cvs_checkout','resizeable,scrollbars');"><b>download</b></A>)<BR>
Revision <B>1.4</B>, <i>Tue Mar 19 17:42:49 2002 UTC</i> (2 months, 3 weeks ago) by <i>valignat</i>
<BR>Branch: <b>MAIN</b>
<BR>CVS Tags: <b>HEAD</b><BR>Changes since <b>1.3: +1 -1
 lines</b><PRE>
Applied patches which help to have a clen install on GNU/Linux and to make a Debian package (changes on the management of config and log files, bugfixes, etc ...)
</PRE>
</td></tr></table><HR noshade><PRE>
If you find any bugs use the Nevrax Bug Tracking System :

 &nbsp; &lt;URL:<A HREF="/bugs/">/bugs/</A>&gt;

If you need any help contact us on the NeL mailing-list :

 &nbsp; &lt;URL:<A HREF="/mail/">/mail/</A>&gt;


Requirements
============

 &nbsp; Snowballs need the folowing libraries :

 &nbsp; &nbsp; &nbsp;- STLPort 4.5 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;URL:<A HREF="http://www.stlport.org/">http://www.stlport.org/</A>&gt;
 &nbsp; &nbsp; &nbsp;- NeL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;URL:<A HREF="/">/</A>&gt;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Default install plus NeL Sound.
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;You need to launch the configure script with the '--enable-sound'
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;option.
 &nbsp; &nbsp; &nbsp;- NeLNS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;URL:<A HREF="/">/</A>&gt;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;This is mandatory to run the Snowballs server but it isn't for
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;the Snowballs client.

 &nbsp; And the lastest Snowballs data pack available :

 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;URL:<A HREF="/download/cvs/">/download/cvs/</A>&gt;


Compilation
===========

 &nbsp; 1. Windows compilation
 &nbsp; ----------------------

 &nbsp; &nbsp; &nbsp;The compilation on Windows has been done only with Visual C++ 6.0 SP4.

 &nbsp; &nbsp; &nbsp;Set up Visual C++ to find the STLPort libraries. This is done in the
 &nbsp; &nbsp; &nbsp;[Tools -&gt; Options -&gt; Directories] menu :

 &nbsp; &nbsp; &nbsp; &nbsp; - Add the STLPort include directory to the &quot;Library Files&quot; category.
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ex: D:/stlport-4.0/stlport

 &nbsp; &nbsp; &nbsp; &nbsp; - Add the STLPort library directory to the &quot;Library Files&quot; category.
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ex: D:/stlport-4.0/lib

 &nbsp; &nbsp; &nbsp;Open the workspace file &quot;snowballs.dsw&quot; (in the menu [File -&gt; Workspace]).

 &nbsp; &nbsp; &nbsp;Setup Visual C++ to find the NeL include and library files :

 &nbsp; &nbsp; &nbsp; &nbsp; - Add the NEL include directory to the &quot;Library Files&quot; category.
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ex: D:/prefix/include

 &nbsp; &nbsp; &nbsp; &nbsp; - Add the STLPort library directory to the &quot;Library Files&quot; category.
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ex: D:/prefix/lib


 &nbsp; 2. GNU/Linux compilation
 &nbsp; ------------------------

 &nbsp; &nbsp; &nbsp;In the case (ex: after a cvs checkout) that you need to rebuild the
 &nbsp; &nbsp; &nbsp;&quot;configure&quot; script and/or the &quot;Makefile.in&quot; files, execute the
 &nbsp; &nbsp; &nbsp;&quot;bootstrap&quot; script in the swnoballs directory :
 
 &nbsp; &nbsp; &nbsp; &nbsp; % ./bootstrap

 &nbsp; &nbsp; &nbsp;In the snowballs directory do :

 &nbsp; &nbsp; &nbsp; &nbsp; % ./configure --with-stlport=&lt;Path_to_the_stlport_install_directory&gt;

 &nbsp; &nbsp; &nbsp; &nbsp; % make

 &nbsp; &nbsp; &nbsp;The &quot;configure&quot; script must be call with the &quot;--with-stlport&quot; option.
 &nbsp; &nbsp; &nbsp;This option permit to override the default STL headers.

 &nbsp; &nbsp; &nbsp;To disable the client or the server compilation and install, use
 &nbsp; &nbsp; &nbsp;'--disable-client' and '--disable-server' options.

 &nbsp; &nbsp; &nbsp;To pass additional arguments to the C++ compiler, use the command line :

 &nbsp; &nbsp; &nbsp; &nbsp; % CXXFLAGS=-pipe ./configure --with-stlport=&lt;STLPort_headers_path&gt;

 &nbsp; &nbsp; &nbsp;To get the complete list of arguments of the &quot;configure&quot; script use the
 &nbsp; &nbsp; &nbsp;following command :

 &nbsp; &nbsp; &nbsp; &nbsp; % ./configure --help


Installation
============

 &nbsp; 1. Windows installation
 &nbsp; -----------------------

 &nbsp; &nbsp; &nbsp;Not done yet.


 &nbsp; 2. GNU/Linux installation
 &nbsp; --------------------------

 &nbsp; &nbsp; &nbsp;% make install


Contact us
==========

 &nbsp; If you find any bugs use the Nevrax Bug Tracking System :

 &nbsp; &nbsp; &nbsp;&lt;URL:<A HREF="/bugs/">/bugs/</A>&gt;

 &nbsp; If you need any help contact us on the NeL mailing-list :

 &nbsp; &nbsp; &nbsp;&lt;URL:<A HREF="/mail/">/mail/</A>&gt;



</PRE>