You are not logged in.
Pages: 1
Third day, third problem, I'm beginning to think I might be to stupid to use linux. >_<
I installed some packages that used Gdk and pango, but whenever I tried to run them nothing happened. So I tried to run firefox off the command line by typing
"/opt/mozilla/bin/firefox"
and this is what popped up
"""
(firefox-bin:5537): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)
(firefox-bin:5537): GdkPixBuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
(same thing repeats 4 times)
(firefox-bin:5537): Pango-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.
(firefox-bin:5537): Glib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object) failed
(firefox-bin:5537): Pango-CRITICAL **: _pango_engine_shape_shape: assertion 'PANGO_IS_FONT (font)' failed
Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: (glyphs->nrm_glyphs > 0)
aborting...
/opt/mozilla/lib/firefox-1.0.4/run-mozilla.sh: line 159: 5537 Aborted
"$prog" ${1+"$@"}
"""
Pretty much the same thing pops up whenever I try to run anything that uses Gdk and/or pango from the command prompt (gaim, abiword, etc) give or take a few more error messages (gaim dosn't have the Gdk errors). All the other programs that don't use Gdk and Pango (fluxbox, mutt, mc, etc.) work just fine so I figure its a problem with Gdk and Pango.
Any help would be greatly appreciated.
Offline
OK, the reason that my apps wouldn't start was because my pango.modules was not created (yes I did try to run my apps on root and I did try "pango-querymodules"). Someone was kind enough to let me copy his pango.modules so I pasted that in the /etc/pango directory. after that, I could start all of my Gtk apps but all those other errors still keep popping up (even though I can run everything just fine). Can someone explain why my pango.modules was not being automatically generated (I installed everything using pacman) and why those other errors still keep popping up even though everything seems to be working just fine?
Offline
If they are WARNINGS then they are perfectly safe to be ignored.
iphitus
Offline
Well today I decided to reinstall arch just to see if those errors would go away after I reinstalled arch (they didn't, it was a good thing I kept a backup of that pango.modules file).However, this time I stuck around while it was installing and I noticed something when the packages were installing. After a couple of packages (gtk2 and pango included) there popped up this message
"sh: user/sbin/chroot: not found"
I was wondering if that had anything to do with the fact that I can't automatically generate the pango.modules file automatically as well as why I get all of those warnings. Once again, any help would be greatly appreciated.
Offline
Seems you didn't install coreutils. Pacman chroots into its target and executes the .install files with that. When chroot is missing, pacman won't run these scripts, so all your GTK, pango and gnome apps are dead. Next time install the complete base system when installing archlinux. You can however just generate a packagelist with pacman -Q and feed those package names to pacman -S to reinstall them.
Offline
Thats funny. I think that all of the packages in "base" were installed. I know that I didn't uncheck any of them. I'll have to go reinstall arch again and actually take a good close look at all of the packages this time.
Edit: OK, I reinstalled Arch for the third time. This time I read over every single package I installed and I know for a fact that there was a big "X" next to the coreutil package and I also know for a fact that I watched that thing download (I saw the little "#" signs fill up and everything) and I still get that
"sh: user/sbin/chroot: not found".
The only package in the base file that I unckecked was the "lilo" package because I was going to install grub, but other then that, I got everything in the base package. Any ideas what is going wrong with my installation?
Offline
Well I installed from the CD instead of from FTPs and that seemed to solve my chroot problems, so the pango and gtk2 packages seem to be working just fine now. However, with the kernel from the CD, I can't seem to mount my windows partition anymore. Whenever I try, I get something that says that ntfs is not recognized. This error didn't appear when I installed over FTP. Does this mean that the kernel on my CD dosn't come with ntfs support (I got the 2.6 IDE one)? And if it dosn't, do I have to compile my own kernel from scratch to get it?
Offline
no, just use pacman to update all your software.
if you want to be safe about it, upgrade pacman first, then upgrade coreutils, then let it upgrade everything else.
pacman -Sy pacman (the -Sy tells it to download a list of all the new packages)
pacman -S coreutils
pacman -Su (the -Su tells it to upgrade everything. normally you want to do -Syu so that it gets the package list and upgrades all in one shot.)
Offline
Two years later, the same (?) problem, very similar situation...
Recently I have installed Arch on my new machine. I discovered that all the GTK+ apps run with "broken fonts"; I wasn't able to see anything except rectangles. The problem was the pango library: /etc/pango/pango.modules file was empty. The solution was simple: run pango-querymodules program and place the generated output as the mentioned file.
The question is: why on earth I had to do it for myself, why the /etc/pango/pango.modules file is not a part of the pango package? Or why the pango-querymodules program is not run (by pacman) after the package has been installed?
Don't get me wrong, I'm not complaining "this Arch is awful: it doesn't run out of the box". I think as follows: if user has installed the pango package, he/she wants to use the pango library. It is impossible to use it without the /etc/pango/pango.modules file, so why not include the file in the package?
Offline
Pages: 1