LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   libcairo missing because of an automatic upgrade to an earlier version by swaret (http://www.linuxquestions.org/questions/slackware-14/libcairo-missing-because-of-an-automatic-upgrade-to-an-earlier-version-by-swaret-523708/)

nass 01-29-2007 05:38 AM

libcairo missing because of an automatic upgrade to an earlier version by swaret
 
hello there i just used swaret to upgrade to the latest packages of the following (taken from /var/log/swaret):
Quote:

Upgrade atk-1.10.3-i486-1gwG to atk-1.9.1-i486-1? (y/n/A/Q): [y] Upgrade bind-9.3.2_P2-i486-1_slack10.2 to bind-9.3.4-i486-1_slack10.2? (y/n/A/Q): [y] Upgrade fetchmail-6.3.2-i486-1 to fetchmail-6.3.6-i486-1_slack10.2? (y/n/A/Q): [y] Upgrade glibc-2.3.5-i486-5 to glibc-2.3.5-i486-6_slack10.2? (y/n/A/Q): [y] Upgrade glibc-i18n-2.3.5-noarch-5 to glibc-i18n-2.3.5-noarch-6_slack10.2? (y/n/A/Q): [y] Upgrade glibc-profile-2.3.5-i486-5 to glibc-profile-2.3.5-i486-6_slack10.2? (y/n/A/Q): [y] Upgrade glibc-solibs-2.3.5-i486-5 to glibc-solibs-2.3.5-i486-6_slack10.2? (y/n/A/Q): [y] Upgrade glibc-zoneinfo-2.3.5-noarch-5 to glibc-zoneinfo-2.3.5-noarch-6_slack10.2? (y/n/A/Q): [y] Upgrade librsvg-2.12.7-i486-1gwG to librsvg-2.8.1-i486-1? (y/n/A/Q): [y] Upgrade pango-1.10.3-i486-1gwG to pango-1.8.2-i486-1? (y/n/A/Q): [y] Upgrade qt-3.3.4-i486-2 to qt-3.3.4-i486-3_slack10.2? (y/n/A/Q): [y]
at the time i didn't notice but apparently swaret chose to remove the preinstalled version of pango-1.10.3-i486-1gwG and install instead pango-1.8.2-i486-1 . now firefox (and i don't know what other bianries) is not running telling me:
Quote:

/usr/lib/firefox-1.0.6/firefox-bin: error while loading shared libraries: libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory
so i tried reinstalling and well as remove&install functions of swaret to get this library again , but no luck. i tried using swaret to manually remove the 1.8 version and install again the 1.10 version.. but now it tells me there is no such package... there seems to be no precompiled pango package for slackware on the internet and i wouldn't like to compile pango-1.14.8 from source since i am in the middle of programming an application and i fear updating the dependencies needed by pango (ie cairo and mostly glib) may affect the compiling process. any ideas why swaret decided to upgrade to an earlier version how to get back to the preinstalled package (unfortunately, i had not enabled the rollback feature of swaret..) nass

pdw_hu 01-29-2007 06:18 AM

Install cairo. It became a separate package some time ago.

Alien Bob 01-29-2007 06:32 AM

Looking at the "gwG" tag that your replaced packages carry, you have installed Gware Gnome. Perhaps you should try re-installing Gware, it could be enough to get your applications running again.

Eric

nass 01-29-2007 09:38 AM

aahhhhh, installing cairo... easier said than done.

i've spent the entire day trying to get this thing working but no luck
i started out by trying to get pango sources and recompiling... but pango needed glib and cairo.

got them both, configured/made/made installed glib
but cairo has been killing the whole day..
it needed latest libpng tool, i got that, and also freetype and fontconfig libs...

freetype i also configured/made/made installed.. but not fontconfig is currently taking the piss out of me...
for unknown reason during make it said before
that a certain file ft2build.h was not included.
so i searched in the web for a solution and what basically someone suggests to bypass that, is to comment out that part of the code, and manually include the library.
i did that and now i get a whole lot of other compiler errors.... damn! should dependencies really be so hard to figure out???

anyhow i will try installing gware again.. i really didn't know what these gwG notions meant.. and it's killing me how this subtle dif can really mean smth so important.
thank you for ur help
ill try that and get back to u
nass

pdw_hu 01-29-2007 10:12 AM

Erm, why are you compiling these stuff when they've official packages? Everything you so far mentioned :)

nass 01-29-2007 05:42 PM

bianries for all?? there is slackware package for pango?:S not in their official dl page for sure...
gware has its own pango.. but thats standard slackware package... that comes wih gware.

anyhow, at this point smth has been f'ed up really nicely. i reinstalled gware by typing
Code:

upgradepkg -reinstall *tgz
in the gware folder.

and i get the following when i try to run any Gtk+ related application (not even gnome will start anymore). the error is common in all situations:

Quote:

(Gecko:6195): 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...
/usr/lib/firefox-1.0.6/run-mozilla.sh: line 159: 6195 Aborted "$prog" ${1+"$@"}
so i completely unistalled gware, and then i reinstalled all packages from group 'l' of the slackCDs, that included pango as well as other libraries.. finally i reinstalled gware again ttyping
Code:

upgradepkg -reinstall *tgz
unfortunately the same error appeares...

now i'm guessing different files have different versions... and that why this pops up... but i need pointers as to how to tackle this... cause i really don't know if its pango, or the latest glib or what else:( that causes this..
any ideas? or solutions or thoughts?

pdw_hu 01-29-2007 06:21 PM

Quote:

Originally Posted by nass
bianries for all?? there is slackware package for pango?:S not in their official dl page for sure...
gware has its own pango.. but thats standard slackware package... that comes wih gware.

PACKAGE NAME: pango-1.12.4-i486-1.tgz
PACKAGE LOCATION: ./slackware/l

Bvahh, i'll just shut up as i dunno about that gnome thingie.
Last time I tried it wanted to install 200+ packages, so i just lolled at it and been happy with blackbox ever since :)

nass 01-30-2007 02:32 AM

no you 're right.
in the slackCDs there are slackware pango packages. but i was refering to the pango.org website. there, there is no packages.
that's why i went ahead..
i wonder if reinstalling slackware on top of this installation would solve problems...
i mean it should overwrite all the packages to the originals, but since i have already tried that with what seems to be important in my case (ie pango package) and it didn't work, i mioght just be wasting my time.
i need some less radical solution...
i think i'll try reinstalling the original versions of just the libs i tried to compile yesterday. ie, freestyle, fontconfig,libpng,pango,glib...

is it possible that some file are not overwritten because f.e. the OS uses them at the time they try to be replaced?

ouellettesr 02-26-2007 11:25 PM

Hello, I am having the same exact problem after using swaret. I am wondering if anyone has come up with a solution yet, I do not feel like reinstalling slack 11 all over again.

shevegen 04-01-2007 05:57 AM

The solution is to either use official packages

or if you dont, use a package manager like pacman, and scripts, that
aid you in installing all these things.

You can use paco from sourceforge to drop binaries easily too
if you want, without pacman.

salmaklak 04-01-2007 10:13 AM

Confuzzled.
 
Quote:

Originally Posted by nass
hello there i just used swaret to upgrade to the latest packages of the following (taken from /var/log/swaret):
....(y/n/A/Q): [y]
at the time i didn't notice but apparently swaret chose to remove ...
nass

Something about the, "...(y/n/A/Q):[y]", and, "...apparently swaret chose to remove...", doesn't make sense to me. Somebody help me out here, I'm confused.


All times are GMT -5. The time now is 06:32 AM.