aboutsummaryrefslogtreecommitdiff
path: root/cvs/cvsweb.cgi/code/nel/INSTALL?rev=1.5&content-type=text/x-cvsweb-markup&sortby=author/index.html
blob: 14b84a4b6d3523b40106f7988664d49a7494905d (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
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
<HEAD><style>		A { color:black }</style>
<!-- hennerik CVSweb $Revision: 1.93 $ -->
<TITLE>code/nel/INSTALL - view - 1.5</TITLE></HEAD>
<BODY BGCOLOR="#eeeeee">
<table width="100%" border=0 cellspacing=0 cellpadding=1 bgcolor="#aaaaaa"><tr valign=bottom><td><a href="INSTALL?sortby=author"><IMG SRC="/inc/img/picto-up.gif" ALT="[BACK]" BORDER="0" WIDTH="14" HEIGHT="13"></a> <b>Return to <A HREF="INSTALL?sortby=author">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/?sortby=author">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?sortby=author">code</a> / <a href="/cvs/cvsweb.cgi/code/nel/?sortby=author">nel</a></b></td></tr></table><HR noshade><table width="100%"><tr><td bgcolor="#ffffff">File:  <a href="/cvs/cvsweb.cgi/?sortby=author">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?sortby=author">code</a> / <a href="/cvs/cvsweb.cgi/code/nel/?sortby=author">nel</a> / <a href="/cvs/cvsweb.cgi/code/nel/INSTALL?sortby=author">INSTALL</a>&nbsp;(<A HREF="/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.5&amp;sortby=author" target="cvs_checkout" onClick="window.open('/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.5','cvs_checkout','resizeable,scrollbars');"><b>download</b></A>)<BR>
Revision <B>1.5</B>, <i>Thu Jan 11 16:14:08 2001 UTC</i> (17 months, 3 weeks ago) by <i>valignat</i>
<BR>Branch: <b>MAIN</b>
<BR>CVS Tags: <b>proto_0_1, nel_0_2</b><BR>Changes since <b>1.4: +8 -3
 lines</b><PRE>
Add version number to the used softwares and libraries and some comment
about it.
</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; The NeL library need the following libraries :

 &nbsp; &nbsp; &nbsp;- STLPort &nbsp;4.0 &nbsp; &lt;URL:<A HREF="http://www.stlport.org/">http://www.stlport.org/</A>&gt;
 &nbsp; &nbsp; &nbsp;- FreeType 2 &nbsp; &nbsp; &lt;URL:<A HREF="http://www.freetype.org/">http://www.freetype.org/</A>&gt;
 &nbsp; &nbsp; &nbsp;- Python &nbsp; 1.5 &nbsp; &lt;URL:<A HREF="http://www.python.org/">http://www.python.org/</A>&gt;

 &nbsp; On a GNU/Linux platform you will need the following libraries and
 &nbsp; softwares :

 &nbsp; &nbsp; &nbsp;- Autoconf &nbsp; &nbsp; &nbsp; &lt;URL:<A HREF="http://www.gnu.org/software/autoconf/autoconf.html">http://www.gnu.org/software/autoconf/autoconf.html</A>&gt;
 &nbsp; &nbsp; &nbsp;- Automake &nbsp; &nbsp; &nbsp; &lt;URL:<A HREF="http://www.gnu.org/software/automake/automake.html">http://www.gnu.org/software/automake/automake.html</A>&gt;
 &nbsp; &nbsp; &nbsp;- Libtool &nbsp; &nbsp; &nbsp; &nbsp;&lt;URL:<A HREF="http://www.gnu.org/software/libtool/libtool.html">http://www.gnu.org/software/libtool/libtool.html</A>&gt;
 &nbsp; &nbsp; &nbsp;- Lex / Flex &nbsp; &nbsp; &lt;URL:<A HREF="http://www.gnu.org/software/flex/flex.html">http://www.gnu.org/software/flex/flex.html</A>&gt;
 &nbsp; &nbsp; &nbsp;- Yacc / Bison &nbsp; &lt;URL:<A HREF="http://www.gnu.org/software/bison/bison.html">http://www.gnu.org/software/bison/bison.html</A>&gt;
 &nbsp; &nbsp; &nbsp;- Mesa &nbsp; &nbsp; 3.3 &nbsp; &lt;URL:<A HREF="http://www.mesa3d.org/">http://www.mesa3d.org/</A>&gt;

 &nbsp; Most of these softwares should be already installed on your system or
 &nbsp; provided on your installation disk. 

 &nbsp; The given sofware or library version numbers are the ones that we are
 &nbsp; using. We don't know if it working with other (older or more recent)
 &nbsp; versions of these softwares or libraries. You are welcome to help us
 &nbsp; to define more precisely these informations ;-)


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 and FreeType libraries. This
 &nbsp; &nbsp; &nbsp;is done in the [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; &nbsp; - Add the FreeType include directory to the &quot;Include Files&quot; category.
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ex: D:/freetype-2.0/include

 &nbsp; &nbsp; &nbsp; &nbsp; - Add the FreeType library directory to the &quot;Library Files&quot; category.
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ex: D:/freetype-2.0/obj

 &nbsp; &nbsp; &nbsp;Open the workspace file &quot;nel.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:/test/code/nel/include

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


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

 &nbsp; &nbsp; &nbsp;The compilation on GNU/Linux has been done only on RedHat 6.2 with
 &nbsp; &nbsp; &nbsp;GCC 2.96.

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

 &nbsp; &nbsp; &nbsp; &nbsp; % ./configure --with-stlport=&lt;Path_to_the_stlport_headers_files&gt; \
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --with-python=&lt;Path_to_the_python_headers_files&gt;
 &nbsp; &nbsp; &nbsp; &nbsp; % make

 &nbsp; &nbsp; &nbsp;The &quot;configure&quot; script must be call with the &quot;--with-stlport&quot; and
 &nbsp; &nbsp; &nbsp;&quot;--with-python&quot; options.
 &nbsp; &nbsp; &nbsp;The option &quot;--with-stlport&quot; allow to override the default STL headers
 &nbsp; &nbsp; &nbsp;and the option &quot;--with-python&quot; tell to the configuration script, where
 &nbsp; &nbsp; &nbsp;to find the Python headers files.

 &nbsp; &nbsp; &nbsp;You migth need to specify the FreeType 2 installation prefix by using
 &nbsp; &nbsp; &nbsp;the &quot;--with-freetype&quot; argument (ex: &quot;/usr/local&quot; will look for the
 &nbsp; &nbsp; &nbsp;header files in &quot;/usr/local/include&quot; and the library files in the
 &nbsp; &nbsp; &nbsp;&quot;/usr/local/lid/ directory).

 &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

 &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 NeL directory :

 &nbsp; &nbsp; &nbsp; &nbsp; % ./bootstrap


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

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

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


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

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


</PRE>