User:Necktrox: Difference between revisions
Jump to navigation
Jump to search
m (Added personal code snippets) |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Download and install socket module == | == Download and install socket module == | ||
You can read more about downloading and installing the sockets module here: [[Modules/Sockets]] | |||
You can read more about the sockets module here: [[Modules/Sockets]] | |||
== Compile socket module on Ubuntu 15.10 (or on any Debian distro?)== | == Compile socket module on Ubuntu 15.10 (or on any Debian distro?)== | ||
Line 59: | Line 31: | ||
$ ./build-64.sh | $ ./build-64.sh | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 23:32, 25 April 2018
Download and install socket module
You can read more about downloading and installing the sockets module here: Modules/Sockets
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