<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jason+Gregory</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jason+Gregory"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Jason_Gregory"/>
	<updated>2026-04-22T13:03:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsElementInWater&amp;diff=23648</id>
		<title>IsElementInWater</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsElementInWater&amp;diff=23648"/>
		<updated>2010-06-07T19:12:38Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function checks whether an [[element]] is submerged in water.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server and client&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isElementInWater ( element theElement )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theElement''': The element to check.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the passed element is in water, ''false'' if it isn't, or if the element is invalid.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
Creates a command that checks if the player is in water or not.&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
function waterCheck(thePlayer)&lt;br /&gt;
    if isElementInWater(thePlayer) then&lt;br /&gt;
        outputChatBox(&amp;quot;Wet.&amp;quot;, thePlayer)&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox(&amp;quot;Dry.&amp;quot;, thePlayer)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addCommandHandler(&amp;quot;check&amp;quot;, waterCheck)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Function which is triggered when the Player dies in the Water.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local deathMessage = { &amp;quot;Man over Board&amp;quot;, &amp;quot;Wooops he failed into the water ?&amp;quot;, &amp;quot;Wow im getting wet Honey&amp;quot;, &amp;quot;He died in tha deep water&amp;quot; }&lt;br /&gt;
&lt;br /&gt;
function p_Water(playa)&lt;br /&gt;
   if isElementInWater(thePlayer) then&lt;br /&gt;
       local ped_X, ped_Y, ped_Z = getElementPosition()&lt;br /&gt;
       if ped_Z then&lt;br /&gt;
            outputChatBox(math.random(1, #deathMessage), 194, 84, 68)&lt;br /&gt;
            outputChatBox(&amp;quot;#FF0000&amp;quot;..getPlayerName(playa)..&amp;quot;#FFFFFF you died &amp;quot;..ped_Z..&amp;quot; feet´s under the Water&amp;quot;, 255, 255, 255, true)&lt;br /&gt;
       end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addEventHandler(&amp;quot;onClientPlayerWasted&amp;quot;, getRootElement(), p_Water)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Element functions}}&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsElementInWater&amp;diff=23647</id>
		<title>IsElementInWater</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsElementInWater&amp;diff=23647"/>
		<updated>2010-06-07T19:11:06Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function checks whether an [[element]] is submerged in water.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server and client&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isElementInWater ( element theElement )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theElement''': The element to check.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the passed element is in water, ''false'' if it isn't, or if the element is invalid.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
Creates a command that checks if the player is in water or not.&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
function waterCheck(thePlayer)&lt;br /&gt;
    if isElementInWater(thePlayer) then&lt;br /&gt;
        outputChatBox(&amp;quot;Wet.&amp;quot;, thePlayer)&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox(&amp;quot;Dry.&amp;quot;, thePlayer)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addCommandHandler(&amp;quot;check&amp;quot;, waterCheck)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local deathMessage = { &amp;quot;Man over Board&amp;quot;, &amp;quot;Wooops he failed into the water ?&amp;quot;, &amp;quot;Wow im getting wet Honey&amp;quot;, &amp;quot;He died in tha deep water&amp;quot; }&lt;br /&gt;
&lt;br /&gt;
function p_Water(playa)&lt;br /&gt;
   if isElementInWater(thePlayer) then&lt;br /&gt;
       local ped_X, ped_Y, ped_Z = getElementPosition()&lt;br /&gt;
       if ped_Z then&lt;br /&gt;
            outputChatBox(math.random(1, #deathMessage))&lt;br /&gt;
            outputChatBox(&amp;quot;#FF0000&amp;quot;..getPlayerName(playa)..&amp;quot;#FFFFFF you died &amp;quot;..ped_Z..&amp;quot; feet´s under the Water&amp;quot;, 255, 255, 255, true)&lt;br /&gt;
       end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addEventHandler(&amp;quot;onClientPlayerWasted&amp;quot;, getRootElement(), p_Water)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Element functions}}&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=IsElementInWater&amp;diff=23646</id>
		<title>IsElementInWater</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=IsElementInWater&amp;diff=23646"/>
		<updated>2010-06-07T19:10:41Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: Added a Clientside Example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function checks whether an [[element]] is submerged in water.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server and client&amp;quot; class=&amp;quot;both&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool isElementInWater ( element theElement )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''theElement''': The element to check.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the passed element is in water, ''false'' if it isn't, or if the element is invalid.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
Creates a command that checks if the player is in water or not.&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
function waterCheck(thePlayer)&lt;br /&gt;
    if isElementInWater(thePlayer) then&lt;br /&gt;
        outputChatBox(&amp;quot;Wet.&amp;quot;, thePlayer)&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox(&amp;quot;Dry.&amp;quot;, thePlayer)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addCommandHandler(&amp;quot;check&amp;quot;, waterCheck)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local deathMessage = { &amp;quot;Man over Board&amp;quot;, &amp;quot;Wooops he failed into the water ?&amp;quot;, &amp;quot;Wow im so getting Honey&amp;quot;, &amp;quot;He died in tha deep water&amp;quot; }&lt;br /&gt;
&lt;br /&gt;
function p_Water(playa)&lt;br /&gt;
   if isElementInWater(thePlayer) then&lt;br /&gt;
       local ped_X, ped_Y, ped_Z = getElementPosition()&lt;br /&gt;
       if ped_Z then&lt;br /&gt;
            outputChatBox(math.random(1, #deathMessage))&lt;br /&gt;
            outputChatBox(&amp;quot;#FF0000&amp;quot;..getPlayerName(playa)..&amp;quot;#FFFFFF you died &amp;quot;..ped_Z..&amp;quot; feet´s under the Water&amp;quot;, 255, 255, 255, true)&lt;br /&gt;
       end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
addEventHandler(&amp;quot;onClientPlayerWasted&amp;quot;, getRootElement(), p_Water)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Element functions}}&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:OnClientChatMessage&amp;diff=23645</id>
		<title>Talk:OnClientChatMessage</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:OnClientChatMessage&amp;diff=23645"/>
		<updated>2010-06-07T18:59:31Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:OnClientChatMessage&amp;diff=23644</id>
		<title>Talk:OnClientChatMessage</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:OnClientChatMessage&amp;diff=23644"/>
		<updated>2010-06-07T18:57:46Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: Created page with 'OnClientChatMessage is not triggered when the Client sends a Chatmessage. Its only triggered when a Message appears on his Chatbox.'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OnClientChatMessage is not triggered when the Client sends a Chatmessage.&lt;br /&gt;
Its only triggered when a Message appears on his Chatbox.&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Jason_Gregory&amp;diff=23643</id>
		<title>User:Jason Gregory</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Jason_Gregory&amp;diff=23643"/>
		<updated>2010-06-07T18:54:19Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Coder.gif]]    '''This user is a Dumbass'''&lt;br /&gt;
&lt;br /&gt;
== Jason_Gregory ==&lt;br /&gt;
&lt;br /&gt;
Ello Guys im Jason :)&lt;br /&gt;
&lt;br /&gt;
I live in Germany and im born at 1991.&lt;br /&gt;
My Dream is becoming a NBA Star, here you can see what i wana do in the future.&lt;br /&gt;
&lt;br /&gt;
[[File:Target.jpg]]&lt;br /&gt;
&lt;br /&gt;
Now im playing Runescape, when i got no Money on my Bankaccount i use others telephone for paying my Runescape Member Account&lt;br /&gt;
(7.99 € / PayCall) &lt;br /&gt;
&lt;br /&gt;
[[File:Mta.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Projects:''' &lt;br /&gt;
&lt;br /&gt;
* Getting a well payed Job (y)&lt;br /&gt;
* Getting a Girlfriend (y)&lt;br /&gt;
* Buying a Ford Mustand GT 2005-2009 (n)&lt;br /&gt;
* Selling my Runescape Account for 100 $+ (n)&lt;br /&gt;
* Learning to spell english (n)&lt;br /&gt;
&lt;br /&gt;
'''Mta-Projects'''&lt;br /&gt;
&lt;br /&gt;
* Finishing a Socket Lualibrary Anticheat System (n)&lt;br /&gt;
* Puting -XIII- in the Top of the Game-Monitor List #1 - On the Way (n)&lt;br /&gt;
* Finishing my own Reallife Resource (n)&lt;br /&gt;
* Writing useful Wikipedia Pages for Mta (y)&lt;br /&gt;
* Finishing my IDE for my Lua Compiler writen in C# (y)&lt;br /&gt;
* Hosting Servers for Mtasa (y)&lt;br /&gt;
&lt;br /&gt;
'''Mta-Resources'''&lt;br /&gt;
&lt;br /&gt;
* Empty cause i prefer eating bananas instead of creating Resources&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Set&amp;diff=23364</id>
		<title>Set</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Set&amp;diff=23364"/>
		<updated>2010-05-03T12:00:51Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
This function is used to save arbitrary data under a certain name on the [[settings system|settings registry]].&lt;br /&gt;
&lt;br /&gt;
It's important to note that set ''always'' writes to the settings.xml file, even if [[get]] read the value from a resource's meta.xml. This means that the admin can specify settings in the settings.xml that override the resource's defaults, but that the defaults can still be retrieved if need be. As a general principle, resources should not be designed so that the admin is required to modify them, they should be 'black boxes'.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool set ( string settingName, var value )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''settingName:''' The name of the setting you want to set. See [[settings system#Setting names|setting names]] for information on settings names.&lt;br /&gt;
*'''value:''' The value to set the setting to. This can be any Lua data type, except for functions, most userdata (only [[resource]]s can't be stored) and threads.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the setting has been set, ''false'' if you do not have access to the setting or invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example sets a specified setting with a Value. This is a ''local'' setting belonging to the resource that the code is run in.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function setAclRights(playerElement, commandName, acl, value, type)&lt;br /&gt;
   if not acl or not value then&lt;br /&gt;
      return outputChatBox(&amp;quot;Syntax: /setacl &amp;lt;acl&amp;gt; &amp;lt;value&amp;gt;&amp;quot;)&lt;br /&gt;
   end&lt;br /&gt;
   if set ( acl, value ) then&lt;br /&gt;
      outputChatBox(&amp;quot;Acl &amp;quot;..acl..&amp;quot; value set to &amp;quot;..value)&lt;br /&gt;
      print(getPlayerName(playerElement)..&amp;quot; has changed &amp;quot;..acl..&amp;quot; to &amp;quot;..value)&lt;br /&gt;
   else&lt;br /&gt;
      outputChatBox(&amp;quot;Error happend while changing the Acl &amp;quot;..acl..&amp;quot; value to &amp;quot;..value)&lt;br /&gt;
      print(getPlayerName(playerElement)..&amp;quot; tryed to change &amp;quot;..acl..&amp;quot; to &amp;quot;..value)&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;setacl&amp;quot;, setAclRights)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Settings registry functions}}&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Set&amp;diff=23363</id>
		<title>Set</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Set&amp;diff=23363"/>
		<updated>2010-05-03T11:58:25Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: Adding a example Command&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Server function}}&lt;br /&gt;
