I'm trying to get a nomenclature running in LaTeX. The problem is that the nomenclature never is printed. I got an example from here:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{nomencl}
\makenomenclature
\begin{document}
\nomenclature{$c$}{Speed of light in a vacuum inertial frame}
\nomenclature{$h$}{Planck constant}
\printnomenclature
\end{document}
Without printing errors this wouldn't even create a PDF.
I use Ubuntu 15.04, I have almost all texlive-packages installed, I compile using TexStudio and XeLaTex.
What must I do to get the nomenclature running?

xetextag since this question is not related to xelatex orxetexat all – Oct 25 '15 at 12:03