Need help with Kile/latex (latex/texlive errors)

First I installed latex-beamer then I uninstalled that and tried texlive and got the same error. This error only comes into play when I try to build and view the pdf of a beamer-presentation or poster (not a latex document for a paper, which i got working). The error in the log/message is:

Then pgfrcs.sty pops up in a tab in Kile:

% Copyright 2006 by Till Tantau
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/generic/pgf/licenses/LICENSE for more details.

\input pgfutil-common.tex
\input pgfutil-latex.def

\input{pgfrcs.code.tex}

\endinput

The output section in Kile also punches out:
Enter file name:
! Emergency stop.