LastHope Apprentice
Joined: 11 May 2005 Posts: 237 Location: Mordor
|
Posted: Tue Nov 20, 2007 3:47 pm Post subject: Problemi aggiornamento XML-Simple e expat...argh...[Risolto] |
|
|
Ciao a tutti,
ho combinato un grosso pasticcio...ho provato ad aggiornare perl, quindi perl-cleaner reallyall...
E mi si e' bloccato con XML-Simple, dicendo che voleva XML::SAX::Expat...al che (si', lo so, mossa un po' stupida) ho provato ad aggiornare expat...e ovviamente mi continua a fallire il revdep-rebuild!
Solo dopo ho trovato come dovevo aggiornare perl per far andare (in teoria) l'aggiornamento di XML-Simple, ovvero facendo:
Code: |
perl -MCPAN -e shell
install XML::SAX::Expat
quit
|
OK, ora e' installato,ma continua a darmi questo errore XML-Simple:
Code: |
Checking installed modules ...
=============================================================================
Fatal error: Your default XML parser (XML::SAX::PurePerl) is broken.
There are known bugs in the PurePerl parser included with version 0.13
and 0.14 of XML::SAX. The XML::Simple tests will fail with this parser.
One way to avoid the problem is to install XML::SAX::Expat - it will
install itself as the system default XML parser and then you will be able
to install XML::Simple successfully. XML::SAX::Expat is also much faster
than XML::SAX::PurePerl so you probably want it anyway.
=============================================================================
|
Come faccio a metterglielo a default? Questo non l'ho trovato...e finche' non lo faccio, non mi termina il revdep-rebuild correttamente...quindi fino ad allora non oso ne a spegnere ne a riavviare la macchina...
Ciao a tutti
LastHope
EDIT: Il primo problema l'ho risolto installando dev-perl/XML-LibXML...ede' andato...ora il revdep-rebuild sta macinando pacchetti su pacchetti...vediamo...
EDIT2: Purtroppo nonostante che abbia lanciato piu' volte
Code: |
revdep-rebuil -X --library libexpa.so.0
|
Molti programmi lamentano che non riescono ad accederci (xpdf, acrobat reader, xine, eclipse...)
Ho notato che pero' revdep-rebuild non mi richiama mai tutti gli ebuild, non riesce ad aggiornare certe cose...ora provo a manina a vedere...
Code: |
...revdep-rebuild --pretend
...
Checking dynamic linking consistency...
broken /usr/bin/gtk-demo (requires libexpat.so.0)
broken /usr/bin/gtk-query-immodules-2.0 (requires libexpat.so.0)
broken /usr/bin/pango-querymodules (requires libexpat.so.0)
broken /usr/bin/pango-view (requires libexpat.so.0)
broken /usr/bin/vte (requires libexpat.so.0)
broken /usr/bin/wxrc-2.6 (requires libexpat.so.0)
broken /usr/bin/xgettext (requires libexpat.so.0)
broken /usr/lib/libaprutil-0.so.0.9.12 (requires libexpat.so.0)
broken /usr/lib/libfontconfig.so.1.0.4 (requires libexpat.so.0)
broken /usr/lib/libgdiplus.so.0.0.0 (requires libexpat.so.0)
broken /usr/lib/libpangoft2-1.0.so.0.1600.5 (requires libexpat.so.0)
broken /usr/lib/libphp4.so (requires libexpat.so.0)
broken /usr/lib/libwx_base_xml-2.6.so.0.2.0 (requires libexpat.so.0)
broken /usr/lib/libwx_gtk2_gizmos_xrc-2.6.so.0.2.0 (requires libexpat.so.0)
broken /usr/sbin/ab2 (requires libexpat.so.0)
broken /usr/sbin/ab2-ssl (requires libexpat.so.0)
broken /usr/sbin/apache2 (requires libexpat.so.0)
broken /usr/sbin/checkgid2 (requires libexpat.so.0)
broken /usr/sbin/htdbm (requires libexpat.so.0)
broken /usr/sbin/htdigest2 (requires libexpat.so.0)
broken /usr/sbin/htpasswd2 (requires libexpat.so.0)
broken /usr/sbin/httxt2dbm (requires libexpat.so.0)
broken /usr/sbin/logresolve2 (requires libexpat.so.0)
broken /usr/sbin/rotatelogs2 (requires libexpat.so.0)
|
Nel senso, che lanciandolo cosi' il comando mi prova a fare il re-emerge di apr-util e basta, mentre cosi' saltano fuori giustamente pango, gtk+ ecc...
EDIT Again:
Infatti mi fallisce l'emerge di pango, proprio perche' non trova sempre quella dannata libreria...quindi mi viene da dire che sia lui la fonte del male...
Code: |
Writing a pango.modules file to use with tests/examples.
/var/tmp/portage/x11-libs/pango-1.18.3/work/pango-1.18.3/pango/.libs/lt-pango-querymodules: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
make[3]: *** [pango.modules] Error 127
make[3]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.18.3/work/pango-1.18.3/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.18.3/work/pango-1.18.3/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.18.3/work/pango-1.18.3'
make: *** [all] Error 2
*
* ERROR: x11-libs/pango-1.18.3 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1383: Called gnome2_src_compile
* gnome2.eclass, line 71: Called die
* The specific snippet of code:
* emake || die "compile failure"
* The die message:
* compile failure
*
|
EDIT ultimo (?): riaggiornando media-libs/fontconfig son riuscito a riaggiornare pango, e sembra che tutti i programmi riescano a partire nuovamente come prima |
|