Page 1 of 1

Devuan Jessie i386 alpha4 netboot Server Setup Guide *Edited

Posted: Tue Apr 05, 2016 1:43 pm
by KOSMOS
*Edited May 16th, 2016 realized I forgot to add the the libraries needed to build gcc5*

This is a guide to get Darkstar working on Devuan. Which is a new branch of Linux branching off of Debian. The main reason I use this OS is init freedom. I do not like the limits the init that comes with most versions of Linux now. For the most part this is very similar to building on Ubuntu so anyone that is used to Ubuntu or any other Debian based system should be able to follow this. If anyone has any questions post here message me I would be glad to help in anyway that I can.

Building Darkstar on Devuan

OS Verison: Devuan Jessie i386 alpha4 netboot

I only install basic and ssh on my systems though they do have desktop options.

Once base system is setup log into root.

Code: Select all

# su
enter your root password

Install the required programs

Code: Select all

# apt-get install git mysql-server libmysqlclient-dev libluajit-5.1-dev libzmq3-dev autoconf pkg-config build-essential gdb libmpc-dev libmpfr-dev libgmp3-dev
Download and install gcc5
This is a bit of a process though if you follow this guide should not have an issue.

Code: Select all

# cd /opt
# wget http://mirrors.concertpass.com/gcc/releases/gcc-5.3.0/gcc-5.3.0.tar.gz
# tar xzf gcc-*.tar.gz
# mkdir objdir
# cd objdir
# $PWD/../gcc-5.3.0/configure --prefix=$HOME/gcc-5.3.0 --enable-languages=c,c++,fortran,go
# make
# make install
# cd /usr/bin
# rm cc gcc c++ g++
# ln -s /root/gcc-5.3.0/bin/gcc cc
# ln -s /root/gcc-5.3.0/bin/gcc gcc
# ln -s /root/gcc-5.3.0/bin/c++ c++
# ln -s /root/gcc-5.3.0/bin/g++ g++
# cp /root/gcc-5.3.0/lib/libstdc++.so.6 /usr/lib/i386-linux-gnu/libstdc++.so.6
Grab the source from git

Code: Select all

cd /

Code: Select all

# git clone http://github.com/DarkstarProject/darkstar.git/
Compile the source

Code: Select all

# cd darkstar
# sh autogen.sh
# ./configure --enable-debug=gdb
# make
Setting up MySQL

Setting up MySQL passwords/database

Code: Select all

# mysql -u root -p
CREATE USER 'darkstar'@'localhost' IDENTIFIED BY 'password';
CREATE DATABASE dspdb;
USE dspdb;
GRANT ALL PRIVILEGES ON dspdb.* TO 'darkstar'@'localhost';
exit
Populate the database
*! If this is a upgrade this will override all of you server information!!!!

Code: Select all

# cd /darkstar/sql
# for f in *.sql
  do
     echo -n "Importing $f into the database..."
     mysql dspdb -u darkstar -ppassword < $f && echo "Success"      
  done
# cd ..
Set Zone IP

Code: Select all

# mysql -u darkstar -ppassword
USE dspdb;
UPDATE zone_settings SET zoneip = '127.0.0.1';
exit
Configuring Server edit with your database information

Code: Select all

# cd /darkstar/conf
# vim login_darkstar.conf
# vim map_darkstar.conf
# vim search_server.conf
Start servers and exit root!

Code: Select all

# exit (May have to do more than once! Do till out of root!)
# cd /darkstar
# ./dsconnect
# ./dsgame
# ./dssearch

Re: Devuan Jessie i386 alpha4 netboot Server Setup Guide

Posted: Tue Apr 05, 2016 9:45 pm
by whasf
Thanks for the guide, stickied post.

Re: Devuan Jessie i386 alpha4 netboot Server Setup Guide

