README 1.19 KB
Newer Older
dcw's avatar
dcw committed
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
Datadec takes recursive data types modelled on those found in functional
languages (Hope, Miranda, Haskell etc) and generates ANSI C code to
implement them.

			Duncan C. White, dcw@doc.ic.ac.uk
			19th March 2002

Building and Packaging on Linux
-----------------

Either download http://csgsoft.doc.ic.ac.uk/datadec/datadec-1.0-1.i386.rpm
and install it (rpm -i) from there, or do a source build:

1. Download the datadec-1.0.tgz file and save it in your RPM SOURCES directory.

2. Extract the package SPEC file:
   
	tar xzf datadec-1.0.tgz datadec-1.0/PKG/RPM

3. Enter the directory and build the package:

	cd datadec-1.0/PKG/RPM
	rpm -bb datadec.spec

4. Now you can install the datadec-1.0-1.is386.rpm that you just built,
   using rpm -i..


Building on Solaris or Other Unices
-----------------------------------

1. Extract the .tgz file..

2. Compile it:

	cd datadec-1.0
	make

3. Install it (run this as root) into /usr/local/bin and /usr/man/man1:

	make install

4. (Optionally on Solaris) package it up and store in somewhere:

	cd PKG/Solaris
	make

	(edit Makefile, changing where to store the built package)

	make install

5. install the package (as root):

	pkgadd -d datadec-1.0-1-sol8-sparc-dcw all