cd to RepetierHost directory
git clone https://github.com/alexrj/Slic3r.git
follow closely the step-by-step https://github.com/alexrj/Slic3r/wiki/Running-Slic3r-from-git-on-GNU-Linux (I used prereqs listed for OpenSUSE 13.2)
The following repos were added in the process:
http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_Leap_42.1/
http://download.opensuse.org/repositories/devel:/languages:/perl:/CPAN-P/openSUSE_Leap_42.1/
http://download.opensuse.org/distribution/leap/42.1/repo/oss/
I also used http://software.opensuse.org/ to find a missing package, but already do not remember which one
When creating a launch script, had to use the absolute path for this line:
perl ./slic3r.pl $*
Finally, freeglut had to be installed (review the build error logs to see that GL\freeglut.h is missing).
This was solved by going to software management and installing packages freeglut-devel and perl-OpenGL
Finally after all the steps completed without errors, ./slic3r --gui should invoke a GUI window.
Some of the errors I saw in the process:
glversion.c:8:25: fatal error: GL/freeglut.h: No such file or directory
./slic3r --gui Can't locate OpenGL.pm in @INC (you may need to install the OpenGL module)