File tree Expand file tree Collapse file tree 2 files changed +5
-24
lines changed Expand file tree Collapse file tree 2 files changed +5
-24
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ autoreconf -fiv
16
16
if [ $1 = " -g" ]; then
17
17
./configure --with-pic --disable-system-pcre --enable-utf8 \
18
18
CFLAGS=' -g -O2 -fPIC -DPIC' \
19
- CXXFLAGS=' -g -O2 -fPIC -DPIC -std=gnu ++0x' \
19
+ CXXFLAGS=' -g -O2 -fPIC -DPIC -std=c ++0x' \
20
20
CPPFLAGS=' -g -O2 -fPIC -DPIC'
21
21
else
22
22
./configure --with-pic --disable-system-pcre --enable-utf8 \
23
23
CFLAGS=' -O2 -fPIC -DPIC' \
24
- CXXFLAGS=' -O2 -fPIC -DPIC -std=gnu ++0x' \
24
+ CXXFLAGS=' -O2 -fPIC -DPIC -std=c ++0x' \
25
25
CPPFLAGS=' -O2 -fPIC -DPIC'
26
26
fi
27
27
@@ -36,7 +36,7 @@ rm ./MTA10_Server/net/net.la
36
36
# Build breakpad
37
37
cd ./vendor/google-breakpad
38
38
./configure
39
- make
39
+ make CXXFLAGS= ' -Wno-sign-compare '
40
40
cd ../..
41
41
42
42
# then you have makefiles and the source can be compiled :)
Original file line number Diff line number Diff line change @@ -17,25 +17,6 @@ for i in $data_files ; do
17
17
fi
18
18
done
19
19
20
- cd MTA10_Server/output
21
- if [ ! -d " mods/deathmatch/resources" ]; then
22
- svn export http://mtasa-resources.googlecode.com/svn/trunk/required mods/deathmatch/resources
23
- else
24
- echo " Info: MTA10_Server/output/mods/deathmatch/resources already exists, delete it and call ./install.sh again if you want to grab the latest version of the default resources."
25
- fi
26
-
27
- if [ -f " mtasa-1.1-custom-net-linux.tar.gz" ]; then
28
- rm -f mtasa-1.1-custom-net-linux.tar.gz
29
- fi
30
-
31
- if [ " $( which wget) " ]; then
32
- wget http://nightly.mtasa.com/? multitheftauto_linux-1.1-latest -O multitheftauto_linux-1.1-latest.tar.gz
33
- tar -xzf multitheftauto_linux-1.1-latest.tar.gz --transform ' s:[^/]*:latest_nightly:'
34
- mv latest_nightly/net.so .
35
- rm -rf latest_nightly multitheftauto_linux-1.1-latest.tar.gz
36
- else
37
- echo " Warning: Please download net.so from http://mtasa-blue.googlecode.com/files/mtasa-1.1-custom-net-linux.tar.gz"
38
- fi
39
-
40
20
echo " Server ready in MTA10_Server/output"
41
-
21
+ echo " Additional step 1: Manually install resources into MTA10_Server/output/mods/deathmatch/resources from http://mirror.mtasa.com/mtasa/resources/"
22
+ echo " Additional step 2: Manually install MTA10_Server/output/net.so by extracting net.so from matching archive at https://nightly.mtasa.com/"
You can’t perform that action at this time.
0 commit comments