User:Necktrox: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Added compact module compile guide)
Line 1: Line 1:
==About me==
<pageclass class="#ff8800" subcaption="Necktrox&rsquo;s Profile"></pageclass>
 
== Compile socket module on Ubuntu 15.10 (or on any Debian distro?)==
=== Install the necessary build tools, headers and libraries ===
<syntaxhighlight lang="lua">
$ sudo apt-get install git build-essential automake libtool lib32z1-dev g++-multilib
</syntaxhighlight>
 
=== Clone the '''multitheftauto/multitheftauto-modules''' repository to your disk ===
<syntaxhighlight lang="lua">
$ git clone https://github.com/multitheftauto/multitheftauto-modules.git mta-modules
</syntaxhighlight>
 
=== Change your directory to '''mta-modules/sockets''' ===
<syntaxhighlight lang="lua">
$ cd mta-modules/sockets
</syntaxhighlight>
 
=== Make the shell scripts executable, so they can be ran from terminal ===
<syntaxhighlight lang="lua">
$ chmod a+x build-32.sh
$ chmod a+x build-64.sh
</syntaxhighlight>
 
=== Build the x32/x64 libraries ===
<syntaxhighlight lang="lua">
$ ./build-32.sh
$ ./build-64.sh
</syntaxhighlight>
 
== Contact ==
*[https://github.com/Necktrox GitHub Profile]
*[https://github.com/Necktrox GitHub Profile]
*[https://forum.mtasa.com/memberlist.php?mode=viewprofile&u=74045 Forum Profile]
*[https://forum.mtasa.com/memberlist.php?mode=viewprofile&u=74045 Forum Profile]

Revision as of 20:20, 18 April 2016

Compile socket module on Ubuntu 15.10 (or on any Debian distro?)

Install the necessary build tools, headers and libraries

$ sudo apt-get install git build-essential automake libtool lib32z1-dev g++-multilib

Clone the multitheftauto/multitheftauto-modules repository to your disk

$ git clone https://github.com/multitheftauto/multitheftauto-modules.git mta-modules

Change your directory to mta-modules/sockets

$ cd mta-modules/sockets

Make the shell scripts executable, so they can be ran from terminal

$ chmod a+x build-32.sh
$ chmod a+x build-64.sh

Build the x32/x64 libraries

$ ./build-32.sh
$ ./build-64.sh

Contact