zoss/Compiling/ArchLinux

Compiling ZOSS on ArchLinux?

so , now we are going to build IndieZen for archlinux

*NOTE : this also applies for Mesklinux and all Archlinux derivatives

good for you , that there is already PKGBUILDs for IndieZen , so you wont do much anyway :)

first we need to get the required PKGBUILDs , i will assume two things , that you have some pacman wrapper with access to the aur ( like yarout ) and that you dont.

Dependencies in AUR

Luasvn

luasvn is a module for the progrmaming lua , required for the lua script that comes with IndieZen Setup branch , basiclly it will get all other branches and make the CMakeLists for you.

with yarout

yaourt -S luasvn

manually

wget http://aur.archlinux.org/packages/luasvn/luasvn.tar.gz
tar -xvf luasvn.tar.gz
cd luasvn
makepkg

now you should see some file that ends with .pkg.tar.gz , thats the generated package , all you have to do is to install it :)

su -c "pacman -U luasvn-0.4.0-1-i686.pkg.tar.gz"

*NOTE: luasvn-0.4.0-1-i686.pkg.tar.gz is the generated package name , it might be luasvn-0.4.0-1-x86_64.pkg.tar.gz if you made the package under 64bit arch ''

Ogre

as you know , ogre is the Graphics engine used in Indiezen , and we should get the latest verison from svn

with yarout

yaourt -S ogre-svn

manually

wget http://aur.archlinux.org/packages/ogre-svn/ogre-svn.tar.gz
tar -xvf ogre-svn.tar.gz
cd ogre-svn
makepkg

now you should see some file that ends with .pkg.tar.gz , thats the generated package , all you have to do is to install it :)

su -c "pacman -U PKGNAME.pkg.tar.gz"

wxWidgets

you have to get this package from the aur in order to compile ZOSS with no problems

with yarout

yaourt -S wxWidgets

manually

wget http://aur.archlinux.org/packages/wxwidgets/wxwidgets.tar.gz
tar -xvf wxwidgets.tar.gz
cd wxwidgets
makepkg

now you should see some file that ends with .pkg.tar.gz , thats the generated package , all you have to do is to install it :)

su -c "pacman -U PKGNAME.pkg.tar.gz"

Dependencies in official repos

get these depednecies from official repos by

su -c "pacman -S sdl libxml2 subversion cmake lua luafilesystem gtk boost wxgtk"

or if you are in the sudo group

sudo pacman -S sdl libxml2 subversion cmake lua luafilesystem gtk boost wxgtk

Building and Compiling IndieZen

ok , so we are here ready to compile and install Indiezen , all we have to do is get the PKGBUILD and build the package , thats is all \o/

with yarout

yaourt -S indeizen-svn

manually

wget http://aur.archlinux.org/packages/indeizen-svn/indeizen-svn.tar.gz
tar -xvf indeizen-svn.tar.gz
cd indeizen-svn
makepkg

now you should see some file that ends with .pkg.tar.gz , thats the generated package , all you have to do is to install it :)

su -c "pacman -U PKGNAME.pkg.tar.gz"