System :: Funny thing in /etc/pango/pango.modules



Hi There,
I'm trying to compile an application for DSL. (gpsdrive)
I had it working on 2.0 and now I'm trying to get working on 3.01

I was previously compiling it on Debian stable (sarge) and I have now moved to Debian testing (etch)

It compiles fine and I create a .tar.gz package to install on DSL.

When I try and run the program I get the following errors

===========================================================
Error reading Pango modules file

(gpsdrive:614): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(gpsdrive:614): Pango-CRITICAL **: _pango_engine_shape_shape: assertion `PANGO_IS_FONT (font)' failed

Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: (glyphs->num_glyphs > 0)
aborting...

Key: $1$4c39dc91$PlPMGld2obZNMkkmOhgr./,id: PlPMGld2obZNMkkmOhgr./ 22 bytes, time: 14581474
===========================================================


I don't know a lot about pango but when I look into /etc/pango/pango.modules
I see lots of lines similar to this.

----------------------------------------------------------------------------------
/usr/lib/pango/1.5.0/modules/pango-arabic-fc.so ArabicScriptEngineFc PangoEngineShape PangoRenderFc arabic:*
/usr/lib/pango/1.5.0/modules/pango-basic-x.so BasicScriptEngineX PangoEngineShape PangoRenderX common:
-----------------------------------------------------------------------------------

When I then go and look in /usr/lib/pango I see a directory for 1.4.0 and not 1.5.0

I'm not sure if it is important but when I'm running on Debian it does use pango modules in a folder named 1.5.0

Is there a problem with DSL here or is it my lack of understanding ?

David

I think you're probably correct.  If the application was compiled against 1.5 there is a very good chance that it wouldn't work with 1.4.

The thing I find peculiar is that it tries to run the program anyway, rather than quit with the message that it needs 1.5

Silly me.
The reason I asked was I thought the pango stuff I found on DSL was part of the original install.  A quick inspection after booting from the livecd showed that the files in question wern't there.

So either I installed them or they came with another program not that I have installed much more than the compiler tools.

Thanks for your help.

David


original here.