Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
python ko
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
ema
Guru
Guru


Joined: 27 Aug 2003
Posts: 380

PostPosted: Tue Nov 08, 2005 8:11 pm    Post subject: python ko Reply with quote

mi si è schiantato l'hdd... porca vacca. Ho recuperato tutto fortunatamente, l'unico problema che ha la mia bella gentoo è emerge che non va!
dopo pochi minuti ho capito che quello che non va è python...
Code:

ema@Bulma ema $ python
Segmentation fault
ema@Bulma ema $         

Ho letto i post precedenti riguardo al recupero di python, dato che emerge non ne vuole sapere di andare, ma temo il problema sia più a fondo (qualche libreria).
Ho già provato a recuperare la /usr/lib/python2.3 da un'altra macchina e gli eseguibili di python, ma senza risultato.
Cosa potrei ancora provare (oltre a reinstallare... cosa che NON voglio fare....)
_________________
D Per fare il SysAdmin e' necessario conoscere Unix/Linux e disprezzare Windows?
R Se ti interessa lavorare in ambiente Unix/Linux dovrai averne un minimo di conoscenza, quando acquisisci tale conoscenza la seconda parte arriva da sola.
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Tue Nov 08, 2005 8:22 pm    Post subject: Reply with quote

secondo me la cosa migliore che puoi fare è generarti una lista tipo
Code:
emerge -e python
e recuperarli dall'altro pc. se riesci a recuperare emerge dopo ridai lo stesso comando con emerge e ripristini i file che hai sostituito. poi... se qualcuno ha qualche idea migliore...

perchè dici di non essere riuscito a riprendere python?
Back to top
View user's profile Send private message
ema
Guru
Guru


Joined: 27 Aug 2003
Posts: 380

PostPosted: Tue Nov 08, 2005 8:28 pm    Post subject: Reply with quote

intendo.. ci sono riuscito si, ma senza nessun miglioramento.
La lista dall'altro pc, sarà che non lo aggiorno spessissimo (è un server in un bunker...) ma è lunghissima, credo sia umanamente impossibile trasportare a mano i files di tutti i pacchetti
Code:

hawn root # emerge -ep python

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-devel/patch-2.5.9
[ebuild  N    ] sys-libs/gpm-1.20.1-r4
[ebuild  N    ] sys-libs/ncurses-5.4-r6
[ebuild  N    ] app-shells/bash-3.0-r12
[ebuild  N    ] sys-libs/readline-5.0-r2
[ebuild  N    ] sys-devel/flex-2.5.4a-r6
[ebuild  N    ] sys-devel/bc-1.06-r6
[ebuild  N    ] sys-devel/binutils-config-1.8-r5
[ebuild  N    ] sys-devel/gnuconfig-20050602
[ebuild  N    ] sys-devel/binutils-2.15.92.0.2-r10
[ebuild  N    ] sys-devel/m4-1.4.3
[ebuild  N    ] sys-devel/bison-1.875d
[ebuild  N    ] sys-apps/sed-4.1.4
[ebuild  N    ] sys-devel/gcc-config-1.3.12-r3
[ebuild  N    ] sys-apps/texinfo-4.8-r2
[ebuild  N    ] sys-libs/zlib-1.2.3
[ebuild  N    ] sys-devel/gcc-3.4.3-r1
[ebuild  N    ] sys-libs/libstdc++-v3-3.3.4
[ebuild  N    ] sys-kernel/linux-headers-2.6.11-r2
[ebuild  N    ] sys-libs/glibc-2.3.5-r2
[ebuild  N    ] sys-devel/gettext-0.14.4
[ebuild  N    ] sys-apps/diffutils-2.8.7-r1
[ebuild  N    ] dev-java/java-config-1.2.11
[ebuild  N    ] dev-java/blackdown-jre-1.4.2.02
[ebuild  N    ] dev-lang/tcl-8.4.9
[ebuild  N    ] dev-java/blackdown-jdk-1.4.2.02
[ebuild  N    ] sys-libs/db-4.2.52_p2
[ebuild  N    ] sys-libs/gdbm-1.8.3-r2
[ebuild  N    ] sys-apps/groff-1.19.1-r2
[ebuild  N    ] sys-devel/libperl-5.8.6-r1
[ebuild  N    ] dev-lang/perl-5.8.6-r6
[ebuild  N    ] dev-libs/openssl-0.9.7e-r2
[ebuild  N    ] sys-process/cronbase-0.3.2
[ebuild  N    ] sys-apps/man-1.6-r1
[ebuild  N    ] app-admin/perl-cleaner-1.01
[ebuild  N    ] sys-devel/autoconf-2.13
[ebuild  N    ] sys-devel/autoconf-wrapper-3-r1
[ebuild  N    ] sys-devel/autoconf-2.59-r6
[ebuild  N    ] sys-libs/cracklib-2.8.3-r1
[ebuild  N    ] dev-util/pkgconfig-0.17.2-r1
[ebuild  N    ] dev-perl/Locale-gettext-1.03
[ebuild  N    ] sys-apps/help2man-1.33.1
[ebuild  N    ] sys-devel/automake-1.5
[ebuild  N    ] sys-devel/automake-1.8.5-r3
[ebuild  N    ] sys-devel/automake-1.6.3
[ebuild  N    ] sys-devel/automake-1.7.9-r1
[ebuild  N    ] sys-devel/automake-1.4_p6
[ebuild  N    ] sys-devel/automake-wrapper-1-r1
[ebuild  N    ] sys-devel/automake-1.9.6-r1
[ebuild  N    ] sys-libs/pam-0.78-r3
[ebuild  N    ] dev-python/python-fchksum-1.7.1
[ebuild  N    ] sys-apps/sandbox-1.2.12
[ebuild  N    ] sys-apps/debianutils-2.14.1-r1
[ebuild  N    ] sys-apps/portage-2.0.51.22-r3
*** Please update portage to the above version before proceeding.
    Failure to do so may result in failed or improper merges.
    A simple 'emerge -u portage' is sufficient.

