User:Necktrox: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| No edit summary | mNo edit summary | ||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| == | <pageclass class="#ff8800" subcaption="Necktrox’s Profile"></pageclass> | ||
| == 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 ===  | |||
| <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> | |||
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