Skip to content

Commit b54e2aa

Browse files
committed
Merge branch 'master' of github.com:kburtch/SparForte
2 parents a17bf91 + a50a629 commit b54e2aa

File tree

2 files changed

+38
-13
lines changed

2 files changed

+38
-13
lines changed

INSTALL

+36-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,22 @@ standard C libraries for your operating system. Please contribute new
3232
os_bindings files to the SparForte project.
3333

3434

35+
BINARY DISTRIBUTIONS vs. SOURCE CODE
36+
37+
The binary versions are created while testing SparForte before release.
38+
They are built for specific version of specific Operating Systems. You
39+
will need to run the provision.sh script to install all the library
40+
dependencies for your operating systems.
41+
42+
The binary distributions should containt the spar binary and the
43+
SparForte manual in the doc directory and sample scripts in the examples
44+
directory.
45+
46+
The source code file has the source code in Ada, C and shell scripts,
47+
along with the SparForte manual and sample scripts. You will need to
48+
build SparForte from the source files to use it.
49+
50+
3551
REQUIREMENTS
3652

3753
We have attempted to avoid re-inventing existing functionality wherever
@@ -73,6 +89,12 @@ The following software packages are required for SparForte:
7389

7490
* SDL (Simple DirectMedia Layer) library and SDL_image
7591

92+
* GNU locate is optional. The configure script will fallback to using
93+
the "find" command.
94+
95+
96+
DEPENDENCIES
97+
7698
These may not be installed on your operating system, or some components
7799
may be missing. How you install these depends on your operating system.
78100

@@ -112,7 +134,8 @@ The following software packages are required for SparForte:
112134
$ apt-get install postgresql-server-dev-all
113135
$ apt-get install libgstreamer0.10-dev
114136

115-
Update the locate database: Debian uses a static Ada Run-Time file so SparForte
137+
If you GNU locate is installed, update the locate database:
138+
Debian uses a static Ada Run-Time file so SparForte
116139
will need to use locate instead of ldconfig to find it. (Running updatedb
117140
is safe even if this was not true.)
118141

@@ -138,6 +161,7 @@ The following software packages are required for SparForte:
138161
$ sh configure
139162
$ make
140163

164+
141165
INSTALLATION
142166

143167
SparForte has a language test suite to verify builds and the sample
@@ -269,6 +293,17 @@ Type "gmake help" for a list of all options. There are more options in the
269293
src directory makefile.
270294

271295

296+
LOGIN SHELL
297+
298+
SparForte will run as a login shell if you place it in the /etc/passwd
299+
file accordingly. Alternatively, change /etc/shells to allow users to
300+
select spar as a shell with chsh. You will need to be the superuser to
301+
copy or edit these files.
302+
303+
You can run SparForte in login shell mode without making it your login
304+
shell by running it using the "--login" (or "-l") command option.
305+
306+
272307
INSTALLING FOR WEB TEMPLATES
273308

274309
SparForte can run as a CGI program. The exact requirements depends on

README

+2-12
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,8 @@ APQ is released under the ACL or GPL licence.
2525

2626
Installation
2727

28-
If you have downloaded the binary version, you should have the spar
29-
binary and the SparForte manual in the doc directory and sample scripts in
30-
the examples directory.
31-
32-
To install SparForte as your login shell, copy the "spar" file to the
33-
/usr/local/bin directory (or type "make install" to do this for you).
34-
Then change the /etc/passwd file accordingly. Alternatively, change
35-
/etc/shells to allow users to select spar as a shell with chsh.
36-
You will need to be the superuser to copy or edit these files.
37-
38-
If you have downloaded the SparForte sources, the INSTALL file contains
39-
instructions for compiling the sources.
28+
INSTALL has information on how to install SparForte.
29+
4030

4131
"Have a lot of fun!"
4232

0 commit comments

Comments
 (0)