Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Last Chaos
You last visited: Today at 02:37

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How can I setup Linux Compiler server / How to buy it?

Discussion on How can I setup Linux Compiler server / How to buy it? within the Last Chaos forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2010
Posts: 22
Received Thanks: 0
How can I setup Linux Compiler server / How to buy it?

I want to make a Linux's compiler server for LastChaos.

Can anyone teach me (free/paid)?
Rsujix is offline  
Old 12/27/2020, 21:05   #2
 
elite*gold: 104
Join Date: Sep 2012
Posts: 1,373
Received Thanks: 573
Quote:
# ------------ LC server source compile instruction by Karmel ------------
# Necessary software downloads ## updated 14.05.2018 ###
cd /usr/local
wget
wget
wget
wget
wget
wget
wget
tar xvzf ccache-3.4.2.tar.gz
tar xvzf Botan-1.10.17.tgz
tar xvzf apache-log4cxx-0.10.0.tar.gz
tar xvzf jsoncpp-src-0.6.0-rc2.tar.gz
tar xvzf sqlite-autoconf-3230100.tar.gz
tar xvzf curl-7.59.0.tar.gz
tar xvzf boost_1_65_1.tar.gz
# __________________________________________________ ___
# CentOS Update (optional)
yum -y upgrade

yum -y install python python-devel nano libtool svn
yum -y install gcc gcc-c++
yum -y install zlib zlib-devel ncurses-devel subversion-devel
yum -y install libidn-devel openldap-devel openssl-devel

yum -y install expat expat-devel openldap openldap-devel
yum -y install apr apr-devel apr-util apr-util-devel

yum -y install mysql mysql-devel
####### x64 unix#######
yum -y install gcc.i686 gcc-c++.i686 glibc-devel.i686 libgcc.i686 libstdc++-devel.i686
yum -y install zlib-devel.i686 ncurses-devel.i686 subversion-devel.i686
yum -y install libidn-devel.i686 openldap-devel.i686 openssl-devel.i686

yum -y install expat-devel.i686 openldap-devel.i686
yum -y install apr-devel.i686 apr-util-devel.i686

yum -y install mysql-devel.i686

export CFLAGS='-m32'
export CC="gcc -m32"
export CXX="g++ -m32"
####### x64 #######
#ln -s /usr/lib/libexpat.a /usr/local/lib

cd /usr/local
# ccache
cd ccache-3.4.2
./configure && make -j4 && make install

cd ..
# Botan library
cd Botan-1.10.17
##_x86_##./configure.py --disable-shared --includedir=../../usr/include
./configure.py --disable-shared --includedir=../../usr/include --cpu=x86_32 --cc-bin='gcc -m32'
######################### source edits
# nano src/hash/gost_3411/gost_3411.cpp
#include <stdint.h>
make -j4 && make install
ln -s -d /usr/include/botan-1.10/botan /usr/include/

cd ..
# Apache log4cxx
cd apache-log4cxx-0.10.0
##_x86_##./configure --enable-shared=no --enable-static=yes #--with-apr=/usr/local/apr-1.6.3 --with-apr-util=/usr/local/apr-util-1.6.1
./configure --enable-shared=no --enable-static=yes LDFLAGS="-L/usr/lib"
######################### source edits
# nano src/main/cpp/inputstreamreader.cpp
# nano src/main/cpp/socketoutputstream.cpp
# nano src/examples/cpp/console.cpp
#include <stdio.h>
#include <string.h>
make -j4 && make install

cd ..
# jsoncpp
cd jsoncpp-src-0.6.0-rc2
cd src/lib_json/
##_x86_##g++ -I../../include -O2 -c *.cpp
g++ -m32 -I../../include -O2 -c *.cpp
ar rs libjsoncpp.a *.o
cp libjsoncpp.a /usr/local/lib
cp -R ../../include/json /usr/local/include

cd ../../..
# Sqlite-autoconf
cd sqlite-autoconf-3230100
./configure && make -j4 && make install

cd ..
# curl
cd curl-7.59.0
./configure --enable-shared=no --libdir=/usr/local/lib
make -j4 && make install

cd ..
# Boost ## newer versions not compatible
cd boost_1_65_1
./bootstrap.sh
##_x86_##./b2 -j8 --toolset=gcc --build-type=complete --layout=versioned link=static threading=multi install
./bjam -j8 --toolset=gcc --build-type=complete --layout=versioned link=static threading=multi install cflags=-m32 cxxflags=-m32 address-model=32 threading=multi architecture=x86 instruction-set=i686 stage
ln -s -d /usr/local/boost_1_65_1/boost /usr/include/

