tirex problem

Good Morning,

I have build a OSM-Server.
I use the HowTo minutely hstore.
Now I would like to install Tirex:

debuild -i -b -us -uc 

I get the following errors:

metatilehandler.h:22: fatal error: mapnik/map.hpp: No such file or directory
compilation terminated.
make[2]: *** [renderd.o] Fehler 1
make[2]: Verlasse Verzeichnis '/home/nagios/tirex/backend-mapnik'
make[1]: *** [build] Fehler 2
make[1]: Verlasse Verzeichnis '/home/nagios/tirex'
make: *** [build-stamp] Fehler 2
dpkg-buildpackage: Fehler: debian/rules build gab Fehler-Exitstatus 2
debuild: fatal error at line 1337:
dpkg-buildpackage -rfakeroot -D -us -uc -i -b failed

my Linux distribution is Ubuntu 10.10

with kind regards, Nico

That looks a good reason to me for a compiler to stop compilation.

And the question is?

I slove my first Problem but now I get an new Error by restarting the tirex-master:

nagios@nagios-virtual-machine:~$ sudo /etc/init.d/tirex-master restart
 * Restarting Tirex master server tirex-master               Cannot open master UNIX domain socket: Permission denied
                                                 [fail]

Can anyone help me to slove the problem?

Nice that you were able to solve the problem yourself.

Now what was the problem and how did you solve it?

I looked for the map.hpp
I found the file and I copied into the tirex folder
It work’s!

Now can anyone help me with my new problem?
I get the following error:

nagios@nagios-virtual-machine:~$ sudo /etc/init.d/tirex-master restart
 * Restarting Tirex master server tirex-master               Cannot open master UNIX domain socket: Permission denied
                                                                                  [fail]