| 1 | ------------------------------------------------------------------------------- |
|---|
| 2 | $Id$ |
|---|
| 3 | ------------------------------------------------------------------------------- |
|---|
| 4 | [Table of Contents]: |
|---|
| 5 | ...0: Preface / Requirements |
|---|
| 6 | ...1: Getting the source |
|---|
| 7 | ...2: Compiling |
|---|
| 8 | ...3: Installing |
|---|
| 9 | ...4: Running |
|---|
| 10 | ...5: Help! It didn't work! |
|---|
| 11 | ..98: Credits |
|---|
| 12 | ..99: Contact |
|---|
| 13 | ------------------------------------------------------------------------------- |
|---|
| 14 | [0: Preface / Requirements]: |
|---|
| 15 | |
|---|
| 16 | Reading READMEs from start to finish is usually a good idea. They tend to |
|---|
| 17 | contain a lot of information that is valid/valuable for 99% of users. That |
|---|
| 18 | being said, I've tried to keep things short and to the point for those of you |
|---|
| 19 | who have little patience. Before you start running the daemon, you should read |
|---|
| 20 | the below list of requirements to make sure you've got everything you need. |
|---|
| 21 | |
|---|
| 22 | Requirements: |
|---|
| 23 | 1. A modern Unix. At the present time this system is not designed to run on |
|---|
| 24 | anything but Unix and Unix-variant systems. I will be doing a win32 |
|---|
| 25 | version "real soon now" unless Microsoft fires me and I go back to |
|---|
| 26 | working on Unix systems as a dayjob. :) |
|---|
| 27 | 2. Access to a C compiler, and a few megabytes of space. You can install this |
|---|
| 28 | system as a regular user, but you will need the compiler and space. |
|---|
| 29 | 3. At least moderate knowledge of working with files on your system. You're |
|---|
| 30 | going to need to know how to edit configuration files, run programs, and |
|---|
| 31 | probably move data around. I've tried to make things fairly clear, but |
|---|
| 32 | YMMV. |
|---|
| 33 | 4. A module which you wish to run. The base system doesn't come with any |
|---|
| 34 | modules, you'll need to get them on your own. There are some available |
|---|
| 35 | from the site where the base system is hosted. |
|---|
| 36 | 5. GNU Make. On Linux this is invariably the regular 'make' which you |
|---|
| 37 | already have. On BSD systems (and others) it may be installed as |
|---|
| 38 | 'gmake'. |
|---|
| 39 | |
|---|
| 40 | ------------------------------------------------------------------------------- |
|---|
| 41 | [1: Getting the source]: |
|---|
| 42 | |
|---|
| 43 | The source code for ithildin can currently be retrieved from one of two |
|---|
| 44 | places: Subversion (like CVS) or the website. If you |
|---|
| 45 | |
|---|
| 46 | * The website is at http://ithildin.org/dist/ |
|---|
| 47 | |
|---|
| 48 | * The subversion repository is located at: |
|---|
| 49 | http://svn.ithildin.org/repo/trunk/ithildin |
|---|
| 50 | To check out the latest code from the svn repository, you can do: |
|---|
| 51 | $ svn co http://svn.ithildin.org/repo/trunk/ithildin |
|---|
| 52 | If you do not have subversion installed on your system it can be retrieved |
|---|
| 53 | from http://subversion.tigris.org/. Please note that getting the svn copy |
|---|
| 54 | of the source will give you every module in the system. You might not |
|---|
| 55 | want that. |
|---|
| 56 | |
|---|
| 57 | ------------------------------------------------------------------------------- |
|---|
| 58 | [2: Compiling]: |
|---|
| 59 | |
|---|
| 60 | This system should be relatively straightforward to compile. You'll need to do |
|---|
| 61 | the following: |
|---|
| 62 | |
|---|
| 63 | 1) Extract any modules you wish to use in the "modules/" directory. For |
|---|
| 64 | example let us say you downloaded the "syslog" module package in your home |
|---|
| 65 | directory, you would do: |
|---|
| 66 | $ cd ithildin/modules |
|---|
| 67 | $ tar -zxf ~/syslog.tar.gz |
|---|
| 68 | |
|---|
| 69 | 2) If you got the source from svn, you'll need to generate a configure script. |
|---|
| 70 | This is done by using the 'autoconf' command, like so: |
|---|
| 71 | $ autoconf -o configure autoconf/configure.ac |
|---|
| 72 | If you downloaded the source from somewhere else this step is not necessary. |
|---|
| 73 | |
|---|
| 74 | 3) Configure the system using the configure script by doing: |
|---|
| 75 | $ ./configure --prefix=foo |
|---|
| 76 | (you might wish to run configure with the --help option to see if you're |
|---|
| 77 | interested in using any addons). If you want to install system-wide you'll |
|---|
| 78 | probably want a prefix of '/usr' or '/usr/local'. If you want to install in |
|---|
| 79 | your home directory, you'll probably want to use --prefix=/home/yourdir or |
|---|
| 80 | --prefix=/home/yourdir/ithildin (to keep it separate from other stuff). |
|---|
| 81 | And if you're installing in a home directory or somewhere separate from |
|---|
| 82 | other system binaries/libraries you will probably want to use the |
|---|
| 83 | --disable-dir-suffix option to configure. It will keep the directory |
|---|
| 84 | structure in a cleaner condition. Also, if you've got a bunch of stuff in |
|---|
| 85 | modules/ but you only want to compile some (or one) module you should do: |
|---|
| 86 | $ ./configure ... --with-modules="module1 module2 module3" |
|---|
| 87 | Replacing module1, etc with the names of the modules you want compiled and |
|---|
| 88 | installed. |
|---|
| 89 | |
|---|
| 90 | 4) Build the source by doing: |
|---|
| 91 | $ make |
|---|
| 92 | Any 'make' variant should suffice here. |
|---|
| 93 | |
|---|
| 94 | That's it. If all of this went well, then you can move on to the installing |
|---|
| 95 | step. If not, see section 4. |
|---|
| 96 | |
|---|
| 97 | ------------------------------------------------------------------------------- |
|---|
| 98 | [3: Installing]: |
|---|
| 99 | |
|---|
| 100 | Installation is, as building, relatively simple, you should be able to install |
|---|
| 101 | the system by simply doing: |
|---|
| 102 | |
|---|
| 103 | $ make install |
|---|
| 104 | |
|---|
| 105 | That's it. If all went well, move on to the next section. If not, see section |
|---|
| 106 | 4. |
|---|
| 107 | |
|---|
| 108 | ------------------------------------------------------------------------------- |
|---|
| 109 | [4: Running]: |
|---|
| 110 | |
|---|
| 111 | You'll probably need to configure the system before you run it. Look in |
|---|
| 112 | $prefix/etc/ithildin/ for the various configuration files. |
|---|
| 113 | |
|---|
| 114 | ------------------------------------------------------------------------------- |
|---|
| 115 | [5: Help! It didn't work!]: |
|---|
| 116 | |
|---|
| 117 | <section coming soon> |
|---|
| 118 | |
|---|
| 119 | ------------------------------------------------------------------------------- |
|---|
| 120 | [98: Credits]: |
|---|
| 121 | |
|---|
| 122 | See the DEVELOPERS file for a list of developers who are/have been involved |
|---|
| 123 | with the project. |
|---|
| 124 | |
|---|
| 125 | ------------------------------------------------------------------------------- |
|---|
| 126 | [99: Contact]: |
|---|
| 127 | |
|---|
| 128 | You can contact me (the maintainer) using the following details: |
|---|
| 129 | |
|---|
| 130 | Real life: Chip Norkus |
|---|
| 131 | Email : wd@ithildin.org |
|---|
| 132 | Address : If you really really want it just ask. |
|---|
| 133 | IRC : DALnet (just about always there): White_Dragon, wd |
|---|
| 134 | EFnet (rarely): WhiteDrgn, sometimes wd |
|---|
| 135 | AIM : doubleyewdee |
|---|
| 136 | |
|---|
| 137 | Please only e-mail me if you have questions NOT answered in the documentation |
|---|
| 138 | here. Please do not e-mail me about third-party modules or things wholly |
|---|
| 139 | unrelated to this project. Thank you. |
|---|
| 140 | |
|---|