This function is used to save arbitrary data under a certain name on the [[settings system|settings registry]].&lt;br /&gt;
&lt;br /&gt;
It's important to note that set ''always'' writes to the settings.xml file, even if [[get]] read the value from a resource's meta.xml. This means that the admin can specify settings in the settings.xml that override the resource's defaults, but that the defaults can still be retrieved if need be. As a general principle, resources should not be designed so that the admin is required to modify them, they should be 'black boxes'.&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool set ( string settingName, var value )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''settingName:''' The name of the setting you want to set. See [[settings system#Setting names|setting names]] for information on settings names.&lt;br /&gt;
*'''value:''' The value to set the setting to. This can be any Lua data type, except for functions, most userdata (only [[resource]]s can't be stored) and threads.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the setting has been set, ''false'' if you do not have access to the setting or invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example sets a specified setting with a Value. This is a ''local'' setting belonging to the resource that the code is run in.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function setAclRights(playerElement, commandName, acl, value, type)&lt;br /&gt;
   if not acl or not value then&lt;br /&gt;
      return outputChatBox(&amp;quot;Syntax: /setacl &amp;lt;acl&amp;gt; &amp;lt;value&amp;gt;&amp;quot;)&lt;br /&gt;
   end&lt;br /&gt;
   set ( acl, value )&lt;br /&gt;
   outputChatBox(&amp;quot;Acl &amp;quot;..acl..&amp;quot; value set to &amp;quot;..value)&lt;br /&gt;
   print(getPlayerName(playerElement)..&amp;quot; has changed &amp;quot;..acl..&amp;quot; to &amp;quot;..value)&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;setacl&amp;quot;, setAclRights)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Settings registry functions}}&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Jason_Gregory&amp;diff=23348</id>
		<title>User:Jason Gregory</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Jason_Gregory&amp;diff=23348"/>
		<updated>2010-05-02T17:09:38Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Jason_Gregory */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Coder.gif]]    '''This user is a fat Computer Nerd'''&lt;br /&gt;
&lt;br /&gt;
== Jason_Gregory ==&lt;br /&gt;
&lt;br /&gt;
Ello Guys im Jason :)&lt;br /&gt;
&lt;br /&gt;
I live in Germany and im born at 1991.&lt;br /&gt;
My Dream is becoming a NBA Star, here you can see what i wana do in the future.&lt;br /&gt;
&lt;br /&gt;
[[File:Target.jpg]]&lt;br /&gt;
&lt;br /&gt;
First i learned learning Pawn and talked with Kyeman about my future, we talked so much that ive desided not answering him anymore&lt;br /&gt;
http://i41.tinypic.com/xldtzd.jpg '''fucking Spammers :(''',&lt;br /&gt;
but after webcam chating with him, ive desided to play Runescape and spend the rest of my life runing with a Godsword killing Nubs. &lt;br /&gt;
&lt;br /&gt;
[[File:Mta.jpg]]&lt;br /&gt;
&lt;br /&gt;
'''Projects:''' &lt;br /&gt;
&lt;br /&gt;
* Getting a well payed Job (y)&lt;br /&gt;
* Getting a Girlfriend (y)&lt;br /&gt;
* Buying a Ford Mustand GT 2005-2009 (n)&lt;br /&gt;
* Selling my Runescape Account for 100 $+ (interested ? /pm me :) ) (n)&lt;br /&gt;
* Publishing my own Multiplayer Modification (we are doing our best :D )&lt;br /&gt;
* Learning to spell english (epic fail)&lt;br /&gt;
&lt;br /&gt;
'''Mta-Projects'''&lt;br /&gt;
&lt;br /&gt;
* Finishing a Socket Lualibrary Anticheat System - Stopped by Microsoft @VisTa/cannot find the Header/Linkers/Preprocessor&lt;br /&gt;
* Puting -XIII- in the Top of the Game-Monitor List #1 - On the Way&lt;br /&gt;
* Finishing my own Reallife Resource - On the Way&lt;br /&gt;
* Writing useful Wikipedia Pages for Mta - Yeah :) im doing to atm.&lt;br /&gt;
* Finishing my IDE for my Lua Compiler writen in C++ - Stopped by Microsoft @VisTa/cannot find the Header/Linkers/Preprocessor&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Jason_Gregory&amp;diff=23347</id>
		<title>User:Jason Gregory</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Jason_Gregory&amp;diff=23347"/>
		<updated>2010-05-02T17:05:05Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Jason_Gregory */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Coder.gif]]    '''This user is a fat Computer Nerd'''&lt;br /&gt;