[ebuild  N    ] sys-apps/shadow-4.0.7-r4
[ebuild  N    ] sys-apps/pam-login-3.17
[ebuild  N    ] sys-libs/com_err-1.38
[ebuild  N    ] sys-libs/ss-1.38
[ebuild  N    ] sys-fs/e2fsprogs-1.38
[ebuild  N    ] app-crypt/hashalot-0.3
[ebuild  N    ] sys-apps/util-linux-2.12r
[ebuild  N    ] media-libs/libpng-1.2.8
[ebuild  N    ] app-arch/bzip2-1.0.3-r5
[ebuild  N    ] x11-base/opengl-update-2.2.1
[ebuild  N    ] sys-devel/libtool-1.5.20
[ebuild  N    ] media-libs/freetype-2.1.9-r1
[ebuild  N    ] x11-misc/ttmkfdir-3.0.9-r3
[ebuild  N    ] dev-libs/expat-1.95.8
[ebuild  N    ] media-libs/fontconfig-2.2.3
[ebuild  N    ] x11-base/xorg-x11-6.8.2-r4
[ebuild  N    ] dev-lang/tk-8.4.9
[ebuild  N    ] dev-lang/python-2.4.2
[ebuild  N    ] sys-apps/file-4.13
[ebuild  N    ] sys-apps/which-2.16
[ebuild  N    ] app-arch/cpio-2.6-r4
[ebuild  N    ] app-arch/rpm2targz-9.0-r3
[ebuild  N    ] sys-apps/utempter-0.5.5.6
[ebuild  N    ] x11-terms/xterm-204

qualcuno sa suggerirmi da che pacchetti python dipende cosi tanto da generare un bel segmentation fault all'avvio?
_________________
D Per fare il SysAdmin e' necessario conoscere Unix/Linux e disprezzare Windows?
R Se ti interessa lavorare in ambiente Unix/Linux dovrai averne un minimo di conoscenza, quando acquisisci tale conoscenza la seconda parte arriva da sola.
Back to top
View user's profile Send private message
kaosone
Guru
Guru


Joined: 01 Feb 2004
Posts: 446

PostPosted: Wed Nov 09, 2005 8:06 am    Post subject: Reply with quote

strace python
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Nov 09, 2005 8:29 am    Post subject: Reply with quote

Code:

lyra iris # cat /var/db/pkg/dev-lang/python-2.4.2/DEPEND
>=sys-libs/zlib-1.1.3
        !dev-python/cjkcodecs
        !build? (
                X? ( tcltk? ( >=dev-lang/tk-8.0 ) )
                ncurses? ( >=sys-libs/ncurses-5.2 readline? ( >=sys-libs/readline-4.1 ) )
                berkdb? ( >=sys-libs/db-3.1 )
                gdbm? ( sys-libs/gdbm )
                ssl? ( dev-libs/openssl )
                doc? ( =dev-python/python-docs-2.4.2* )
                dev-libs/expat
        )  !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch )



se vuoi ti preparo un pkg di python..
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Wed Nov 09, 2005 10:29 am    Post subject: Reply with quote

Io quando ho distrutto python l'ho ricompilato dal sorgente, con configure make e make install ponendo attenzione al fatto che lui utilizza di default come prefix /usr/local, mentre gentoo usa /usr
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
ema
Guru
Guru


Joined: 27 Aug 2003
Posts: 380

PostPosted: Thu Nov 10, 2005 7:03 pm    Post subject: Reply with quote

grazie a tutti, sono riuscito a risolvere!
come?
beh, ho chrootato nel server in un ambiente di test, mi sono fatto i primi passi di gentoo per l'installazione e ho copiato a mano i files... 15 minuti circa.
Brutale, ma efficace! :wink:
_________________
D Per fare il SysAdmin e' necessario conoscere Unix/Linux e disprezzare Windows?
R Se ti interessa lavorare in ambiente Unix/Linux dovrai averne un minimo di conoscenza, quando acquisisci tale conoscenza la seconda parte arriva da sola.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum