| 1 |
LifeLines Source Release, Version 3.0.61 |
| 2 |
http://lifelines.sourceforge.net |
| 3 |
------------------------------------------------------------------------- |
| 4 |
|
| 5 |
******************************** |
| 6 |
Contents: |
| 7 |
1. General (UNIX) installation |
| 8 |
1a) Dependencies |
| 9 |
2. Platform specific notes |
| 10 |
2a) Platforms supported out-of-the-box |
| 11 |
2b) Microsoft Windows |
| 12 |
2c) cygwin |
| 13 |
2d) rpm packages |
| 14 |
2e) Debian binaries |
| 15 |
2f) gcc 2.7.2.1 |
| 16 |
2g) curses |
| 17 |
2h) Mac OS X |
| 18 |
******************************** |
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
****************************** |
| 23 |
1. General (UNIX) installation |
| 24 |
****************************** |
| 25 |
|
| 26 |
|
| 27 |
This is the source distribution of the LifeLines system, a genealogy |
| 28 |
software system. |
| 29 |
|
| 30 |
(If you are building from cvs sources, you will not have a configure |
| 31 |
script, and you should be reading the README.DEVELOPERS instructions.) |
| 32 |
|
| 33 |
LifeLines should compile correctly using GNU gcc or any native C compiler. |
| 34 |
It also will build using the Cygnus tools on Windows (but see note in the |
| 35 |
platform notes section below). |
| 36 |
|
| 37 |
To build and install LifeLines, do the following: |
| 38 |
|
| 39 |
./configure (if that does't work, try 'sh ./configure') |
| 40 |
make |
| 41 |
make install |
| 42 |
|
| 43 |
If you do not have gettext & iconv installed, you may need to use |
| 44 |
./configure --disable-nls |
| 45 |
|
| 46 |
This will generate Makefiles suitable for your platform and then build |
| 47 |
and install the LifeLines programs. You will end up with the following |
| 48 |
executables (installed in various places, depending on your platform): |
| 49 |
|
| 50 |
llines -- main LifeLines system program |
| 51 |
btedit -- general purpose btree edit program |
| 52 |
dbverify -- checks a LifeLines database for problems |
| 53 |
|
| 54 |
llines is the main LifeLines program. |
| 55 |
|
| 56 |
dverify can be used to verify the correctness of a LifeLines database. |
| 57 |
This is handy if you're storing databases on floppies, or just for |
| 58 |
peace of mind. |
| 59 |
|
| 60 |
btedit is a administration tool used for unmangling mangled databases, |
| 61 |
and is extremely powerful. You should only use this program under the |
| 62 |
expert guidance of a LifeLines developer. |
| 63 |
|
| 64 |
|
| 65 |
docs: |
| 66 |
The make process will attempt to generate html, pdf, and text |
| 67 |
documentation from the xml source files. If the jw tools are |
| 68 |
not found, errors will display, but the make will continue. |
| 69 |
Pregenerated versions of the documentation are included, in |
| 70 |
html, pdf, and text formats, so it is not necessary to have |
| 71 |
these tools installed. It is simply beneficial to ensure that |
| 72 |
they are absolutely up-to-date. |
| 73 |
|
| 74 |
****************************** |
| 75 |
1a) Dependencies |
| 76 |
****************************** |
| 77 |
lifelines has a number of dependencies and they vary depending on |
| 78 |
how you build lifelines. (Avoid gcc version 2.7.2.1) |
| 79 |
1. General dependencies |
| 80 |
ncurses |
| 81 |
2. Building from CVS |
| 82 |
automake |
| 83 |
autoconf |
| 84 |
bison |
| 85 |
3. Document Generation - see above about docs. |
| 86 |
Regeneration of the docs requires tools to convert from xml to html, pdf, |
| 87 |
and text. Currently the tools being used are |
| 88 |
docbook |
| 89 |
docbook-utils |
| 90 |
lynx |
| 91 |
4. Multiple Language support - processed files are checked into cvs, but |
| 92 |
to rebuild the language files: |
| 93 |
gettext |
| 94 |
iconv |
| 95 |
|
| 96 |
Some notes on our document generation. The makefiles currently are setup to |
| 97 |
use the "docbook-utils" package -- part of the "docbook-tools" package at RedHat. |
| 98 |
More tools are becoming available to convert xml to html and/or pdf formats. |
| 99 |
On FreeBSD systems it is possible to use Xerces and Xalan -- a XML parser |
| 100 |
and XSLT transformer, respectively, from the Apache XML project: |
| 101 |
http://xml.apache.org/ |
| 102 |
$ xalan -o ll-userguide.html ll-userguide.xml .../docbook-xsl/html/docbook.xsl |
| 103 |
$ htmldoc -f ll-userguide.pdf ll-userguide.html |
| 104 |
DarwinPorts has xercesc, xalanc, docbook-xml, and docbook-xsl. |
| 105 |
|
| 106 |
************************** |
| 107 |
2. Platform specific notes |
| 108 |
************************** |
| 109 |
|
| 110 |
********************* |
| 111 |
2a) Platforms supported out-of-the-box |
| 112 |
********************* |
| 113 |
|
| 114 |
Many unix systems should be supported out-of-the-box with the tarball |
| 115 |
(lifelines-x.y.z.tar.gz) distribution. |
| 116 |
|
| 117 |
Reported successes include: |
| 118 |
lifelines-3.0.46: |
| 119 |
Fedora Core 3 |
| 120 |
FreeBSD 4.11-STABLE |
| 121 |
OS X 10.3.9 |
| 122 |
|
| 123 |
|
| 124 |
********************* |
| 125 |
2b) Microsoft Windows |
| 126 |
********************* |
| 127 |
|
| 128 |
For installing the binary distribution on MS-Windows, refer to the |
| 129 |
file Install.LifeLines.Windows.txt included in that distribution |
| 130 |
(& also included in the docs subdirectory of the source |
| 131 |
distributions). |
| 132 |
|
| 133 |
For compiling from source on MS-Windows, if using cygwin, refer to |
| 134 |
the General (UNIX) instruction above (and see also the cygwin note |
| 135 |
below). If using MS Visual C++, you may use the project files |
| 136 |
included in the subdirectories beneath /win32/msvc6 (which are |
| 137 |
currently used by Perry to generate the binaries in the MS-Windows |
| 138 |
binary distribution). |
| 139 |
|
| 140 |
|
| 141 |
********** |
| 142 |
2c) Cygwin |
| 143 |
********** |
| 144 |
|
| 145 |
Cygwin is a UNIX environment for MS-Windows. |
| 146 |
http://sources.redhat.com/cygwin |
| 147 |
The lines around the boxes in the lifelines curses GUI use OEM |
| 148 |
box characters, and so only display correctly with this setting: |
| 149 |
export CYGWIN=codepage:oem |
| 150 |
This of course affects the console code page. If all your data is |
| 151 |
ASCII, this solution may work fine for you. Otherwise, you may |
| 152 |
invoke llines with the -z switch to suppress curses graphics, and |
| 153 |
use primitive ASCII graphics. This is not particularly attractive, |
| 154 |
but is usable. Suggestions are welcome. |
| 155 |
Note that the -z commandline switch was added after the 3.0.9 |
| 156 |
release. |
| 157 |
|
| 158 |
To compile libiconv on cygwin, I had to compile it statically, eg, |
| 159 |
(in libiconv directory) |
| 160 |
./configure --enable-static --disable-shared |
| 161 |
|
| 162 |
|
| 163 |
*************** |
| 164 |
2d) rpm packages |
| 165 |
*************** |
| 166 |
|
| 167 |
The source distribution includes the spec file to create rpm |
| 168 |
packages. |
| 169 |
|
| 170 |
*************** |
| 171 |
2e) Debian packages |
| 172 |
*************** |
| 173 |
|
| 174 |
Christian Perrier maintains a Debian port of linux. |
| 175 |
See: |
| 176 |
http://packages.debian.org/cgi-bin/search_packages.pl?searchon=names&version=all&exact=1&keywords=lifelines |
| 177 |
|
| 178 |
|
| 179 |
*************** |
| 180 |
2f) gcc 2.7.2.1 |
| 181 |
*************** |
| 182 |
|
| 183 |
gcc 2.7.2.1 does not understand -Wreturn-type, so this |
| 184 |
must be removed from configure and from CFLAGS in |
| 185 |
interp/Makefile* files. This must be done before configuring, |
| 186 |
because it causes configure tests to fail spuriously. |
| 187 |
(Jan, 2002) |
| 188 |
|
| 189 |
|
| 190 |
********** |
| 191 |
2g) curses |
| 192 |
********** |
| 193 |
|
| 194 |
Compiling with curses (lacking ncurses) on a BSDI 3.1 box, |
| 195 |
I had to add |
| 196 |
-ltermcap |
| 197 |
to the LIBS line in liflines/Makefile. (The symptom was |
| 198 |
"unknown symbol... _tputs.) |
| 199 |
However, I wound up core dumping at run-time, so I don't know |
| 200 |
what is going on. |
| 201 |
(Perry, Jan, 2002) |
| 202 |
|
| 203 |
|
| 204 |
************ |
| 205 |
2h) Mac OS X |
| 206 |
************ |
| 207 |
|
| 208 |
Please see the following page about LifeLines on Mac OS X: |
| 209 |
http://homepage.mac.com/shrubbery/LifeLines |
| 210 |
(which is also available via the Apple downloads site and Stepwise.) |
| 211 |
This page offers both precompiled binaries and instructions for |
| 212 |
compilation. |
| 213 |
NB: Because the gnu tests for platform didn't recognize Darwin, |
| 214 |
on older versions, perhaps before 10.2.x, it was necessary to pass |
| 215 |
an argument to configure, eg, |
| 216 |
./configure ppc |
| 217 |
There is no specific code needed for Darwin; this is just to avoid |
| 218 |
the macros getting angry at the unknown output from "uname -a". |
| 219 |
|
| 220 |
|