All pastes #819363 Raw Edit

Mine

public text v1 · immutable
·published 2007-12-16 22:33 UTC
rendered paste body
#!/bin/sh
# GET WOW
echo "Folder name:"
read MangosRev
echo "Mangos Revision:"
read MangosRev2
# this downloads mangos sources
svn checkout -r ${MangosRev2} https://mangos.svn.sourceforge.net/svnroot/mangos/trunk /home/wow/sources/mangos_${MangosRev}
# this downloads script dev 2 sources
svn checkout http://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2 /home/wow/sources/mangos_${MangosRev}/src/bindings/ScriptDev2
echo "Enter to continue"
read xxx
cd /home/wow/sources/mangos_${MangosRev}
autoreconf --install
#-----------------------
CFLAGS="-fno-strict-aliasing -O1" \
CXXFLAGS="-fno-strict-aliasing -O1" \

# maybe you don't need this MYSQL_CONFIG="/usr/local/mysql/5.0.45/bin/mysql_config" \
./configure \
--prefix=/home/wow/server/${MangosRev} \
--sysconfdir=/home/wow/server/etc \
--datadir=/home/wow/server \
--with-python \
--enable-cli \
--enable-ra \
--with-debug-info \
--with-mysql
#------------------------------------------------

echo "Enter to continue"
read xxx
# compile:
make
echo "Enter to continue"
read xxx
# install
make install
cd /home/wow/server/etc
./mv_conf
cd /home/wow/server/${MangosRev}/bin