Howto:Set up a multiplayer server on FreeBSD: Difference between revisions

Jump to navigation Jump to search
m
Wiki syntax, please take a look at Help:Contents
mNo edit summary
m (Wiki syntax, please take a look at Help:Contents)
Line 1: Line 1:
FlightGear Multiplayer did not build directly on FreeBSD without a couple of modifications.  Below are the steps to build the lastest *nix release (v0.11.0 as of July 2013) on FreeBSD 9.0-STABLE.
FlightGear Multiplayer did not build directly on FreeBSD without a couple of modifications.  Below are the steps to build the lastest *nix release (v0.11.0 as of July 2013) on FreeBSD 9.0-STABLE.
For generic setup information see http://wiki.flightgear.org/Howto:Set_up_a_multiplayer_server
For generic setup information see [[Howto:Set up a multiplayer server]]
 
== Download ==
== Download ==
If you do not have git installed you must install it first
If you do not have git installed you must install it first
Line 13: Line 14:
cd fgms-build/
cd fgms-build/
</pre>
</pre>
== Modifications ==
== Modifications ==
*I received two errors when building.  malloc.h appears to be depreciated on FreeBSD and is replaced another already included source file so just comment it out.
*I received two errors when building.  malloc.h appears to be depreciated on FreeBSD and is replaced another already included source file so just comment it out.
Line 23: Line 25:
sed -i '' -e "s|1099511627776|1099511627776.|" ../fgms-0-x/src/server/fg_util.cxx
sed -i '' -e "s|1099511627776|1099511627776.|" ../fgms-0-x/src/server/fg_util.cxx
</pre>
</pre>
== Building ==
== Building ==
<pre>
<pre>
Line 30: Line 33:
cp -n ../fgms-0-x/contrib/etc/fgms_production.skel.conf /etc/fgms.conf
cp -n ../fgms-0-x/contrib/etc/fgms_production.skel.conf /etc/fgms.conf
</pre>
</pre>
== Configuring ==
== Configuring ==
Make sure you edit the installed configuration file /etc/fgms.conf
Make sure you edit the installed configuration file /etc/fgms.conf
Line 42: Line 46:
server.out_of_reach = 10000
server.out_of_reach = 10000
</pre>
</pre>
== Running ==
== Running ==
<pre>
<pre>
Line 62: Line 67:
05.07.2013 18:16:38 # Files: exit=[/tmp/fgms_exit] stat=[/tmp/fgms_stat]
05.07.2013 18:16:38 # Files: exit=[/tmp/fgms_exit] stat=[/tmp/fgms_stat]
</pre>
</pre>
[[Category:Multiplayer]]

Navigation menu