Re: Gnome on FreeBSD??? No Luck!!!



On Wed, Apr 21, 1999 at 11:09:34PM -0700, Devin Butterfield wrote:
> "gdk_imlib ERROR: Cannot load image:
> /usr/local/share/pixmaps/tiles/tile-green-up.png
> 
> All fallbacks failed."

The problem ist due to gmodules not working correctly.
I haven't had time yet to track down the problem and look for a fix.
This results also in themes not working correctly.

I have managed to make it work with a lot of modifications (also due to
the fact that I've put EVERYTHING to /usr/local/gnome, but some
imagelib dependencies are in /usr/local :-(

Trouble-Shooting:

1) in glib-1.2.1/gmodule start
        ./testgmodule
   if it doesn't make it through all tests, gmodules do not work.

2) Check in imlib-1.9.4/config.h if it contains the line
	#define HAVE_LIBPNG 1
   if it does, PNG support is ok.
   next look for a line
	#define USE_GMODULE
   if it's there, change it to:
	/* #undef USE_GMODULE */

   Next you need to complie imlib again: do a "make clean" and "make install"

3) the change in 2) causes the image hook not to load dynamically, they
   have to be linked with the applications at compile time.
   Thus you have to recompile them.
   Before you do this you chould modify gnome-config (/usr/local/bin
   perhaps) and add
      -ljpeg -ltiff -lgif -lpng
   to "the_libs" in the gnomui) section.

Sorry, I don't have a cleaner way, but I hope this helps.

I'm using FreeBSD-3.1R btw.

	\Maex

-- 
SpaceNet GmbH             |   http://www.Space.Net/   | Yeah, yo mama dresses
Research & Development    | mailto:maex-sig@Space.Net | you funny and you need
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | a mouse to delete files
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  |



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]