Posted: Sat Apr 30, 2016 4:25 am
by Khelendil
I used this guide to build gcc-5 on debian 8 (installed gcc-4.9 but the code wouldn't compile so im trying this one)
It would be good to mention that one also needs GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+ and isl as a dependencie for either mpfr or mpc to build gcc on a clean system.
(Got that as an error on ur configure line, Not sure if ur debian flavor has those libs inlcuded but vanilla deb8 has not same goes for deb7)
Build order is gmp -> isl -> mpfr -> mpc (mpc needs mpfr)

Building this on a VM (2cores 4GB RAM 10G HDD and a network mount for the repo to sit on)

I used these packs
ftp://gcc.gnu.org/pub/gcc/infrastructur ... .2.tar.bz2
ftp://gcc.gnu.org/pub/gcc/infrastructur ... .1.tar.bz2
ftp://gcc.gnu.org/pub/gcc/infrastructur ... 0.3.tar.gz
ftp://gcc.gnu.org/pub/gcc/infrastructur ... .4.tar.bz2

Also run ldconfig after installing theses libs. had a "configure: error: cannot compute suffix of object files: cannot compile" message on compiling gcc in stage 1 which had a "No such file or directory" message in the logfile on libisl.so.15

Hopefully i can compile the code this time.

EDIT about 8h later:
OK Compiling went through so darkstar wont work with gcc-4.9 on debian 8 but with 5+ it will.
I had to add another 10G HDD to the vm as gcc used up around 7GB on disk storage while compiling.

Another step i had to take was relink libstdc++.so.6 in /usr/lib/x86_64-linux-gnu to use the one i compiled on gcc-5.
otherwise ull get an error like this:

Code: Select all

/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found
/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found
with the code above we installed gcc-5 in $HOME which turns out to be /root (i changed the prefix to /srv/gcc.... for my needs)
so i went to /usr/lib/x86_64-linux-gnu/, mv'ed the old libstdc++.so.6 link (which just points to a libstdc++.so.6.0.20 or so file next to it) and created a new link to my just compiled libstdc++.so.6 in /srv/gcc-5.3.0/lib64/

After that the servers could be fired up. ( I installed screen to run all three within a seperate screen session.
If some1 wants the needed commands to do so after installing screen leave me a note here n ill add em.)

Re: Devuan Jessie i386 alpha4 netboot Server Setup Guide

Posted: Tue May 10, 2016 9:40 pm
by KOSMOS
Khelendil wrote:I used this guide to build gcc-5 on debian 8 (installed gcc-4.9 but the code wouldn't compile so im trying this one)
It would be good to mention that one also needs GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+ and isl as a dependencie for either mpfr or mpc to build gcc on a clean system.
(Got that as an error on ur configure line, Not sure if ur debian flavor has those libs inlcuded but vanilla deb8 has not same goes for deb7)
Build order is gmp -> isl -> mpfr -> mpc (mpc needs mpfr)
This guide was for Devaun Jessie not Debian Jessie, Devuan netboot came with it. Though figured this would work for most Debian branches. I did have this running on Debian at one point but I do not like the force init.

Re: Devuan Jessie i386 alpha4 netboot Server Setup Guide *Ed

Posted: Tue Dec 27, 2016 12:50 am
by RinkyDinky
I am running Ubuntu 16.10 (I have no clue if this is the same DJ build you guys are talking about. I am new to LinuxOS's)

I got up to the point of make and have this error come up

Code: Select all

/opt/objdir$ sudo make
[ -f stage_final ] || echo stage3 > stage_final
make[1]: Entering directory '/opt/objdir'
make[2]: Entering directory '/opt/objdir'
make[3]: Entering directory '/opt/objdir'
rm -f stage_current
make[3]: Leaving directory '/opt/objdir'
make[2]: Leaving directory '/opt/objdir'
make[2]: Entering directory '/opt/objdir'
make[3]: Entering directory '/opt/objdir/libiberty'
make[4]: Entering directory '/opt/objdir/libiberty/testsuite'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/opt/objdir/libiberty/testsuite'
make[3]: Leaving directory '/opt/objdir/libiberty'
make[3]: Entering directory '/opt/objdir/lto-plugin'
make  all-am
make[4]: Entering directory '/opt/objdir/lto-plugin'
make[4]: Leaving directory '/opt/objdir/lto-plugin'
make[3]: Leaving directory '/opt/objdir/lto-plugin'
make[3]: Entering directory '/opt/objdir/intl'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/opt/objdir/intl'
make[3]: Entering directory '/opt/objdir/build-x86_64-unknown-linux-gnu/libiberty'
make[4]: Entering directory '/opt/objdir/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/opt/objdir/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[3]: Leaving directory '/opt/objdir/build-x86_64-unknown-linux-gnu/libiberty'
make[3]: Entering directory '/opt/objdir/build-x86_64-unknown-linux-gnu/fixincludes'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/opt/objdir/build-x86_64-unknown-linux-gnu/fixincludes'
make[3]: Entering directory '/opt/objdir/build-x86_64-unknown-linux-gnu/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[3]: Leaving directory '/opt/objdir/build-x86_64-unknown-linux-gnu/libcpp'
make[3]: Entering directory '/opt/objdir/zlib'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g" "CXXFLAGS=-g" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=-static-libstdc++ -static-libgcc " "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=/opt/gcc-5.3.0/missing makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/home/lord/gcc-5.3.0" "infodir=/home/lord/gcc-5.3.0/share/info" "libdir=/home/lord/gcc-5.3.0/lib" "prefix=/home/lord/gcc-5.3.0" "tooldir=/home/lord/gcc-5.3.0/x86_64-unknown-linux-gnu" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[4]: Entering directory '/opt/objdir/zlib'
if [ -z "32 x32" ]; then \
  true; \
else \
  rootpre=`${PWDCMD-pwd}`/; export rootpre; \
  srcrootpre=`cd /opt/objdir/../gcc-5.3.0/zlib; ${PWDCMD-pwd}`/; export srcrootpre; \
  lib=`echo "${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler="gcc"; \
  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
    dir=`echo $i | sed -e 's/;.*$//'`; \
    if [ "${dir}" = "." ]; then \
      true; \
    else \
      if [ -d ../${dir}/${lib} ]; then \
	flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
	if (cd ../${dir}/${lib}; make  \
			CFLAGS="-g ${flags}" \
			CCASFLAGS=" ${flags}" \
			FCFLAGS=" ${flags}" \
			FFLAGS=" ${flags}" \
			ADAFLAGS=" ${flags}" \
			prefix="/home/lord/gcc-5.3.0" \
			exec_prefix="/home/lord/gcc-5.3.0" \
			GCJFLAGS=" ${flags}" \
			GOCFLAGS=" ${flags}" \
			CXXFLAGS="-g ${flags}" \
			LIBCFLAGS="-g -O2 ${flags}" \
			LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
			LDFLAGS="-static-libstdc++ -static-libgcc  ${flags}" \
			MULTIFLAGS="${flags}" \
			DESTDIR="" \
			INSTALL="/usr/bin/install -c" \
			INSTALL_DATA="/usr/bin/install -c -m 644" \
			INSTALL_PROGRAM="/usr/bin/install -c" \
			INSTALL_SCRIPT="/usr/bin/install -c" \
			all); then \
	  true; \
	else \
	  exit 1; \
	fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
make[5]: Entering directory '/opt/objdir/32/zlib'
make[5]: *** No rule to make target 'all'.  Stop.
make[5]: Leaving directory '/opt/objdir/32/zlib'
Makefile:704: recipe for target 'multi-do' failed
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory '/opt/objdir/zlib'
Makefile:506: recipe for target 'all-multi' failed
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory '/opt/objdir/zlib'
Makefile:10907: recipe for target 'all-stage1-zlib' failed
make[2]: *** [all-stage1-zlib] Error 2
make[2]: Leaving directory '/opt/objdir'
Makefile:22099: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/opt/objdir'
Makefile:902: recipe for target 'all' failed
make: *** [all] Error 2
I was wondering if you could help me figure out how to fix this. This is my GCC version

Code: Select all

/opt/objdir$ gcc --version
gcc (Ubuntu 5.4.1-2ubuntu2) 5.4.1 20160929
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
autoconf is already the newest version (2.69-10).
build-essential is already the newest version (12.1ubuntu2).
gdb is already the newest version (7.11.90.20161005-0ubuntu1).
git is already the newest version (1:2.9.3-1).
libgmp3-dev is already the newest version (2:6.1.1+dfsg-1).
libmpc-dev is already the newest version (1.0.3-1).
libmpfr-dev is already the newest version (3.1.5-1).
libzmq3-dev is already the newest version (4.1.5+git20160811+2fc86bc-0ubuntu2).
pkg-config is already the newest version (0.29.1-0ubuntu1).
libluajit-5.1-dev is already the newest version (2.0.4+dfsg-1).
libmysqlclient-dev is already the newest version (5.7.16-0ubuntu0.16.10.1).
mysql-server is already the newest version (5.7.16-0ubuntu0.16.10.1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Update: 12/27/16

on this line I added

Code: Select all

$PWD/../gcc-5.3.0/configure --prefix=$HOME/gcc-5.3.0 --enable-languages=c,c++,fortran,go
I added

Code: Select all

--disable-multilib
to the line and It took a VERY long time to build

Code: Select all

# make
# make install
Both ran with no ERRORs just with a few C++ warnings

Now my MySQL Root is being denied during ./dsconnect I think I messed up the MySQL part.

Code: Select all

[27/Dec 16:16][Info] Console Silent Setting: 0
[27/Dec 16:16][Status] The login-server-auth is ready (Server is listening on the port 54231).

[27/Dec 16:16][Status] The login-server-lobbydata is ready (Server is listening on the port 54230).

[27/Dec 16:16][Status] The login-server-lobbyview is ready (Server is listening on the port 54001).

[27/Dec 16:16][SQL] Access denied for user 'root'@'localhost' (using password: YES)
Any idea's to help me fix this?

Re: Devuan Jessie i386 alpha4 netboot Server Setup Guide *Ed

Posted: Wed Dec 28, 2016 9:11 am
by KOSMOS
Hey that is a different OS. I would start over and use this guide. https://wiki.dspt.info/index.php?title= ... r_on_Linux. That should take care of all of your errors. I just recently install Ubuntu 16 LTS server on a box and used the normal guide install without any problems.
RinkyDinky wrote:I am running Ubuntu 16.10 (I have no clue if this is the same DJ build you guys are talking about. I am new to LinuxOS's)

I got up to the point of make and have this error come up

Code: Select all

/opt/objdir$ sudo make
[ -f stage_final ] || echo stage3 > stage_final
make[1]: Entering directory '/opt/objdir'
make[2]: Entering directory '/opt/objdir'
make[3]: Entering directory '/opt/objdir'
rm -f stage_current
make[3]: Leaving directory '/opt/objdir'
make[2]: Leaving directory '/opt/objdir'
make[2]: Entering directory '/opt/objdir'
make[3]: Entering directory '/opt/objdir/libiberty'
make[4]: Entering directory '/opt/objdir/libiberty/testsuite'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/opt/objdir/libiberty/testsuite'
make[3]: Leaving directory '/opt/objdir/libiberty'
make[3]: Entering directory '/opt/objdir/lto-plugin'
make  all-am
make[4]: Entering directory '/opt/objdir/lto-plugin'
make[4]: Leaving directory '/opt/objdir/lto-plugin'
make[3]: Leaving directory '/opt/objdir/lto-plugin'
make[3]: Entering directory '/opt/objdir/intl'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/opt/objdir/intl'
make[3]: Entering directory '/opt/objdir/build-x86_64-unknown-linux-gnu/libiberty'
make[4]: Entering directory '/opt/objdir/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/opt/objdir/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[3]: Leaving directory '/opt/objdir/build-x86_64-unknown-linux-gnu/libiberty'
make[3]: Entering directory '/opt/objdir/build-x86_64-unknown-linux-gnu/fixincludes'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/opt/objdir/build-x86_64-unknown-linux-gnu/fixincludes'
make[3]: Entering directory '/opt/objdir/build-x86_64-unknown-linux-gnu/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[3]: Leaving directory '/opt/objdir/build-x86_64-unknown-linux-gnu/libcpp'
make[3]: Entering directory '/opt/objdir/zlib'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g" "CXXFLAGS=-g" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=-static-libstdc++ -static-libgcc " "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=/opt/gcc-5.3.0/missing makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/home/lord/gcc-5.3.0" "infodir=/home/lord/gcc-5.3.0/share/info" "libdir=/home/lord/gcc-5.3.0/lib" "prefix=/home/lord/gcc-5.3.0" "tooldir=/home/lord/gcc-5.3.0/x86_64-unknown-linux-gnu" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[4]: Entering directory '/opt/objdir/zlib'
if [ -z "32 x32" ]; then \
  true; \
else \
  rootpre=`${PWDCMD-pwd}`/; export rootpre; \
  srcrootpre=`cd /opt/objdir/../gcc-5.3.0/zlib; ${PWDCMD-pwd}`/; export srcrootpre; \
  lib=`echo "${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler="gcc"; \
  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
    dir=`echo $i | sed -e 's/;.*$//'`; \
    if [ "${dir}" = "." ]; then \
      true; \
    else \
      if [ -d ../${dir}/${lib} ]; then \
	flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
	if (cd ../${dir}/${lib}; make  \
			CFLAGS="-g ${flags}" \
			CCASFLAGS=" ${flags}" \
			FCFLAGS=" ${flags}" \
			FFLAGS=" ${flags}" \
			ADAFLAGS=" ${flags}" \
			prefix="/home/lord/gcc-5.3.0" \
			exec_prefix="/home/lord/gcc-5.3.0" \
			GCJFLAGS=" ${flags}" \
			GOCFLAGS=" ${flags}" \
			CXXFLAGS="-g ${flags}" \
			LIBCFLAGS="-g -O2 ${flags}" \
			LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
			LDFLAGS="-static-libstdc++ -static-libgcc  ${flags}" \
			MULTIFLAGS="${flags}" \
			DESTDIR="" \
			INSTALL="/usr/bin/install -c" \
			INSTALL_DATA="/usr/bin/install -c -m 644" \
			INSTALL_PROGRAM="/usr/bin/install -c" \
			INSTALL_SCRIPT="/usr/bin/install -c" \
			all); then \
	  true; \
	else \
	  exit 1; \
	fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
make[5]: Entering directory '/opt/objdir/32/zlib'
make[5]: *** No rule to make target 'all'.  Stop.
make[5]: Leaving directory '/opt/objdir/32/zlib'
Makefile:704: recipe for target 'multi-do' failed
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory '/opt/objdir/zlib'
Makefile:506: recipe for target 'all-multi' failed
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory '/opt/objdir/zlib'
Makefile:10907: recipe for target 'all-stage1-zlib' failed
make[2]: *** [all-stage1-zlib] Error 2
make[2]: Leaving directory '/opt/objdir'
Makefile:22099: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/opt/objdir'
Makefile:902: recipe for target 'all' failed
make: *** [all] Error 2
I was wondering if you could help me figure out how to fix this. This is my GCC version

Code: Select all

/opt/objdir$ gcc --version
gcc (Ubuntu 5.4.1-2ubuntu2) 5.4.1 20160929
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
autoconf is already the newest version (2.69-10).
build-essential is already the newest version (12.1ubuntu2).
gdb is already the newest version (7.11.90.20161005-0ubuntu1).
git is already the newest version (1:2.9.3-1).
libgmp3-dev is already the newest version (2:6.1.1+dfsg-1).
libmpc-dev is already the newest version (1.0.3-1).
libmpfr-dev is already the newest version (3.1.5-1).
libzmq3-dev is already the newest version (4.1.5+git20160811+2fc86bc-0ubuntu2).
pkg-config is already the newest version (0.29.1-0ubuntu1).
libluajit-5.1-dev is already the newest version (2.0.4+dfsg-1).
libmysqlclient-dev is already the newest version (5.7.16-0ubuntu0.16.10.1).
mysql-server is already the newest version (5.7.16-0ubuntu0.16.10.1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Update: 12/27/16

on this line I added

Code: Select all

$PWD/../gcc-5.3.0/configure --prefix=$HOME/gcc-5.3.0 --enable-languages=c,c++,fortran,go
I added

Code: Select all

--disable-multilib
to the line and It took a VERY long time to build

Code: Select all

# make
# make install
Both ran with no ERRORs just with a few C++ warnings

Now my MySQL Root is being denied during ./dsconnect I think I messed up the MySQL part.

Code: Select all

[27/Dec 16:16][Info] Console Silent Setting: 0
[27/Dec 16:16][Status] The login-server-auth is ready (Server is listening on the port 54231).

[27/Dec 16:16][Status] The login-server-lobbydata is ready (Server is listening on the port 54230).

[27/Dec 16:16][Status] The login-server-lobbyview is ready (Server is listening on the port 54001).

[27/Dec 16:16][SQL] Access denied for user 'root'@'localhost' (using password: YES)
Any idea's to help me fix this?