Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Funny thing in /etc/pango/pango.modules< Next Oldest | Next Newest >
Headly Offline





Group: Members
Posts: 38
Joined: July 2005
Posted: Aug. 12 2006,11:33 QUOTE

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
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 12 2006,13:49 QUOTE

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


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Headly Offline





Group: Members
Posts: 38
Joined: July 2005
Posted: Aug. 13 2006,00:10 QUOTE

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
Back to top
Profile PM 
2 replies since Aug. 12 2006,11:33 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Funny thing in /etc/pango/pango.modules

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code