LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error in the creation of `etc/pango/pango.modules` (http://www.linuxquestions.org/questions/linux-newbie-8/error-in-the-creation-of-%60etc-pango-pango-modules%60-260513/)

okeyla 11-29-2004 09:45 AM

error in the creation of `etc/pango/pango.modules`
 
I just run an X program...
An error replies:

**<Xprogram:278>: WARNING **:No builtin or dynamically loaded modules were found.

Pango will not work correctly.This probably means there was an error in the
creation of `etc/pango/pango.modules`
You may be able to recreate this file by running pango-querymodules.
Segmentation fault.

===
After checking etc/pango/pango.modules ,
the file is ok.
Then i follow the step it replies,execute pango-querymodules to generate pango.modules , problem is still there.
Somebody could help me???

kernelhacker 05-20-2005 11:35 PM

Pango hardwires the location of the configuration file at startup.
The first time I installed pango, I did not do a make clean before making it, and for some reason it wrote the file to the correct place, but couldn't find it because the file was not remade correctly which locates the file.

The file was only three lines long and full of comments.

My install goes to /usr (don't copy this unless yours does too, it isn't real common for safety reasons. )
When in the pango sorce directory I did a:

./configure --prefix=/usr
make clean; make -j6; make install

the file /usr/etc/pango/pango.modules
Code:

# Pango Modules file
# Automatically generated file, do not edit
#
# ModulesPath = /usr/lib/pango/1.4.0/modules
#
/usr/lib/pango/1.4.0/modules/pango-arabic-fc.so ArabicScriptEngineFc PangoEngineShape PangoRenderFc arabic:*
/usr/lib/pango/1.4.0/modules/pango-basic-fc.so BasicScriptEngineFc PangoEngineShape PangoRenderFc armenian:* bopomofo:* cherokee:* coptic:* cyrillic:* deseret:* ethiopic:* georgian:* gothic:* greek:* han:* hiragana:* katakana:* latin:* ogham:* old-italic:* runic:* canadian-aboriginal:* yi:* braille:* cypriot:* limbu:* osmanya:* shavian:* linear-b:* ugaritic:* common:
/usr/lib/pango/1.4.0/modules/pango-basic-x.so BasicScriptEngineX PangoEngineShape PangoRenderX common:
/usr/lib/pango/1.4.0/modules/pango-hangul-fc.so HangulScriptEngineFc PangoEngineShape PangoRenderFc hangul:*
/usr/lib/pango/1.4.0/modules/pango-hebrew-fc.so HebrewScriptEngineFc PangoEngineShape PangoRenderFc hebrew:*
/usr/lib/pango/1.4.0/modules/pango-indic-fc.so devaScriptEngineFc PangoEngineShape PangoRenderFc devanagari:*
/usr/lib/pango/1.4.0/modules/pango-indic-fc.so bengScriptEngineFc PangoEngineShape PangoRenderFc bengali:*
/usr/lib/pango/1.4.0/modules/pango-indic-fc.so guruScriptEngineFc PangoEngineShape PangoRenderFc gurmukhi:*
/usr/lib/pango/1.4.0/modules/pango-indic-fc.so gujrScriptEngineFc PangoEngineShape PangoRenderFc gujarati:*
/usr/lib/pango/1.4.0/modules/pango-indic-fc.so oryaScriptEngineFc PangoEngineShape PangoRenderFc oriya:*
/usr/lib/pango/1.4.0/modules/pango-indic-fc.so tamlScriptEngineFc PangoEngineShape PangoRenderFc tamil:*
/usr/lib/pango/1.4.0/modules/pango-indic-fc.so teluScriptEngineFc PangoEngineShape PangoRenderFc telugu:*
/usr/lib/pango/1.4.0/modules/pango-indic-fc.so kndaScriptEngineFc PangoEngineShape PangoRenderFc kannada:*
/usr/lib/pango/1.4.0/modules/pango-indic-fc.so mlymScriptEngineFc PangoEngineShape PangoRenderFc malayalam:*
/usr/lib/pango/1.4.0/modules/pango-indic-fc.so sinhScriptEngineFc PangoEngineShape PangoRenderFc sinhala:*
/usr/lib/pango/1.4.0/modules/pango-syriac-fc.so SyriacScriptEngineFc PangoEngineShape PangoRenderFc syriac:*

and everything works correctly now. See if your /etc/pango/pango.modules file looks like that or not.
If not, reinstall pango , or perhaps (experimental) copy the above text but change the installation directory from /usr/lib/pango/1.4.0/modules/ to wherever it really is in your system.

Good luck.

Shingoshi 04-09-2009 03:41 AM

Yes, this topic is outdated! But the problem wasn't...
 
I'm running a 64-bit kernel on Slackware. The result is that I just had pango looking for x86_64-slackware-linux in /etc during the install. This is the error that I got from attempting to install pango:

Executing install script for pango-1.22.4-i486-2...
/usr/bin/update-pango-querymodules: line 43: /etc/pango/x86_64-slackware-linux/pango.modules: No such file or directory

The problem here is that there was no /etc/x86_64-slackware-linux/. Fortunately for me, I have a little program called linux32 from the setarch package. Simply prepending this command, solved the problem:

linux32 update-pango-querymodules > /etc/pango/pango.modules

Now this may not be precisely related. But I may save someone else some time trying to figure this out in the future. My gtk applications all function properly now.

Xavian-Anderson Macpherson
Shingoshi

fotoguy 07-02-2011 08:06 PM

Quote:

Originally Posted by Shingoshi (Post 3503277)
I'm running a 64-bit kernel on Slackware. The result is that I just had pango looking for x86_64-slackware-linux in /etc during the install. This is the error that I got from attempting to install pango:

Executing install script for pango-1.22.4-i486-2...
/usr/bin/update-pango-querymodules: line 43: /etc/pango/x86_64-slackware-linux/pango.modules: No such file or directory

The problem here is that there was no /etc/x86_64-slackware-linux/. Fortunately for me, I have a little program called linux32 from the setarch package. Simply prepending this command, solved the problem:

linux32 update-pango-querymodules > /etc/pango/pango.modules

Now this may not be precisely related. But I may save someone else some time trying to figure this out in the future. My gtk applications all function properly now.

Xavian-Anderson Macpherson
Shingoshi


Thanks, it certainly saved me some time, been having issues with my live distro of slackware 13 64 bit, all my gtk application did work, now they do thanks to your update modules line


All times are GMT -5. The time now is 03:54 AM.