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.
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???
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:
make clean; make -j6; make install
the file /usr/etc/pango/pango.modules
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.
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.
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 01:40 PM.|