[Crossfire-wiki] [Crossfire DokuWiki] page changed: osx
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Tue Jan 29 03:59:38 CST 2008
A page in your DokuWiki was added or changed. Here are the details:
Date : 2008/01/29 03:59
User : buzzsaw
Edit Summary:
@@ -77,12 +77,131 @@
- Change directories to the gtk directory
- Make sure you are in the correct directory by using the **pwd** command - it should be: **/Users/<user_name>/client.svn/gtk-v2/src**
- Run this command: **./crossfire-client-gtk2 &**
+
===== Server =====
+
+ Please note. This is very experimental and not even hardly tested at all but I will post what we had to do so that other can play with :-)
+
+ Please note the dep files needed from http://wiki.metalforge.net/doku.php/crossfire_compile_guide?s=server
Server installation or build is currently being tested and under development.
+
+ I was able to build a trunk server on 01/29/2008 doing the following:
+
+ ==== Start Here====
+
+ $ pwd
+ /Users/<username>
+
+ ==== Download ====
+
+
+
+ === Trunk ===
+
+ $ svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/server/trunk server.svn
+ $ svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/maps/trunk maps.svn
+ $ svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/arch/trunk arch.svn
+
+ ==== SETUP ====
+
+ This confirms that you are still in your home directory
+
+ $ pwd
+ /Users/<username>
+
+ Now change directory (hence the cd) to the directory that contains the server files
+
+ $ cd server.svn
+
+ This confirms that you are in the server directory
+
+ $ pwd
+ /Users/<username>/server.svn
+
+ This step "links" two directories to each other which makes the compile process more automated
+
+ $ sudo ln -s /Users/<username>/maps.svn maps
+
+ This step "links" two directories to each other which makes the compile process more automated and is used by the server once Crossfire server is up and running. This links the server to the map files which you downloaded earlier.
+
+ First, create the necessary directory tree for the map files with this command:
+
+ $ sudo mkdir /usr/games/crossfire;sudo mkdir /usr/games/crossfire/share; sudo mkdir /usr/games/crossfire/share/crossfire
+
+ What that does, is it creates a directory located here: /usr/games/crossfire/share/crossfire
+
+ Now this step "links" two directories to each other which makes the compile process more automated
+
+ $ sudo ln -s /Users/<username>/maps.svn /usr/games/crossfire/share/crossfire/maps
+
+ Now change directory (hence the cd) to the directory that contains the library files
+
+ $ cd lib
+
+ Double check that you are in the correct directory
+
+ $ pwd
+ /Users/<username>/server.svn/lib
+
+ This step "links" two directories to each other which makes the compile process more automated. This links the arch or archetype files to the server files which you downloaded earlier.
+
+ $ ln -s /Users/<username>/arch.svn ./arch
+
+ Go back another directory
+
+ $ cd ..
+
+ Double check that you are in the correct directory which is the server directory
+
+ $ pwd
+ /Users/<username>/server.svn
+
+ ==== Compile ====
+
+ This section may be easy but it also may not be easy. NOTE: This process has only been tested on one computer and the server stability HAS NOT BEEN TESTED.
+
+ First off we need to build our configure script. From /Users/<username>/server.svn
+
+ $ automake
+ $ ./configure --enable-static --disable-shared CFLAGS=-ste=c99 --disable-check
+
+ Note you may have a problem with echo so to avoid the problem lets go ahead and make a change to include/Makefile.am
+
+ with svnversion.h change so that the echo looks like /bin.echo
+
+ svnversion.h: FORCE
+ OUTPUT_DATA='/* Auto-generated at build time. */'; \
+ if test -n "$(SVNVERSION)" -a -d .svn; then \
+ OUTPUT_DATA=`echo "$$OUTPUT_DATA"; /bin/echo -n '#define SVN_REV "'; $(SVNVERSION) -n`'"'; \
+ fi; \
+ if test ! -e svnversion.h; then \
+ /bin/echo "$$OUTPUT_DATA" > svnversion.h; \
+ elif test "$$OUTPUT_DATA" != "`cat svnversion.h`"; then \
+ /bin/echo "$$OUTPUT_DATA" > svnversion.h; \
+ fi
+
+
+ Now we will run the rest
+
+ $ make
+ $ make install
+
+ ----
+
+ There are a few depends for the server to run
+
+ $ otool -L /Users/anthonyswyatt/server.svn/server/crossfire-server
+ /Users/anthonyswyatt/server.svn/server/crossfire-server:
+ /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.0.0)
+ /sw/lib/libcurl.3.dylib (compatibility version 4.0.0, current version 4.0.0)
+ /usr/lib/libssl.0.9.7.dylib (compatibility version 0.9.7, current version 0.9.7)
+ /usr/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.7, current version 0.9.7)
+ /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
+ /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
===== Dependencies =====
Full list of gclient2 dependencies:
IP-Address : 69.92.59.77
Old Revision: http://wiki.metalforge.net/doku.php/osx?rev=1201576352
New Revision: http://wiki.metalforge.net/doku.php/osx
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list