| 1 |
------------------------------------------------------------------------------ |
| 2 |
INSTALL/COMPILE instructions for OpenCity |
| 3 |
------------------------------------------------------------------------------ |
| 4 |
Last modified: |
| 5 |
$Id: INSTALL 375 2008-10-28 14:47:15Z neoneurone $ |
| 6 |
|
| 7 |
Audience: |
| 8 |
# GNU/Linux end-users: |
| 9 |
Read this if you are trying to compile OpenCity from sources. |
| 10 |
# Windows end-users: |
| 11 |
Do not read this file ! |
| 12 |
# Packagers: |
| 13 |
This file contains installation and compilation instructions. It also |
| 14 |
discusses about the portability of OpenCity. You are invited to |
| 15 |
use autopackage binary for GNU/Linux and InnoSetup for |
| 16 |
Windows systems. |
| 17 |
|
| 18 |
|
| 19 |
------------------------------------------------------------------------------ |
| 20 |
INSTALL from sources on GNU/Linux |
| 21 |
------------------------------------------------------------------------------ |
| 22 |
First, if you've downloaded a opencity-x.y.z.tar.bz2 file you need to extract |
| 23 |
the sources by typing the following command at the prompt of your console: |
| 24 |
|
| 25 |
|
| 26 |
tar xjf opencity-x.y.tar.bz2 |
| 27 |
|
| 28 |
|
| 29 |
You do not need to perform this step if you downloaded the sources from SVN. |
| 30 |
The following commands will compile and install OpenCity on your system. |
| 31 |
You need to be "root" when you call "make install". |
| 32 |
|
| 33 |
|
| 34 |
mkdir obj |
| 35 |
cd obj |
| 36 |
../configure --enable-debug |
| 37 |
make |
| 38 |
make install |
| 39 |
|
| 40 |
|
| 41 |
Refer to the configure help file for more information about the configure's |
| 42 |
options. In case you don't have a configure script, the following command |
| 43 |
will create one: |
| 44 |
|
| 45 |
|
| 46 |
./autogen.sh |
| 47 |
|
| 48 |
|
| 49 |
When the installation procedure have finished, you can launch OpenCity |
| 50 |
from command-line with the instruction below: |
| 51 |
|
| 52 |
|
| 53 |
opencity |
| 54 |
|
| 55 |
|
| 56 |
That's all, folks ! |
| 57 |
|
| 58 |
|
| 59 |
------------------------------------------------------------------------------ |
| 60 |
INSTALL from a .package file on GNU/Linux |
| 61 |
------------------------------------------------------------------------------ |
| 62 |
The installer under GNU/Linux is named as opencity-x.y.z.package. Just make |
| 63 |
it executable then run it. |
| 64 |
|
| 65 |
|
| 66 |
------------------------------------------------------------------------------ |
| 67 |
PACKAGE on GNU/Linux |
| 68 |
------------------------------------------------------------------------------ |
| 69 |
Please use the autopackage system. The specification file is inside the |
| 70 |
"autopackage" directory. For more information, see: |
| 71 |
|
| 72 |
|
| 73 |
http://www.autopackage.org |
| 74 |
|
| 75 |
|
| 76 |
------------------------------------------------------------------------------ |
| 77 |
PACKAGE on Windows |
| 78 |
------------------------------------------------------------------------------ |
| 79 |
Please use the InnoSetup system. There's already the InnoSetup configuration file |
| 80 |
called "OpenCity.iss" at the source root. For more information, see: |
| 81 |
|
| 82 |
|
| 83 |
http://www.innosetup.com |
| 84 |
|
| 85 |
|
| 86 |
Gook luck ! |
| 87 |
Duong Khang (neoneurone) NGUYEN. |