Subject: Re: acroread7 problems, possibly due to xorg
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Courtney R. Spencer <cspencer@mindspring.com>
List: netbsd-users
Date: 07/07/2005 13:48:21
On Thu Jul 07, 2005 at 10:01:53AM -0400, Steven M. Bellovin wrote:
> Is anyone successfully using print/acroread7?  When I invoke it, I get 
> a lot of gdkpixbuf errors such as these:
> 
>   (acroread:8282): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported
> 
>   (acroread:8282): GLib-GObject-CRITICAL **: file gobject.c: line 1319 (g_object_ref): assertion `G_IS_OBJECT (object)' failed
> 
> 
> culminating in 
> 
>   No fonts found; this probably means that the fontconfig
>   library is not correctly configured. You may need to
>   edit the fonts.conf configuration file. More information
>   about fontconfig can be found in the fontconfig(3) manual
>   page and on http://fontconfig.org
> 
> I see nothing obviously wrong with my configuration; I ran fc-cache
> and /usr/pkg/emul/linux/usr/bin/fc-cache to make sure that all font 
> caches were up to date.
> 
> I should note that I'm experiencing this on -current with xorg.  
> 
> It's becoming rather critical to get acroread7 working.  acroread5 has 
> some new security holes; Adobe's suggested fix is to switch to 
> acroread7.  
> 


I had the same issue on current with Xfree86.  I found that during a 
postinstall of suse_gtk2-9.1nb3 there were errors and the following 
file was either scrambled or not created:

/usr/pkg/emul/linux/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders

What I did to workaround this was take the netbsd native package file 
(/usr/pkg/libdata/gtk-2.0/gdk-pixbuf.loaders) and correct the paths

s@/usr/pkg/@/opt/gnome/@ 

and the version
s@2.4.0@2.2.0@

then ran fc-cache.

-- 
Courtney R. Spencer