# ---------------------------
make -j8 -C ./ShareLib usa
make -j8 -C ./Connector usa
make -j8 -C ./Helper usa
make -j8 -C ./SubHelper usa
make -j8 -C ./Messenger usa
make -j8 -C ./LoginServer usa
make -j8 -C ./GameServer usadebug
# -------------------- Source edits --------------------
# makefile (change to your boost current version(1_65_1))
nano makefile.inc
CXX = ccache g++ -g -m32
BOOST_LIB_VER = -gcc44-mt-d-1_65_1

# gameserver
nano GameServer/DBProcess_CreateChar.cpp
#include <boost/scoped_ptr.hpp>
________________________________________
# config(optional) comment this lines(3, 39) by //
nano ShareLib/Config_Localize_USA.h
#define SERVER_AUTHENTICATION
#define XTRAP
credits to Karmel

I only copied this and some links might be down since this is from 2018
Desarija is offline  
Thanks
2 Users
Old 12/28/2020, 18:53   #3
 
elite*gold: 0
Join Date: Aug 2010
Posts: 22
Received Thanks: 0
Thank you for reply I have try to install it till this line


Quote:
Originally Posted by Desarija View Post

# ---------------------------
make -j8 -C ./ShareLib usa
make -j8 -C ./Connector usa
make -j8 -C ./Helper usa
make -j8 -C ./SubHelper usa
make -j8 -C ./Messenger usa
make -j8 -C ./LoginServer usa
make -j8 -C ./GameServer usadebug
# -------------------- Source edits --------------------
# makefile (change to your boost current version(1_65_1))
nano makefile.inc
CXX = ccache g++ -g -m32
BOOST_LIB_VER = -gcc44-mt-d-1_65_1

# gameserver
nano GameServer/DBProcess_CreateChar.cpp
#include <boost/scoped_ptr.hpp>
________________________________________
# config(optional) comment this lines(3, 39) by //
nano ShareLib/Config_Localize_USA.h
#define SERVER_AUTHENTICATION
#define XTRAP
but I don't much understand it said

PHP Code:
[root@localhost boost_1_65_1]# make -j8 -C ./ShareLib usa
make: *** ShareLibNo such file or directory.  Stop.
[
root@localhost boost_1_65_1]
So I want to know ..
1. how can I change "usa" to another language?
2. where I put the source?

Thank you very much again for help.
Rsujix is offline  
Old 01/02/2021, 04:07   #4
 
elite*gold: 13849
Join Date: Oct 2014
Posts: 673
Received Thanks: 219
Why dont you use pre-compiled binaries?

If you dont understand anything whats happening, you wont have any success.
Lee Ki-Hwan is offline  
Old 01/04/2021, 02:09   #5
 
elite*gold: 0
Join Date: Aug 2010
Posts: 22
Received Thanks: 0
Quote:
Originally Posted by † Slash † View Post
Why dont you use pre-compiled binaries?

If you dont understand anything whats happening, you wont have any success.
Thanks for reply.

I just think this command is a setting up command like above.

But it is compile command.



I have compiler pc but I didn't setup it by myself.

And I just want to build it up by myself on my real server.
Rsujix is offline  
Old 01/04/2021, 03:07   #6
 
elite*gold: 104
Join Date: Sep 2012
Posts: 1,373
Received Thanks: 573
move the source to the compiler, go to the folder with /cd, then do
make -j8 -C ./ShareLib usa
make -j8 -C ./GameServer usa
Desarija is offline  
Old 01/07/2021, 16:02   #7
 
elite*gold: 0
Join Date: Aug 2010
Posts: 22
Received Thanks: 0
I've setup compiler server by myself it is 32 bit.
and when I have first compiled.

It's said like this when I was copiled.


PHP Code:
 " -I../ShareLib -I/usr/include/mysql -I/usr/local/ssl/include -I/usr/local/include/botan-1.10 -I/usr/local/include/boost-1_65_1   -c -o DBCmd.o DBCmd.cpp
LCHttps.cpp: In member function ‘int CLCHttps::Connect(const char*, const char*)                                                                                ’:
LCHttps.cpp:69:31: error: ‘unlink’ was not declared in this scope
    unlink(FINGERPRINT_FILENAME);
                               ^
make[2]: *** [LCHttps.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/compiler/ShareLib' 
What is a problem and how can I fix this error?
Rsujix is offline  
Reply


Similar Threads Similar Threads
Can anyone guide me to setup Game Server & Compiler Server (x64)?
11/13/2020 - Last Chaos - 3 Replies
Please teach me to setup x64 compiler server and x64 Game Server Thank you very much to share your experience
[ASK] Can I setup vsro files in linux
10/26/2011 - SRO Private Server - 1 Replies
Can I setup vsro files in linuxxx ?
[How To] Inno Setup Compiler benutzen
11/25/2010 - Tutorials - 6 Replies
Hallo E*pvp heute zeiche ich euch : Inno Setup Compiler benutzen Schritt für Schritt . Falls ihr noch Fragen habt einfach an mich ne pn x) Download´s unten ! Schritt 1 :



All times are GMT +1. The time now is 02:38.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.