&lt;br /&gt;
== Jason_Gregory ==&lt;br /&gt;
&lt;br /&gt;
Ello Guys im Jason :)&lt;br /&gt;
&lt;br /&gt;
I live in Germany and im born at 1991.&lt;br /&gt;
My Dream is becoming a NBA Star, here you can see what i wana do in the future.&lt;br /&gt;
&lt;br /&gt;
[[File:Target.jpg]]&lt;br /&gt;
&lt;br /&gt;
First i learned learning Pawn and talked with Kyeman about my future, we talked so much that ive desided not answering him anymore&lt;br /&gt;
http://i41.tinypic.com/xldtzd.jpg '''fucking Spammers :(''',&lt;br /&gt;
but after webcam chating with him, ive desided to play Runescape and spend the rest of my life runing with a Godsword killing Nubs. &lt;br /&gt;
&lt;br /&gt;
[[File:Mta.jpg]]&lt;br /&gt;
&lt;br /&gt;
Projects: &lt;br /&gt;
&lt;br /&gt;
* Getting a well payed Job (y)&lt;br /&gt;
* Getting a Girlfriend (y)&lt;br /&gt;
* Buying a Ford Mustand GT 2005-2009 (n)&lt;br /&gt;
* Selling my Runescape Account for 100 $+ (interested ? /pm me :) ) (n)&lt;br /&gt;
* Publishing my own Multiplayer Modification (we are doing our best :D )&lt;br /&gt;
* Learning to spell english (epic fail)&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateFire&amp;diff=23337</id>
		<title>CreateFire</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateFire&amp;diff=23337"/>
		<updated>2010-05-02T02:17:59Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
&lt;br /&gt;
Creates a patch of fire that will spread a bit and die out after a while.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool createFire ( float x, float y, float z [, float size = 1.8 ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''x, y, z:''' coordinates of the fire.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''size:''' the size of the initial fire.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' otherwise. There can be a maximum of 60 active fires.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Command for creating Clientside Fire on the Players Position.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function burn(player, commandName, height)&lt;br /&gt;
   if height then&lt;br /&gt;
        x, y, z = getPlayerPosition(player)&lt;br /&gt;
        createFire(x, y, z, height)&lt;br /&gt;
        outputChatBox(&amp;quot;Burn motherfucker, buuuuurn &amp;gt;:]&amp;quot;, player)&lt;br /&gt;
   else&lt;br /&gt;
        outputChatBox(&amp;quot;Syntax: /fire &amp;lt;height&amp;gt;&amp;quot;, player)&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;fire&amp;quot;, burn)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client fire functions}}&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateFire&amp;diff=23336</id>
		<title>CreateFire</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateFire&amp;diff=23336"/>
		<updated>2010-05-02T02:17:34Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
&lt;br /&gt;
Creates a patch of fire that will spread a bit and die out after a while.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool createFire ( float x, float y, float z [, float size = 1.8 ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''x, y, z:''' coordinates of the fire.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''size:''' the size of the initial fire.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' otherwise. There can be a maximum of 60 active fires.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Command for creating Clientside Fire.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function burn(player, commandName, height)&lt;br /&gt;
   if height then&lt;br /&gt;
        x, y, z = getPlayerPosition(player)&lt;br /&gt;
        createFire(x, y, z, height)&lt;br /&gt;
        outputChatBox(&amp;quot;Burn motherfucker, buuuuurn &amp;gt;:]&amp;quot;, player)&lt;br /&gt;
   else&lt;br /&gt;
        outputChatBox(&amp;quot;Syntax: /fire &amp;lt;height&amp;gt;&amp;quot;, player)&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;fire&amp;quot;, burn)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client fire functions}}&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateFire&amp;diff=23335</id>
		<title>CreateFire</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateFire&amp;diff=23335"/>
		<updated>2010-05-02T02:16:57Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
&lt;br /&gt;
Creates a patch of fire that will spread a bit and die out after a while.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool createFire ( float x, float y, float z [, float size = 1.8 ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''x, y, z:''' coordinates of the fire.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''size:''' the size of the initial fire.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' otherwise. There can be a maximum of 60 active fires.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Example code for creating Fire.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function burn(player, commandName, height)&lt;br /&gt;
   if height then&lt;br /&gt;
      x, y, z = getPlayerPosition(player)&lt;br /&gt;
      createFire(x, y, z, height)&lt;br /&gt;
      outputChatBox(&amp;quot;Burn motherfucker, buuuuurn &amp;gt;:]&amp;quot;, player)&lt;br /&gt;
   else&lt;br /&gt;
      outputChatBox(&amp;quot;Syntax: /fire &amp;lt;height&amp;gt;&amp;quot;, player)&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;fire&amp;quot;, burn)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client fire functions}}&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateFire&amp;diff=23334</id>
		<title>CreateFire</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateFire&amp;diff=23334"/>
		<updated>2010-05-02T02:15:59Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
&lt;br /&gt;
Creates a patch of fire that will spread a bit and die out after a while.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool createFire ( float x, float y, float z [, float size = 1.8 ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''x, y, z:''' coordinates of the fire.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''size:''' the size of the initial fire.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' otherwise. There can be a maximum of 60 active fires.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
Example code for creating Fire.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function burn(player, commandName, height)&lt;br /&gt;
   if height then&lt;br /&gt;
      x, y, z = getPlayerPosition(player)&lt;br /&gt;
      createFire(x, y, z, height)&lt;br /&gt;
      outputChatBox(&amp;quot;Burn motherfucker, buuuuurn &amp;gt;:]&amp;quot;, player)&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;fire&amp;quot;, burn)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client fire functions}}&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CreateFire&amp;diff=23333</id>
		<title>CreateFire</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CreateFire&amp;diff=23333"/>
		<updated>2010-05-02T02:14:49Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Returns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{Client function}}&lt;br /&gt;
