File: install.xml

package info (click to toggle)
nice 0.9.12-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 7,220 kB
  • ctags: 6,894
  • sloc: java: 42,767; xml: 3,508; lisp: 1,079; sh: 736; makefile: 673; cpp: 21; awk: 3
file content (232 lines) | stat: -rw-r--r-- 6,461 bytes parent folder | download | duplicates (4)
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<?xml version="1.0" standalone="no"?>
<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.1.2//EN' 		     
'http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd' [ 
<!ENTITY nice "Nice">
<!ENTITY java "Java">
]>
<page>
<title>Installing the &nice; compiler</title>

<description>
Installing the Nice compiler
</description>

<keywords>
nice, compiler, install, windows, debian, linux, unix, eclipse
</keywords>

<para>
Select your system:

<itemizedlist>

<listitem><para>
<inlinemediaobject><imageobject>
<imagedata fileref="images/eclipse.png"/>
</imageobject></inlinemediaobject>

<link linkend="eclipse">Eclipse</link>

</para></listitem>
<listitem><para>

<inlinemediaobject><imageobject>
<imagedata fileref="images/debian.png"/>
</imageobject></inlinemediaobject>

<link linkend="deb">Debian</link>

</para></listitem>
<listitem><para>

<inlinemediaobject><imageobject>
<imagedata fileref="images/redhat.png"/>
</imageobject></inlinemediaobject>

<link linkend="rpm">Redhat or 
<inlinemediaobject><imageobject>
<imagedata fileref="images/mandrake.png"/>
</imageobject></inlinemediaobject>
Mandrake Linux (rpm)</link>

</para></listitem>
<listitem><para>

<inlinemediaobject><imageobject>
<imagedata fileref="images/linux.png"/>
</imageobject></inlinemediaobject>

<link linkend="unix">Unix</link>

</para></listitem>
<listitem><para>

<inlinemediaobject><imageobject>
<imagedata fileref="images/win32.png"/>
</imageobject></inlinemediaobject>

<link linkend="win">Windows</link>

</para></listitem>
<listitem><para>

<inlinemediaobject><imageobject>
<imagedata fileref="images/unknown.png"/>
</imageobject></inlinemediaobject>

<link linkend="other">Other</link>

</para></listitem>
<listitem><para>

<inlinemediaobject><imageobject>
<imagedata fileref="images/dev-32.png"/>
</imageobject></inlinemediaobject>

<link linkend="source">Source distribution</link>

</para></listitem>
</itemizedlist>

</para>


<section id="eclipse"><title>Eclipse</title>
<para>
Nice can be installed inside the 
<ulink url="http://eclipse.org">eclipse</ulink> development platform. 
Download the <ulink 
url="http://sf.net/project/showfiles.php?group_id=12788&amp;package_id=94229">
plugin zip file</ulink>, and unzip it inside the <literal>plugins</literal>
sub-directory of your eclipse directory.
The Nice plugin works for versions 2.1 and 3.0 of eclipse, and it includes
the Nice compiler, so you don't need to install it separately.
</para>
</section>

<section id="deb"><title>Debian Linux</title>
<para>
Nice is in the Debian archive, so you can
simply <literal>apt-get install nice</literal>.
Alternatively, you can download the 
<ulink url="nice.deb">Debian package</ulink> from this site
and install it with <literal>dpkg -i nice_*.deb</literal>.
</para>
</section>

<section id="rpm"><title>Redhat or Mandrake Linux (rpm)</title>
<para>
Simply download the <ulink url="nice.rpm">RPM package</ulink>
and install it with <literal>rpm -i Nice_*.rpm</literal>.
</para>
</section>

<section id="unix"><title>Unix</title>
<para>
Download the <ulink url="Nice.tar">Nice.tar.gz</ulink> file and
save it as <literal>/tmp/Nice.tar.gz</literal>.
</para>

<variablelist>
<varlistentry><term>System installation (if you are root)</term>
<listitem>
<para>
Uncompress the archive:
<programlisting>
cd /usr/local
tar zxf /tmp/Nice.tar.gz
</programlisting>
</para>
</listitem>
</varlistentry>

<varlistentry><term>User installation</term>
<listitem>
<para>
Uncompress the archive in your home directory:
<programlisting>
cd
tar zxf /tmp/Nice.tar.gz
</programlisting>
The &nice; tools are placed in the <literal>bin</literal> subdirectory. 
It is be a good idea to include it in your <literal>PATH</literal>.
</para>
</listitem>
</varlistentry>
</variablelist>

<para>
That's it! &nice; automatically recognizes where it is installed.
</para>

<para>
If you use Emacs, you should also 
<link linkend="emacs">install the &nice; mode</link>.
</para>
</section>

<section id="win"><title>Windows</title>
<para>
Download <ulink url="Nice.zip">Nice.zip</ulink> and decompress it into
<literal>C:\</literal>. A <literal>Nice</literal> subdirectory will be created.
Then read the documentation in 
<ulink url="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/nice/Nice/web/Readme.txt&quest;rev=HEAD&amp;content-type=text/plain"><literal>Readme.txt</literal></ulink>.
</para>

<para>
<ulink url="http://www.gnu.org/software/emacs/windows/">Emacs for Windows</ulink> is a good editor for Nice programs (and many other things!). 
If you use it, 
you should also <link linkend="emacs">install the &nice; mode</link>.
</para>
</section>

<section id="other"><title>Other systems</title>
<para>
There are no specific instructions for other operating systems.
However &nice; can be used on any system that works with &java;.
If you are in this situation, please 
<ulink url="mailto:bonniot@users.sourceforge.net">contact me</ulink>
to share your experience and augment the documentation.
</para>
</section>

<section id="source"><title>Source distribution</title>
<para>
it is also possible to 
<ulink url="Nice-source.tar.gz">download the source code</ulink> of Nice,
together with a bootstrap compiler. 
Compilation is done by simply typing <literal>make</literal>.
</para>
</section>

<section id="emacs"><title>Emacs mode for Nice</title>
<para>
There is an <ulink url="http://www.gnu.org/software/emacs/">Emacs</ulink> mode
for &nice; which makes Emacs the editor of choice for &nice; programs!
To enable it, place this in your <literal>.emacs</literal> file:
<programlisting>
;; Nice mode
;; If you installed Nice in your home directory,
;; then remove the leading ; in the next line 

;(setq load-path (cons "~/share/emacs/site-lisp/nice" load-path))
(setq auto-mode-alist 
  (cons '("\\.nice$" . nice-mode) auto-mode-alist))
(autoload 'nice-mode "nice-mode" 
  "Major mode for editing Nice programs." t)
</programlisting>

The first line is there to ensure that the <literal>nice-mode.el</literal> file
is in your Emacs <literal>load-path</literal>. 
You may also do that by moving the file to some standard directory. 
Or you may have to replace <literal>~</literal> by <literal>/usr</literal>
or <literal>/usr/local</literal> depending on where you installed Nice.
</para>
<para>
The &nice; mode will then be loaded automatically when you open 
<literal>.nice</literal> files. 
Type <literal>C-h m</literal> for the documentation of the mode.
</para>
</section>

</page>