Cannot install fonts on FreeBSD due to a permission problem

Pramod Dematagoda pmd.lotr.gandalf at
Sat Nov 1 10:08:27 PDT 2008

On Thu, 2008-10-30 at 20:59 +0530, Pramod Dematagoda wrote:
> Hello there, I have been building X-Server 1.5.1 on FreeBSD 7.0 and I've
> managed to build all prerequisites for X and X now tries to start,
> however at the end I realised that I had forgotten to install the fonts,
> but now when I try to install the fonts(any font for that matter), I get
> the error:-
> make install-data-hook
> PATHTOFONTS:Permission Denied
> **** Error code 1
> Can someone please tell me what I am doing wrong here or be so kind as
> to point me in the right direction?
> Thanks in advance.
> Regards,
> Pramod Dematagoda
Ok, I figured out the problem and managed to install the fonts properly.
But now another problem, the fonts.dir files created by mkfontdir is
completely empty, even if I run:-
mkfontdir /path/to/fonts(in this case, /usr/local/lib/X11/fonts/misc)
I just get a file with 0 which means that mkfontdir wasn't executed
properly. Can anyone please help?

Thanks in advance.

Pramod Dematagoda

More information about the xorg mailing list