&lt;br /&gt;
Creates a patch of fire that will spread a bit and die out after a while.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;bool createFire ( float x, float y, float z [, float size = 1.8 ] )&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''x, y, z:''' coordinates of the fire.&lt;br /&gt;
&lt;br /&gt;
===Optional Arguments===&lt;br /&gt;
*'''size:''' the size of the initial fire.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''false'' otherwise. There can be a maximum of 60 active fires.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function burn(player, commandName, height)&lt;br /&gt;
   if height then&lt;br /&gt;
      x, y, z = getPlayerPosition(player)&lt;br /&gt;
      createFire(x, y, z, height)&lt;br /&gt;
      outputChatBox(&amp;quot;Burn motherfucker, buuuuurn &amp;gt;:]&amp;quot;, player)&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;fire&amp;quot;, burn)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client fire functions}}&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23332</id>
		<title>Building MTASA Server on macOS</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23332"/>
		<updated>2010-05-02T02:08:25Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Run the server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== '''Building on Mac OS X''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. In order to get these, you will have to install the latest MacPorts release. [http://www.macports.org/]&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for Mac OS X can be downloaded from our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
== Setting up MacPorts ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since our software relies on a number of well known libraries that are not shipped on a vanilla Mac OS X system, it may be necessary for you to install these first. With the MacPorts software you can easily download and install these libraries, so follow the installation instructions[http://www.macports.org/install.php] at macports.org.&lt;br /&gt;
&lt;br /&gt;
After installing MacPorts, you should install the following packages:&lt;br /&gt;
&lt;br /&gt;
* pcre&lt;br /&gt;
* zlib&lt;br /&gt;
* google-sparsehash&lt;br /&gt;
* curl&lt;br /&gt;
To install these packages, use the '''port install &amp;lt;package&amp;gt;''' command in your Terminal application. If you are not running as root, you will have to use '''sudo''' in front.&lt;br /&gt;
&lt;br /&gt;
== Compiling the server ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MacPorts installs itself into '''/opt/local''' by default, so we will have to pass the appropriate compiler and linker search path flags to the configure command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
CPPFLAGS=&amp;quot;-I/opt/local/include&amp;quot; LDFLAGS=&amp;quot;-L/opt/local/lib&amp;quot; ./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Your vanilla server will now be compiled and installed into the '''MTA10_Server/output/''' directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Run the server ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest '''net.so''' from the Downloads page on GitHub and place it in your output directory, install the '''accounts.xml''', '''mtaserver.conf''' and '''acl.xml''' files into the '''mods/deathmatch/''' directory and grab the latest resources from the multitheftauto-resources project[http://code.google.com/p/multitheftauto-resources/]. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23331</id>
		<title>Building MTASA Server on macOS</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23331"/>
		<updated>2010-05-02T02:07:12Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Compiling the server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== '''Building on Mac OS X''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. In order to get these, you will have to install the latest MacPorts release. [http://www.macports.org/]&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for Mac OS X can be downloaded from our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
== Setting up MacPorts ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since our software relies on a number of well known libraries that are not shipped on a vanilla Mac OS X system, it may be necessary for you to install these first. With the MacPorts software you can easily download and install these libraries, so follow the installation instructions[http://www.macports.org/install.php] at macports.org.&lt;br /&gt;
&lt;br /&gt;
After installing MacPorts, you should install the following packages:&lt;br /&gt;
&lt;br /&gt;
* pcre&lt;br /&gt;
* zlib&lt;br /&gt;
* google-sparsehash&lt;br /&gt;
* curl&lt;br /&gt;
To install these packages, use the '''port install &amp;lt;package&amp;gt;''' command in your Terminal application. If you are not running as root, you will have to use '''sudo''' in front.&lt;br /&gt;
&lt;br /&gt;
== Compiling the server ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MacPorts installs itself into '''/opt/local''' by default, so we will have to pass the appropriate compiler and linker search path flags to the configure command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
CPPFLAGS=&amp;quot;-I/opt/local/include&amp;quot; LDFLAGS=&amp;quot;-L/opt/local/lib&amp;quot; ./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Your vanilla server will now be compiled and installed into the '''MTA10_Server/output/''' directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Run the server ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project[http://code.google.com/p/multitheftauto-resources/]. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23330</id>
		<title>Building MTASA Server on macOS</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23330"/>
		<updated>2010-05-02T02:06:14Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Setting up MacPorts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== '''Building on Mac OS X''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. In order to get these, you will have to install the latest MacPorts release. [http://www.macports.org/]&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for Mac OS X can be downloaded from our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
== Setting up MacPorts ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since our software relies on a number of well known libraries that are not shipped on a vanilla Mac OS X system, it may be necessary for you to install these first. With the MacPorts software you can easily download and install these libraries, so follow the installation instructions[http://www.macports.org/install.php] at macports.org.&lt;br /&gt;
&lt;br /&gt;
After installing MacPorts, you should install the following packages:&lt;br /&gt;
&lt;br /&gt;
* pcre&lt;br /&gt;
* zlib&lt;br /&gt;
* google-sparsehash&lt;br /&gt;
* curl&lt;br /&gt;
To install these packages, use the '''port install &amp;lt;package&amp;gt;''' command in your Terminal application. If you are not running as root, you will have to use '''sudo''' in front.&lt;br /&gt;
&lt;br /&gt;
== Compiling the server ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MacPorts installs itself into /opt/local by default, so we will have to pass the appropriate compiler and linker search path flags to the configure command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
CPPFLAGS=&amp;quot;-I/opt/local/include&amp;quot; LDFLAGS=&amp;quot;-L/opt/local/lib&amp;quot; ./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
Run the server&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project[http://code.google.com/p/multitheftauto-resources/]. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23329</id>
		<title>Building MTASA Server on macOS</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23329"/>
		<updated>2010-05-02T02:05:55Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Setting up MacPorts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== '''Building on Mac OS X''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. In order to get these, you will have to install the latest MacPorts release. [http://www.macports.org/]&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for Mac OS X can be downloaded from our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
== Setting up MacPorts ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since our software relies on a number of well known libraries that are not shipped on a vanilla Mac OS X system, it may be necessary for you to install these first. With the MacPorts software you can easily download and install these libraries, so follow the installation instructions[http://www.macports.org/install.php] at macports.org.&lt;br /&gt;
&lt;br /&gt;
After installing MacPorts, you should install the following packages:&lt;br /&gt;
&lt;br /&gt;
* pcre&lt;br /&gt;
* zlib&lt;br /&gt;
* google-sparsehash&lt;br /&gt;
* curl&lt;br /&gt;
To install these packages, use the '''port install &amp;lt;package&amp;gt;''' command in your Terminal application. If you are not running as root, you will have to use sudo in front.&lt;br /&gt;
&lt;br /&gt;
== Compiling the server ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MacPorts installs itself into /opt/local by default, so we will have to pass the appropriate compiler and linker search path flags to the configure command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
CPPFLAGS=&amp;quot;-I/opt/local/include&amp;quot; LDFLAGS=&amp;quot;-L/opt/local/lib&amp;quot; ./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
Run the server&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project[http://code.google.com/p/multitheftauto-resources/]. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23328</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23328"/>
		<updated>2010-05-02T02:02:39Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
* '''build-essential:''' contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
* '''automake:''' contains the automake tools&lt;br /&gt;
* '''libtool:''' contains the libtool software required to build libraries&lt;br /&gt;
* '''git-core:''' contains the git client used to check out our code repository&lt;br /&gt;
* '''libcurl3-dev:''' contains the cURL library (version 3 without SSL support)&lt;br /&gt;
* '''libpcre3-dev:''' contains the PCRE library (version 3)&lt;br /&gt;
* '''libsqlite3-dev:''' contains the SQLite library (version 3)&lt;br /&gt;
* '''libreadline5-dev:''' contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
* '''sqlite:''' contains the SQLite library&lt;br /&gt;
* '''git:''' contains the client used to check out our code repository&lt;br /&gt;
* '''curl:''' contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional * * information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook[http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&amp;amp;chap=1] or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project[http://code.google.com/p/multitheftauto-resources/]. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Troubleshooting''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker[http://bugs.mtasa.com/] or our IRC channel #mta on irc.multitheftauto.com.[irc://irc.multitheftauto.com/]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23327</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23327"/>
		<updated>2010-05-02T02:00:31Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* General instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
* '''build-essential:''' contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
* '''automake:''' contains the automake tools&lt;br /&gt;
* '''libtool:''' contains the libtool software required to build libraries&lt;br /&gt;
* '''git-core:''' contains the git client used to check out our code repository&lt;br /&gt;
* '''libcurl3-dev:''' contains the cURL library (version 3 without SSL support)&lt;br /&gt;
* '''libpcre3-dev:''' contains the PCRE library (version 3)&lt;br /&gt;
* '''libsqlite3-dev:''' contains the SQLite library (version 3)&lt;br /&gt;
* '''libreadline5-dev:''' contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
* '''sqlite:''' contains the SQLite library&lt;br /&gt;
* '''git:''' contains the client used to check out our code repository&lt;br /&gt;
* '''curl:''' contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional * * information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook[http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&amp;amp;chap=1] or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project[http://code.google.com/p/multitheftauto-resources/]. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Troubleshooting''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.[[irc://irc.multitheftauto.com/]]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23326</id>
		<title>Building MTASA Server on macOS</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23326"/>
		<updated>2010-05-02T01:59:10Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Compiling the server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== '''Building on Mac OS X''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. In order to get these, you will have to install the latest MacPorts release. [http://www.macports.org/]&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for Mac OS X can be downloaded from our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
== Setting up MacPorts ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since our software relies on a number of well known libraries that are not shipped on a vanilla Mac OS X system, it may be necessary for you to install these first. With the MacPorts software you can easily download and install these libraries, so follow the installation instructions[http://www.macports.org/install.php] at macports.org.&lt;br /&gt;
&lt;br /&gt;
After installing MacPorts, you should install the following packages:&lt;br /&gt;
&lt;br /&gt;
* pcre&lt;br /&gt;
* zlib&lt;br /&gt;
* google-sparsehash&lt;br /&gt;
* curl&lt;br /&gt;
To install these packages, use the port install &amp;lt;package&amp;gt; command in your Terminal application. If you are not running as root, you will have to use sudo in front.&lt;br /&gt;
&lt;br /&gt;
== Compiling the server ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MacPorts installs itself into /opt/local by default, so we will have to pass the appropriate compiler and linker search path flags to the configure command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
CPPFLAGS=&amp;quot;-I/opt/local/include&amp;quot; LDFLAGS=&amp;quot;-L/opt/local/lib&amp;quot; ./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
Run the server&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project[http://code.google.com/p/multitheftauto-resources/]. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23325</id>
		<title>Building MTASA Server on macOS</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23325"/>
		<updated>2010-05-02T01:57:50Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Preparing your system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== '''Building on Mac OS X''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. In order to get these, you will have to install the latest MacPorts release. [http://www.macports.org/]&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for Mac OS X can be downloaded from our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
== Setting up MacPorts ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since our software relies on a number of well known libraries that are not shipped on a vanilla Mac OS X system, it may be necessary for you to install these first. With the MacPorts software you can easily download and install these libraries, so follow the installation instructions[http://www.macports.org/install.php] at macports.org.&lt;br /&gt;
&lt;br /&gt;
After installing MacPorts, you should install the following packages:&lt;br /&gt;
&lt;br /&gt;
* pcre&lt;br /&gt;
* zlib&lt;br /&gt;
* google-sparsehash&lt;br /&gt;
* curl&lt;br /&gt;
To install these packages, use the port install &amp;lt;package&amp;gt; command in your Terminal application. If you are not running as root, you will have to use sudo in front.&lt;br /&gt;
&lt;br /&gt;
== Compiling the server ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MacPorts installs itself into /opt/local by default, so we will have to pass the appropriate compiler and linker search path flags to the configure command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
CPPFLAGS=&amp;quot;-I/opt/local/include&amp;quot; LDFLAGS=&amp;quot;-L/opt/local/lib&amp;quot; ./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
Run the server&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23324</id>
		<title>Building MTASA Server on macOS</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23324"/>
		<updated>2010-05-02T01:57:11Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Setting up MacPorts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== '''Building on Mac OS X''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. In order to get these, you will have to install the latest MacPorts release.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for Mac OS X can be downloaded from our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Setting up MacPorts ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since our software relies on a number of well known libraries that are not shipped on a vanilla Mac OS X system, it may be necessary for you to install these first. With the MacPorts software you can easily download and install these libraries, so follow the installation instructions[http://www.macports.org/install.php] at macports.org.&lt;br /&gt;
&lt;br /&gt;
After installing MacPorts, you should install the following packages:&lt;br /&gt;
&lt;br /&gt;
* pcre&lt;br /&gt;
* zlib&lt;br /&gt;
* google-sparsehash&lt;br /&gt;
* curl&lt;br /&gt;
To install these packages, use the port install &amp;lt;package&amp;gt; command in your Terminal application. If you are not running as root, you will have to use sudo in front.&lt;br /&gt;
&lt;br /&gt;
== Compiling the server ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MacPorts installs itself into /opt/local by default, so we will have to pass the appropriate compiler and linker search path flags to the configure command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
CPPFLAGS=&amp;quot;-I/opt/local/include&amp;quot; LDFLAGS=&amp;quot;-L/opt/local/lib&amp;quot; ./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
Run the server&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23323</id>
		<title>Building MTASA Server on macOS</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_macOS&amp;diff=23323"/>
		<updated>2010-05-02T01:55:35Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: Created page with ' == '''Building on Mac OS X''' ==   == Preparing your system ==   In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct li…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== '''Building on Mac OS X''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. In order to get these, you will have to install the latest MacPorts release.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for Mac OS X can be downloaded from our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Setting up MacPorts ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since our software relies on a number of well known libraries that are not shipped on a vanilla Mac OS X system, it may be necessary for you to install these first. With the MacPorts software you can easily download and install these libraries, so follow the installation instructions at macports.org.&lt;br /&gt;
&lt;br /&gt;
After installing MacPorts, you should install the following packages:&lt;br /&gt;
&lt;br /&gt;
* pcre&lt;br /&gt;
* zlib&lt;br /&gt;
* google-sparsehash&lt;br /&gt;
* curl&lt;br /&gt;
To install these packages, use the port install &amp;lt;package&amp;gt; command in your Terminal application. If you are not running as root, you will have to use sudo in front.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiling the server ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MacPorts installs itself into /opt/local by default, so we will have to pass the appropriate compiler and linker search path flags to the configure command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
CPPFLAGS=&amp;quot;-I/opt/local/include&amp;quot; LDFLAGS=&amp;quot;-L/opt/local/lib&amp;quot; ./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
Run the server&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23322</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23322"/>
		<updated>2010-05-02T01:52:52Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Preparing your system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
* '''build-essential:''' contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
* '''automake:''' contains the automake tools&lt;br /&gt;
* '''libtool:''' contains the libtool software required to build libraries&lt;br /&gt;
* '''git-core:''' contains the git client used to check out our code repository&lt;br /&gt;
* '''libcurl3-dev:''' contains the cURL library (version 3 without SSL support)&lt;br /&gt;
* '''libpcre3-dev:''' contains the PCRE library (version 3)&lt;br /&gt;
* '''libsqlite3-dev:''' contains the SQLite library (version 3)&lt;br /&gt;
* '''libreadline5-dev:''' contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
* '''sqlite:''' contains the SQLite library&lt;br /&gt;
* '''git:''' contains the client used to check out our code repository&lt;br /&gt;
* '''curl:''' contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional * * information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook[http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&amp;amp;chap=1] or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Troubleshooting''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.[[irc://irc.multitheftauto.com/]]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23321</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23321"/>
		<updated>2010-05-02T01:52:09Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Preparing your system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
* '''build-essential:''' contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
* '''automake:''' contains the automake tools&lt;br /&gt;
* '''libtool:''' contains the libtool software required to build libraries&lt;br /&gt;
* '''git-core:''' contains the git client used to check out our code repository&lt;br /&gt;
* '''libcurl3-dev:''' contains the cURL library (version 3 without SSL support)&lt;br /&gt;
* '''libpcre3-dev:''' contains the PCRE library (version 3)&lt;br /&gt;
* '''libsqlite3-dev:''' contains the SQLite library (version 3)&lt;br /&gt;
* '''libreadline5-dev:''' contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
* '''sqlite:''' contains the SQLite library&lt;br /&gt;
* '''git:''' contains the client used to check out our code repository&lt;br /&gt;
* '''curl:''' contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional * * information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook[http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&amp;amp;chap=1] or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Troubleshooting''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.[[irc://irc.multitheftauto.com/]]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23320</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23320"/>
		<updated>2010-05-02T01:50:06Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
* '''build-essential:''' contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
* '''automake:''' contains the automake tools&lt;br /&gt;
* '''libtool:''' contains the libtool software required to build libraries&lt;br /&gt;
* '''git-core:''' contains the git client used to check out our code repository&lt;br /&gt;
* '''libcurl3-dev:''' contains the cURL library (version 3 without SSL support)&lt;br /&gt;
* '''libpcre3-dev:''' contains the PCRE library (version 3)&lt;br /&gt;
* '''libsqlite3-dev:''' contains the SQLite library (version 3)&lt;br /&gt;
* '''libreadline5-dev:''' contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
* '''sqlite:''' contains the SQLite library&lt;br /&gt;
* '''git:''' contains the client used to check out our code repository&lt;br /&gt;
* '''curl:''' contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional * * information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Troubleshooting''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.[[irc://irc.multitheftauto.com/]]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23319</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23319"/>
		<updated>2010-05-02T01:49:40Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* More Informations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
* '''build-essential:''' contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
* '''automake:''' contains the automake tools&lt;br /&gt;
* '''libtool:''' contains the libtool software required to build libraries&lt;br /&gt;
* '''git-core:''' contains the git client used to check out our code repository&lt;br /&gt;
* '''libcurl3-dev:''' contains the cURL library (version 3 without SSL support)&lt;br /&gt;
* '''libpcre3-dev:''' contains the PCRE library (version 3)&lt;br /&gt;
* '''libsqlite3-dev:''' contains the SQLite library (version 3)&lt;br /&gt;
* '''libreadline5-dev:''' contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
* '''sqlite:''' contains the SQLite library&lt;br /&gt;
* '''git:''' contains the client used to check out our code repository&lt;br /&gt;
* '''curl:''' contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional * * information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Troubleshooting''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23318</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23318"/>
		<updated>2010-05-02T01:49:09Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* General instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
* '''build-essential:''' contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
* '''automake:''' contains the automake tools&lt;br /&gt;
* '''libtool:''' contains the libtool software required to build libraries&lt;br /&gt;
* '''git-core:''' contains the git client used to check out our code repository&lt;br /&gt;
* '''libcurl3-dev:''' contains the cURL library (version 3 without SSL support)&lt;br /&gt;
* '''libpcre3-dev:''' contains the PCRE library (version 3)&lt;br /&gt;
* '''libsqlite3-dev:''' contains the SQLite library (version 3)&lt;br /&gt;
* '''libreadline5-dev:''' contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
* '''sqlite:''' contains the SQLite library&lt;br /&gt;
* '''git:''' contains the client used to check out our code repository&lt;br /&gt;
* '''curl:''' contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional * * information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Troubleshooting''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;br /&gt;
&lt;br /&gt;
== More Informations ==&lt;br /&gt;
&lt;br /&gt;
You got questions ? Visit our Irc Channel [irc://irc.multitheftauto.com/]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23317</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23317"/>
		<updated>2010-05-02T01:48:44Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* General instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
* '''build-essential:''' contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
* '''automake:''' contains the automake tools&lt;br /&gt;
* '''libtool:''' contains the libtool software required to build libraries&lt;br /&gt;
* '''git-core:''' contains the git client used to check out our code repository&lt;br /&gt;
* '''libcurl3-dev:''' contains the cURL library (version 3 without SSL support)&lt;br /&gt;
* '''libpcre3-dev:''' contains the PCRE library (version 3)&lt;br /&gt;
* '''libsqlite3-dev:''' contains the SQLite library (version 3)&lt;br /&gt;
* '''libreadline5-dev:''' contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
* '''sqlite:''' contains the SQLite library&lt;br /&gt;
* '''git:''' contains the client used to check out our code repository&lt;br /&gt;
* '''curl:''' contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional * * information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd MTA10_Server/output&lt;br /&gt;
./mta-server&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;br /&gt;
&lt;br /&gt;
== More Informations ==&lt;br /&gt;
&lt;br /&gt;
You got questions ? Visit our Irc Channel [irc://irc.multitheftauto.com/]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23316</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23316"/>
		<updated>2010-05-02T01:47:48Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* General instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
* '''build-essential:''' contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
* '''automake:''' contains the automake tools&lt;br /&gt;
* '''libtool:''' contains the libtool software required to build libraries&lt;br /&gt;
* '''git-core:''' contains the git client used to check out our code repository&lt;br /&gt;
* '''libcurl3-dev:''' contains the cURL library (version 3 without SSL support)&lt;br /&gt;
* '''libpcre3-dev:''' contains the PCRE library (version 3)&lt;br /&gt;
* '''libsqlite3-dev:''' contains the SQLite library (version 3)&lt;br /&gt;
* '''libreadline5-dev:''' contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
* '''sqlite:''' contains the SQLite library&lt;br /&gt;
* '''git:''' contains the client used to check out our code repository&lt;br /&gt;
* '''curl:''' contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional * * information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;br /&gt;
&lt;br /&gt;
== More Informations ==&lt;br /&gt;
&lt;br /&gt;
You got questions ? Visit our Irc Channel [irc://irc.multitheftauto.com/]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23315</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23315"/>
		<updated>2010-05-02T01:47:18Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Preparing your system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
* '''build-essential:''' contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
* '''automake:''' contains the automake tools&lt;br /&gt;
* '''libtool:''' contains the libtool software required to build libraries&lt;br /&gt;
* '''git-core:''' contains the git client used to check out our code repository&lt;br /&gt;
* '''libcurl3-dev:''' contains the cURL library (version 3 without SSL support)&lt;br /&gt;
* '''libpcre3-dev:''' contains the PCRE library (version 3)&lt;br /&gt;
* '''libsqlite3-dev:''' contains the SQLite library (version 3)&lt;br /&gt;
* '''libreadline5-dev:''' contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
* '''sqlite:''' contains the SQLite library&lt;br /&gt;
* '''git:''' contains the client used to check out our code repository&lt;br /&gt;
* '''curl:''' contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional * * information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
[code]cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..[code]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;br /&gt;
&lt;br /&gt;
== More Informations ==&lt;br /&gt;
&lt;br /&gt;
You got questions ? Visit our Irc Channel [irc://irc.multitheftauto.com/]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23314</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23314"/>
		<updated>2010-05-02T01:45:19Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Preparing your system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
* '''build-essential:''' contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
* '''automake:''' contains the automake tools&lt;br /&gt;
* '''libtool:''' contains the libtool software required to build libraries&lt;br /&gt;
* '''git-core:''' contains the git client used to check out our code repository&lt;br /&gt;
* '''libcurl3-dev:''' contains the cURL library (version 3 without SSL support)&lt;br /&gt;
* '''libpcre3-dev:''' contains the PCRE library (version 3)&lt;br /&gt;
* '''libsqlite3-dev:''' contains the SQLite library (version 3)&lt;br /&gt;
* '''libreadline5-dev:''' contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
* '''sqlite:''' contains the SQLite library&lt;br /&gt;
* '''git:''' contains the client used to check out our code repository&lt;br /&gt;
* '''curl:''' contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional * * information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
[code]cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..[code]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;br /&gt;
&lt;br /&gt;
== More Informations ==&lt;br /&gt;
&lt;br /&gt;
You got questions ? Visit our Irc Channel [irc://irc.multitheftauto.com/]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23313</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23313"/>
		<updated>2010-05-02T01:44:26Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Preparing your system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
* '''build-essential:''' contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
* '''automake:''' contains the automake tools&lt;br /&gt;
* '''libtool:''' contains the libtool software required to build libraries&lt;br /&gt;
* '''git-core:''' contains the git client used to check out our code repository&lt;br /&gt;
* '''libcurl3-dev:''' contains the cURL library (version 3 without SSL support)&lt;br /&gt;
* '''libpcre3-dev:''' contains the PCRE library (version 3)&lt;br /&gt;
* '''libsqlite3-dev:''' contains the SQLite library (version 3)&lt;br /&gt;
* '''libreadline5-dev:''' contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
* '''sqlite:''' contains the SQLite library&lt;br /&gt;
* '''git:''' contains the client used to check out our code repository&lt;br /&gt;
* '''curl:''' contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional * * information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
[code]cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..[code]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;br /&gt;
&lt;br /&gt;
== More Informations ==&lt;br /&gt;
&lt;br /&gt;
You got questions ? Visit our Irc Channel [irc://irc.multitheftauto.com/]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23312</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23312"/>
		<updated>2010-05-02T01:41:40Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* General instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
* '''build-essential:''' contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
* '''automake:''' contains the automake tools&lt;br /&gt;
* '''libtool:''' contains the libtool software required to build libraries&lt;br /&gt;
* '''git-core:''' contains the git client used to check out our code repository&lt;br /&gt;
* '''libcurl3-dev:''' contains the cURL library (version 3 without SSL support)&lt;br /&gt;
* '''libpcre3-dev:''' contains the PCRE library (version 3)&lt;br /&gt;
* '''libsqlite3-dev:''' contains the SQLite library (version 3)&lt;br /&gt;
* '''libreadline5-dev:''' contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
* '''sqlite:''' contains the SQLite library&lt;br /&gt;
* '''git:''' contains the client used to check out our code repository&lt;br /&gt;
* '''curl:''' contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional * * information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
[code]cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..[code]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;br /&gt;
&lt;br /&gt;
== More Informations ==&lt;br /&gt;
&lt;br /&gt;
You got questions ? Visit our Irc Channel [irc://irc.multitheftauto.com/]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23311</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23311"/>
		<updated>2010-05-02T01:40:19Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Preparing your system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
* '''build-essential:''' contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
* '''automake:''' contains the automake tools&lt;br /&gt;
* '''libtool:''' contains the libtool software required to build libraries&lt;br /&gt;
* '''git-core:''' contains the git client used to check out our code repository&lt;br /&gt;
* '''libcurl3-dev:''' contains the cURL library (version 3 without SSL support)&lt;br /&gt;
* '''libpcre3-dev:''' contains the PCRE library (version 3)&lt;br /&gt;
* '''libsqlite3-dev:''' contains the SQLite library (version 3)&lt;br /&gt;
* '''libreadline5-dev:''' contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
* '''sqlite:''' contains the SQLite library&lt;br /&gt;
* '''git:''' contains the client used to check out our code repository&lt;br /&gt;
* '''curl:''' contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional * * information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;br /&gt;
&lt;br /&gt;
== More Informations ==&lt;br /&gt;
&lt;br /&gt;
You got questions ? Visit our Irc Channel [irc://irc.multitheftauto.com/]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23310</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23310"/>
		<updated>2010-05-02T01:38:44Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Preparing your system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
build-essential: contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
automake: contains the automake tools&lt;br /&gt;
libtool: contains the libtool software required to build libraries&lt;br /&gt;
git-core: contains the git client used to check out our code repository&lt;br /&gt;
libcurl3-dev: contains the cURL library (version 3 without SSL support)&lt;br /&gt;
libpcre3-dev: contains the PCRE library (version 3)&lt;br /&gt;
libsqlite3-dev: contains the SQLite library (version 3)&lt;br /&gt;
libreadline5-dev: contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
sqlite: contains the SQLite library&lt;br /&gt;
git: contains the client used to check out our code repository&lt;br /&gt;
curl: contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;br /&gt;
&lt;br /&gt;
== More Informations ==&lt;br /&gt;
&lt;br /&gt;
You got questions ? Visit our Irc Channel [irc://irc.multitheftauto.com/]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23309</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23309"/>
		<updated>2010-05-02T01:37:00Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Debian Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
build-essential: contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
automake: contains the automake tools&lt;br /&gt;
libtool: contains the libtool software required to build libraries&lt;br /&gt;
git-core: contains the git client used to check out our code repository&lt;br /&gt;
libcurl3-dev: contains the cURL library (version 3 without SSL support)&lt;br /&gt;
libpcre3-dev: contains the PCRE library (version 3)&lt;br /&gt;
libsqlite3-dev: contains the SQLite library (version 3)&lt;br /&gt;
libreadline5-dev: contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
sqlite: contains the SQLite library&lt;br /&gt;
git: contains the client used to check out our code repository&lt;br /&gt;
curl: contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;br /&gt;
&lt;br /&gt;
== More Informations ==&lt;br /&gt;
&lt;br /&gt;
You got questions ? Visit our Irc Channel [irc://irc.multitheftauto.com/]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23308</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23308"/>
		<updated>2010-05-02T01:36:30Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Preparing your system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Debian Linux''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
build-essential: contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
automake: contains the automake tools&lt;br /&gt;
libtool: contains the libtool software required to build libraries&lt;br /&gt;
git-core: contains the git client used to check out our code repository&lt;br /&gt;
libcurl3-dev: contains the cURL library (version 3 without SSL support)&lt;br /&gt;
libpcre3-dev: contains the PCRE library (version 3)&lt;br /&gt;
libsqlite3-dev: contains the SQLite library (version 3)&lt;br /&gt;
libreadline5-dev: contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
sqlite: contains the SQLite library&lt;br /&gt;
git: contains the client used to check out our code repository&lt;br /&gt;
curl: contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;br /&gt;
&lt;br /&gt;
== More Informations ==&lt;br /&gt;
&lt;br /&gt;
You got questions ? Visit our Irc Channel [irc://irc.multitheftauto.com/]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23307</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23307"/>
		<updated>2010-05-02T01:36:12Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Building on GNU/Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
build-essential: contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
automake: contains the automake tools&lt;br /&gt;
libtool: contains the libtool software required to build libraries&lt;br /&gt;
git-core: contains the git client used to check out our code repository&lt;br /&gt;
libcurl3-dev: contains the cURL library (version 3 without SSL support)&lt;br /&gt;
libpcre3-dev: contains the PCRE library (version 3)&lt;br /&gt;
libsqlite3-dev: contains the SQLite library (version 3)&lt;br /&gt;
libreadline5-dev: contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
sqlite: contains the SQLite library&lt;br /&gt;
git: contains the client used to check out our code repository&lt;br /&gt;
curl: contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;br /&gt;
&lt;br /&gt;
== More Informations ==&lt;br /&gt;
&lt;br /&gt;
You got questions ? Visit our Irc Channel [irc://irc.multitheftauto.com/]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23306</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23306"/>
		<updated>2010-05-02T01:34:26Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* More Informations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
* General Instructions [http://wiki.multitheftauto.com/wiki/Main_Page/Building_on_GNU_Linux#General_instructions]&lt;br /&gt;
* Preparing your system [http://wiki.multitheftauto.com/wiki/Main_Page/Building_on_GNU_Linux#Preparing_your_system]&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
build-essential: contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
automake: contains the automake tools&lt;br /&gt;
libtool: contains the libtool software required to build libraries&lt;br /&gt;
git-core: contains the git client used to check out our code repository&lt;br /&gt;
libcurl3-dev: contains the cURL library (version 3 without SSL support)&lt;br /&gt;
libpcre3-dev: contains the PCRE library (version 3)&lt;br /&gt;
libsqlite3-dev: contains the SQLite library (version 3)&lt;br /&gt;
libreadline5-dev: contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
sqlite: contains the SQLite library&lt;br /&gt;
git: contains the client used to check out our code repository&lt;br /&gt;
curl: contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;br /&gt;
&lt;br /&gt;
== More Informations ==&lt;br /&gt;
&lt;br /&gt;
You got questions ? Visit our Irc Channel [irc://irc.multitheftauto.com/]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23305</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23305"/>
		<updated>2010-05-02T01:34:00Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* General instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
* General Instructions [http://wiki.multitheftauto.com/wiki/Main_Page/Building_on_GNU_Linux#General_instructions]&lt;br /&gt;
* Preparing your system [http://wiki.multitheftauto.com/wiki/Main_Page/Building_on_GNU_Linux#Preparing_your_system]&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
build-essential: contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
automake: contains the automake tools&lt;br /&gt;
libtool: contains the libtool software required to build libraries&lt;br /&gt;
git-core: contains the git client used to check out our code repository&lt;br /&gt;
libcurl3-dev: contains the cURL library (version 3 without SSL support)&lt;br /&gt;
libpcre3-dev: contains the PCRE library (version 3)&lt;br /&gt;
libsqlite3-dev: contains the SQLite library (version 3)&lt;br /&gt;
libreadline5-dev: contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
sqlite: contains the SQLite library&lt;br /&gt;
git: contains the client used to check out our code repository&lt;br /&gt;
curl: contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;br /&gt;
&lt;br /&gt;
== More Informations ==&lt;br /&gt;
&lt;br /&gt;
For question visit our Irc Channel [irc://irc.multitheftauto.com/]&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23304</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23304"/>
		<updated>2010-05-02T01:32:50Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Building on GNU/Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
* General Instructions [http://wiki.multitheftauto.com/wiki/Main_Page/Building_on_GNU_Linux#General_instructions]&lt;br /&gt;
* Preparing your system [http://wiki.multitheftauto.com/wiki/Main_Page/Building_on_GNU_Linux#Preparing_your_system]&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
build-essential: contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
automake: contains the automake tools&lt;br /&gt;
libtool: contains the libtool software required to build libraries&lt;br /&gt;
git-core: contains the git client used to check out our code repository&lt;br /&gt;
libcurl3-dev: contains the cURL library (version 3 without SSL support)&lt;br /&gt;
libpcre3-dev: contains the PCRE library (version 3)&lt;br /&gt;
libsqlite3-dev: contains the SQLite library (version 3)&lt;br /&gt;
libreadline5-dev: contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
sqlite: contains the SQLite library&lt;br /&gt;
git: contains the client used to check out our code repository&lt;br /&gt;
curl: contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23303</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23303"/>
		<updated>2010-05-02T01:31:11Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Building on GNU/Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
General Instructions [http://wiki.multitheftauto.com/wiki/Main_Page/Building_on_GNU_Linux#General_instructions]&lt;br /&gt;
Preparing your system [http://wiki.multitheftauto.com/wiki/Main_Page/Building_on_GNU_Linux#Preparing_your_system]&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
build-essential: contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
automake: contains the automake tools&lt;br /&gt;
libtool: contains the libtool software required to build libraries&lt;br /&gt;
git-core: contains the git client used to check out our code repository&lt;br /&gt;
libcurl3-dev: contains the cURL library (version 3 without SSL support)&lt;br /&gt;
libpcre3-dev: contains the PCRE library (version 3)&lt;br /&gt;
libsqlite3-dev: contains the SQLite library (version 3)&lt;br /&gt;
libreadline5-dev: contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
sqlite: contains the SQLite library&lt;br /&gt;
git: contains the client used to check out our code repository&lt;br /&gt;
curl: contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23302</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23302"/>
		<updated>2010-05-02T01:30:34Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Building on GNU/Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
General Instructions [http://wiki.multitheftauto.com/wiki/Main_Page/Building_on_GNU_Linux#General_instructions]&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
build-essential: contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
automake: contains the automake tools&lt;br /&gt;
libtool: contains the libtool software required to build libraries&lt;br /&gt;
git-core: contains the git client used to check out our code repository&lt;br /&gt;
libcurl3-dev: contains the cURL library (version 3 without SSL support)&lt;br /&gt;
libpcre3-dev: contains the PCRE library (version 3)&lt;br /&gt;
libsqlite3-dev: contains the SQLite library (version 3)&lt;br /&gt;
libreadline5-dev: contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
sqlite: contains the SQLite library&lt;br /&gt;
git: contains the client used to check out our code repository&lt;br /&gt;
curl: contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23301</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23301"/>
		<updated>2010-05-02T01:30:16Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Building on GNU/Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
[http://wiki.multitheftauto.com/wiki/Main_Page/Building_on_GNU_Linux#General_instructions]General Instructions&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
build-essential: contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
automake: contains the automake tools&lt;br /&gt;
libtool: contains the libtool software required to build libraries&lt;br /&gt;
git-core: contains the git client used to check out our code repository&lt;br /&gt;
libcurl3-dev: contains the cURL library (version 3 without SSL support)&lt;br /&gt;
libpcre3-dev: contains the PCRE library (version 3)&lt;br /&gt;
libsqlite3-dev: contains the SQLite library (version 3)&lt;br /&gt;
libreadline5-dev: contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
sqlite: contains the SQLite library&lt;br /&gt;
git: contains the client used to check out our code repository&lt;br /&gt;
curl: contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23300</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23300"/>
		<updated>2010-05-02T01:29:31Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* General instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
build-essential: contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
automake: contains the automake tools&lt;br /&gt;
libtool: contains the libtool software required to build libraries&lt;br /&gt;
git-core: contains the git client used to check out our code repository&lt;br /&gt;
libcurl3-dev: contains the cURL library (version 3 without SSL support)&lt;br /&gt;
libpcre3-dev: contains the PCRE library (version 3)&lt;br /&gt;
libsqlite3-dev: contains the SQLite library (version 3)&lt;br /&gt;
libreadline5-dev: contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
sqlite: contains the SQLite library&lt;br /&gt;
git: contains the client used to check out our code repository&lt;br /&gt;
curl: contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23299</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23299"/>
		<updated>2010-05-02T01:29:07Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: /* Preparing your system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
build-essential: contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
automake: contains the automake tools&lt;br /&gt;
libtool: contains the libtool software required to build libraries&lt;br /&gt;
git-core: contains the git client used to check out our code repository&lt;br /&gt;
libcurl3-dev: contains the cURL library (version 3 without SSL support)&lt;br /&gt;
libpcre3-dev: contains the PCRE library (version 3)&lt;br /&gt;
libsqlite3-dev: contains the SQLite library (version 3)&lt;br /&gt;
libreadline5-dev: contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
sqlite: contains the SQLite library&lt;br /&gt;
git: contains the client used to check out our code repository&lt;br /&gt;
curl: contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23298</id>
		<title>Building MTASA Server on GNU Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Building_MTASA_Server_on_GNU_Linux&amp;diff=23298"/>
		<updated>2010-05-02T01:28:30Z</updated>

		<summary type="html">&lt;p&gt;Jason Gregory: Moving page from GIT to Mta Wikipedia @talidan&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Building on GNU/Linux''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Preparing your system ==&lt;br /&gt;
&lt;br /&gt;
In order to build the Multi Theft Auto dedicated server, you will have to set up your system with the correct libraries and tools. How these are installed depends on your distribution.&lt;br /&gt;
&lt;br /&gt;
Our network module is distributed as a precompiled binary library. The latest version for GNU/Linux can be found on our Downloads page on GitHub.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Debian Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Includes derivative distributions such as Ubuntu.&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries, which are distributed through the following Debian packages (e.g. Debian Lenny):&lt;br /&gt;
&lt;br /&gt;
build-essential: contains the necessary tools, headers and libraries to build applications&lt;br /&gt;
automake: contains the automake tools&lt;br /&gt;
libtool: contains the libtool software required to build libraries&lt;br /&gt;
git-core: contains the git client used to check out our code repository&lt;br /&gt;
libcurl3-dev: contains the cURL library (version 3 without SSL support)&lt;br /&gt;
libpcre3-dev: contains the PCRE library (version 3)&lt;br /&gt;
libsqlite3-dev: contains the SQLite library (version 3)&lt;br /&gt;
libreadline5-dev: contains the readline library (version 5)&lt;br /&gt;
To install these packages through apt, use the apt-get install &amp;lt;package list&amp;gt; command as in the following example (executed as root):&lt;br /&gt;
&lt;br /&gt;
apt-get install build-essential automake libtool git-core libcurl4-openssl-dev libpcre3-dev libsqlite3-dev libreadline5-dev subversion&lt;br /&gt;
&lt;br /&gt;
'''Gentoo Linux'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will need the necessary build tools, headers and libraries. Because Gentoo’s portage system is designed to compile any packages on your own system, the necessary build tools will have already been installed. This only leaves you to install the necessary libraries:&lt;br /&gt;
&lt;br /&gt;
sqlite: contains the SQLite library&lt;br /&gt;
git: contains the client used to check out our code repository&lt;br /&gt;
curl: contains the cURL library; to compile with SSL support, apply the net-misc/curl ssl USE flag&lt;br /&gt;
To compile and install these packages through emerge, use the emerge -v &amp;lt;package list&amp;gt; command. The -v option shows additional information and can be omitted. (If you want to use any USE flags, prepend emerge with USE=&amp;quot;use flags here&amp;quot;. You can also use the -pv option to verify that you’re using the correct flags.) Refer to the Gentoo Handbook or manual for more information on emerge.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
emerge -v subversion sqlite&lt;br /&gt;
USE=“net-misc/curl ssl” emerge -v curl&lt;br /&gt;
&lt;br /&gt;
'''A warning for x64'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The MTA:SA server currently cannot be properly compiled in 64-bit mode. Instead, you should compile it in 32-bit mode and run it using 32-bit compatibility mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
&lt;br /&gt;
'''Prepare the sparsehash library'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can skip this step if your distribution’s package manager provides a sparsehash package that you can install.&lt;br /&gt;
&lt;br /&gt;
cd vendor/sparsehash/current&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
sh ./configure&lt;br /&gt;
make install&lt;br /&gt;
cd ../../..&lt;br /&gt;
&lt;br /&gt;
'''Compiling the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
autoreconf -fi&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
Your vanilla server will now be compiled and installed into the MTA10_Server/output/ directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Run the server'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Grab the latest net.so from the Downloads page on GitHub and place it in your output directory, install the accounts.xml, mtaserver.conf and acl.xml files into the mods/deathmatch/ directory and grab the latest resources from the multitheftauto-resources project. You can then run your server.&lt;br /&gt;
&lt;br /&gt;
cd MTA10_Server/output&lt;br /&gt;
./mta-server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any errors during the compilation of json-c can be solved by calling autoreconf -fi from the json-c directory.&lt;br /&gt;
&lt;br /&gt;
If you’re getting any unexpected errors while compiling, please check our Bug tracker or our IRC channel #mta on irc.multitheftauto.com.&lt;/div&gt;</summary>
		<author><name>Jason Gregory</name></author>
	</entry>
</feed>