mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-09-12 22:45:02 -04:00
31 lines
876 B
Markdown
31 lines
876 B
Markdown
# SWGNGE
|
|
|
|
## Ubuntu Environment Setup
|
|
|
|
sudo apt-get install build-essential zlib1g-dev libpcre3-dev cmake libboost-dev libxml2-dev libncurses5-dev flex bison git-core alien
|
|
|
|
### Oracle Instant Client
|
|
|
|
Follow this guide to get the oracle client set up.
|
|
|
|
https://help.ubuntu.com/community/Oracle%20Instant%20Client
|
|
|
|
### Oracle Java 7
|
|
|
|
sudo add-apt-repository ppa:webupd8team/java
|
|
sudo apt-get update
|
|
sudo apt-get install oracle-java7-installer
|
|
sudo apt-get install oracle-java7-set-default
|
|
|
|
You must log out and back in (or just reboot) for the $JAVA_HOME and $ORACLE_HOME to be set properly after these tools are installed. This is required in order for cmake to be able to find these tools when configuring the source code for building.
|
|
|
|
## Build code
|
|
|
|
git clone git@bitbucket.org:apathyboy/swg-src.git -b cmake
|
|
mkdir swg-src/build
|
|
cd swg-src/build
|
|
cmake ..
|
|
make
|
|
|
|
|