[Crossfire-wiki] [Crossfire DokuWiki] page changed: user:kbulgrien
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Sun Sep 2 18:42:47 CDT 2007
A page in your DokuWiki was added or changed. Here are the details:
Date : 2007/09/02 18:42
User :
Edit Summary: Add configure processes, and add tools to the virtual box.
@@ -2,14 +2,37 @@
Before beginning, see [[user:kbulgrien#Mandriva qemu setup for Crossfire testing|Mandriva qemu setup for Crossfire testing]] for instructions on setting up the virtual host.
Next, perform the [[user:kbulgrien#Crossfire development workspace setup|Crossfire development workspace setup]].
+
+ Choose a package to work on. Processes are described for:
+
+ * [[user:kbulgrien#Client|Client]]
+ * [[user:kbulgrien#Client configure|Client configure]]
+ * [[user:kbulgrien#Server|Server]]
+ * [[user:kbulgrien#Server configure|Server configure]]
======Development and testing======
=====Client=====
+
+ Boot the virtual machine and open a terminal session.
+
+ ====Client configure====
+
+ To begin with freshly checked out sources, or to properly process recent modifications to **configure.in**, **configure.ac**, or **Makefile.am** files, a configuration process is invoked as follows:
+
+ $ cd ~/svn/trunk/client
+ $ bash ../../config.sh
=====Server=====
+
+ Boot the virtual machine and open a terminal session.
+
+ ====Server configure====
+
+ $ cd ~/svn/trunk/server
+ $ bash ../../config.sh
======Crossfire development workspace setup======
Start the virtual system in a manner similar to:
@@ -66,8 +89,16 @@
svn update
cd ${CWD}
done
done
+ echo
+
+ Create yet another shell script called **config.sh** as follows:
+
+ #!/bin/bash
+ #
+ export CFLAGS=-ggdb\ -g\ -O0
+ bash autogen.sh --prefix=${HOME} ${*}
echo
=====Checkout the Crossfire sources=====
@@ -248,9 +279,9 @@
$ su -l root -c usermod\ -G\ wheel\ tux
====Set up a toolchain====
- $ sudo urpmi gcc autoconf2.5 automake
+ $ sudo urpmi autoconf2.5 automake cproto gcc gdb libtool make subversion
To satisfy dependencies, the following packages are going to be installed:
autoconf2.1...
autoconf2.5...
automake1.8...
@@ -268,8 +299,9 @@
make
subversion...
Proceed with the installation of the 17 packages? (43 MB) (Y/n) y
...
+ $ sudo urpmi patch tree
$ exit
Shut down the virtual system with **Star | Log Out... | Turn Off Computer**.
IP-Address : 66.137.82.229
Old Revision: http://wiki.metalforge.net/doku.php/user:kbulgrien?rev=1188774701
New Revision: http://wiki.metalforge.net/doku.php/user:kbulgrien
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list