LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-29-2004, 09:45 AM   #1
okeyla
Member
 
Registered: Nov 2004
Posts: 47

Rep: Reputation: 15
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???
 
Old 05-20-2005, 11:35 PM   #2
kernelhacker
LQ Newbie
 
Registered: May 2005
Location: Oregon
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
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.
 
Old 04-09-2009, 03:41 AM   #3
Shingoshi
Member
 
Registered: Oct 2006
Location: Cochise County, Arizona
Distribution: Gentoo-AMD64 / Slackware64-Current
Posts: 474
Blog Entries: 28

Rep: Reputation: 34
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
 
Old 07-02-2011, 08:06 PM   #4
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
Quote:
Originally Posted by Shingoshi View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pango ./configure error(s)... nutnut Linux - Software 6 02-24-2005 01:22 PM
Pango Building Error lasindi Linux - Software 1 06-14-2004 02:35 AM
Pango 1.4.0 make error mafiaman Linux - Software 3 05-17-2004 09:45 AM
error installing pango shams Linux - Software 5 04-22-2004 09:22 PM
Configure error in Pango-1.0.5 suriyamohan Linux - General 0 04-12-2003 01:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration