Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problema ao compilar PyCrypto
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
oandarilho01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2005
Posts: 132
Location: Rio de Janeiro/RJ - Brasil

PostPosted: Tue Jul 04, 2006 2:52 pm    Post subject: Problema ao compilar PyCrypto Reply with quote

Saudações a todos.. estive segundo o tutorial de atualizaçãod o sistema de gerenciamento do Java, mas encontrei problemas para compilar o pacote pycrypto-2.0.1-r5
O problema é o seguinte:

Code:
[Yes/No] gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1


Alguma idéia? Eu devo ter bagunçado o gcc ou algo do tipo..........

Grato pela atenção..
Back to top
View user's profile Send private message
MetalGod
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 816
Location: Portugal

PostPosted: Tue Jul 04, 2006 7:02 pm    Post subject: Reply with quote

posta o emerge --info e e' aconselhado usar o eselect compiler em vez do gcc-config agora.
_________________
ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice
Back to top
View user's profile Send private message
oandarilho01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2005
Posts: 132
Location: Rio de Janeiro/RJ - Brasil

PostPosted: Tue Jul 04, 2006 7:07 pm    Post subject: Reply with quote

Code:
# emerge --info
Portage 2.0.54-r2 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.3.5, 1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pt_BR"
LC_ALL="pt_BR.UTF-8"
LINGUAS="pt_BR"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cli crypt cups curl dlloader dri eds emboss encode expat fam foomaticdb fortran gdbm gif gmp gpm gstreamer gtk gtk2 idn imlib ipv6 isdnlog java jpeg junit kde lcms libg++ libwww mad mikmod mmx mng motif mp3 mpeg ncurses nls ogg openal opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis xml xml2 xmms xorg xv zlib input_devices_keyboard input_devices_mouse input_devices_evdev linguas_pt_BR userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
MetalGod
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 816
Location: Portugal

PostPosted: Wed Jul 05, 2006 12:30 am    Post subject: Reply with quote

porque e' que eu tenho a sensaçao que mudaste o chost ? senao mudaste experimenta usar o eselect compiler... pode ser que te resolva isso.
Parece que tens tambem um sistema desactualizado.
_________________
ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice
Back to top
View user's profile Send private message
oandarilho01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2005
Posts: 132
Location: Rio de Janeiro/RJ - Brasil

PostPosted: Wed Jul 05, 2006 11:26 am    Post subject: Reply with quote

Não, não alterei o CHOST. Isso já verifiquei. Eis meu make.conf:

Code:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
USE="3dnow alsa -gnome gtk gtk2 kde mmx oss qt ssl unicode userlocales X"
LINGUAS="pt_BR"
#PORTAGE_BINHOST="https://chinstrap.alternating.net/files/2005.1/grp/i686/"
PORTAGE_BINHOST="https://e.ututo.org.ar/athlon-xp/"
#PKGDIR="pkgbin/"


Todavia, o que te fez pensar que meu sistema está desatualizado? Qual linha no emerge --info te denunciou isso?
Back to top
View user's profile Send private message
MetalGod
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 816
Location: Portugal

PostPosted: Wed Jul 05, 2006 11:57 am    Post subject: Reply with quote

usas um profile muito antigo, portage antigo etc...
_________________
ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice
Back to top
View user's profile Send private message
oandarilho01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2005
Posts: 132
Location: Rio de Janeiro/RJ - Brasil

PostPosted: Wed Jul 05, 2006 12:17 pm    Post subject: Reply with quote

Certo.. percebo.. de qualquer forma Graças a Deus meu problema foi resolvido..

Fiz um downgrade do gcc para versão 3.4.5, e também re-compilei binutils e glibc de acordo com uma sugestão no fórum em inglês..
Por último, atualizei meu python
E finalmente consegui compilar o pycrypto com sucesso. E por consegüinte, atualizei o portage para a versão 2.1-r1, pois o mesmo também estava atravancado.

Agradeço a atenção..
Back to top
View user's profile Send private message
MetalGod
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 816
Location: Portugal

PostPosted: Wed Jul 05, 2006 6:10 pm    Post subject: Reply with quote

aconselho-te tambem a actualizares o profile
_________________
ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice
Back to top
View user's profile Send private message
oandarilho01
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2005
Posts: 132
Location: Rio de Janeiro/RJ - Brasil

PostPosted: Wed Jul 05, 2006 6:25 pm    Post subject: Reply with quote

Certo.. eu peguei o Guia de atualizações do Gentoo em http://www.gentoo.org/doc/pt_br/gentoo-upgrading.xml e vou dar uma olhada nele. Mais uma vez: Há algum lugar ali no emerge --info que denuncie eu estar usando uma versão desatualizada? Dei uma olhada mas não percebi nada.. Todavia estou a rodar o Gentoo 2006.0

Em tempo: alguma dica sobre a atualização do profile? Para que fique mais prático para qualquer pessoa que passe por aqui..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese 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