Subversion Repositories tendra.SVN

Rev

Rev 120 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6 7u83 1
TENDRA 5.0.0 INSTALLATION INFORMATION
2
=====================================
2 7u83 3
 
6 7u83 4
REVISION INFORMATION
5
--------------------
6
$Id$
2 7u83 7
 
6 7u83 8
COPYRIGHT INFORMATION
9
---------------------
2 7u83 10
 
6 7u83 11
Please read the file COPYRIGHT for the copyright notice.
2 7u83 12
 
13
 
6 7u83 14
DOWNLOADING INFORMATION
15
-----------------------
2 7u83 16
 
6 7u83 17
The TenDRA 5.0.0 release is available via the Web site:
2 7u83 18
 
6 7u83 19
  http://www.tendra.org/download/releases/tendra/
2 7u83 20
 
6 7u83 21
or by FTP from ftp.allbsd.org, in the directory /pub/TenDRA/releases/tendra/.
22
It consists of the gzipped tar archive:
2 7u83 23
 
6 7u83 24
	TenDRA-5.0.0.tar.gz
2 7u83 25
 
6 7u83 26
(about 3.9MB - see the actual site for the precise figure), plus the
27
optional documentation, comprising a copy of the documents available
28
from the TenDRA web site:
2 7u83 29
 
6 7u83 30
	TenDRA-5.0.0-doc.tar.gz
2 7u83 31
 
6 7u83 32
(about 760kB).
2 7u83 33
 
34
 
6 7u83 35
INSTALLATION INFORMATION
36
------------------------
2 7u83 37
 
6 7u83 38
TenDRA has a few dependencies, of which only one would most likely be missing
39
on any decent Unix or Unix-like system:
2 7u83 40
 
6 7u83 41
ash,
42
awk,
43
sed
2 7u83 44
 
6 7u83 45
The main source archive can be extracted using:
2 7u83 46
 
6 7u83 47
pax.bz2:	bzip2 -dc TenDRA-<version|date>.pax.bz2 | pax -rv
48
pax.gz:		gzip -dc TenDRA-<version|date>.pax.gz | pax -rv
49
tar.bz2:	bzip2 -dc TenDRA-<version|date>.tar.bz2 | tar xvf -
50
tar.gz:		gzip -dc TenDRA-<version|date>.tar.gz | tar xvf -
2 7u83 51
 
6 7u83 52
to give a directory, TenDRA-<version|date>, containing the release source.
53
If you also want to install the release documentation you will also need to
54
download TenDRA-5.0.0-doc.tar.gz and extract this as above.  The
55
documentation is extracted into the subdirectory TenDRA-5.0.0/doc.
2 7u83 56
 
6 7u83 57
The release is installed by running the shell script 'makedefs' found in
58
the main source directory.  The default configuration installs the
59
public executables into /usr/local/bin, the private executables,
60
libraries, configuration files etc. into /usr/local/lib/TenDRA, and
61
the manual pages into /usr/local/man.  This location and other options  may
62
be changed by passing along variables to the 'makedefs' script (which is
63
fully commented).
120 7u83 64
 
65
Use this command to build:
66
 
67
	$ ./makedefs
68
	$ make
69
	$ make wrappers
70
 
71
The following are the old instructions from 5.0.0
72
 
6 7u83 73
For example:
2 7u83 74
 
6 7u83 75
	$ CC=gcc ./makedefs
2 7u83 76
 
6 7u83 77
will configure the build to use gcc as the compiler.  Follow this up with
78
executing make (or bmake if called like that):
2 7u83 79
 
6 7u83 80
	$ make -DBOOTSTRAP
2 7u83 81
 
6 7u83 82
When compilation is done follow up with:
2 7u83 83
 
6 7u83 84
	$ make
2 7u83 85
 
6 7u83 86
And when all is done use the following to install:
2 7u83 87
 
6 7u83 88
	$ make install
2 7u83 89
 
90
 
6 7u83 91
KNOWN INSTALLATION PROBLEMS
92
---------------------------
2 7u83 93
 
6 7u83 94
Several of the components have been updated to use the posix1 or xpg4
95
APIs rather than the older posix and xpg3.  Due to an error in the
96
TenDRA-4.1.1 posix1 API specification, this means that they may not
97
compile under the TenDRA-4.1.1 (although they will with TenDRA-4.1.2
98
of course).  If this is an issue then modify the Makefiles to use
99
the older APIs.
2 7u83 100
 
6 7u83 101
The location of certain system linker files has changed in later versions
102
of Linux.  The solution is to change the tcc environment files to reflect
103
the new locations.
2 7u83 104
 
6 7u83 105
Todo:	cd src/lib/env/linux/elf
106
	mv 80x86 80x86.old
107
	mv 80x86.new 80x86