Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147787 - error compiling dev-python/pycrypto-2.0.1-r5
Summary: error compiling dev-python/pycrypto-2.0.1-r5
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-16 03:08 UTC by Ivan Borisov
Modified: 2006-09-17 22:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Borisov 2006-09-16 03:08:55 UTC
Portage 2.0.54-r2 (default-linux/x86/2006.1/server, gcc-3.4.6, glibc-2.4-r3, 2.6.12-gentoo-r6kino-mir i586)   
=================================================================                                             
System uname: 2.6.12-gentoo-r6kino-mir i586 Pentium MMX                                                       
Gentoo Base System version 1.6.14                                                                             
app-admin/eselect-compiler: [Not Present]                                                                     
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                                                                                   
sys-devel/gcc-config: 1.3.13-r2                                                                               
sys-devel/libtool:   1.5.22                                                                                   
virtual/os-headers:  2.6.11-r2                                                                                
ACCEPT_KEYWORDS="x86"                                                                                         
AUTOCLEAN="yes"                                                                                               
CBUILD="i586-pc-linux-gnu"                                                                                    
CFLAGS="-O2 -mtune=i586 -march=pentium-mmx -pipe"                                                             
CHOST="i586-pc-linux-gnu"                                                                                     
CONFIG_PROTECT="/etc /var/bind"                                                                               
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"                                 
CXXFLAGS="-O2 -mtune=i586 -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="ru_RU.KOI8-R"                                                                                           
LC_ALL=""                                                                                                     
MAKEOPTS="-j2"                                                                                                
PKGDIR="/usr/portage/packages"                                                                                
PORTAGE_TMPDIR="/var/tmp"                                                                                     
PORTDIR="/usr/portage"                                                                                        
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                
USE="x86 acl alsa apache2 asterisk berkdb bitmap-fonts bzip2 cli crypt cups curl dlloader dri expat fortran fr
eetds gd gdbm gmp gpm icq innodb isdnlog jpeg ldap libclamav libg++ logrotate mad maildir mailwrapper mmx mysq
l ncurses nls nptl nptlonly oav ogg pam pcre perl php png ppds pppd python readline reflection samba session s
nmp sockets socks5 spl ssl symlink tcpd truetype truetype-fonts type1-fonts udev unicode userlocales vorbis wi
nbind xml xml2 xorg zlib video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus 
video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 vide
o_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards
_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis vid
eo_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_c
ards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo input_devices_keyboard input_d
evices_mouse input_devices_evdev userland_GNU kernel_linux elibc_glibc"                                       
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY



When I compile dev-python/pycrypto-2.0.1-r5, i'v got next message:

copying ./PublicKey/ElGamal.py -> build/lib.linux-i586-2.4/Crypto/PublicKey                                   
running build_ext                                                                                             
building 'Crypto.Hash.MD2' extension                                                                          
creating build/temp.linux-i586-2.4                                                                            
creating build/temp.linux-i586-2.4/src                                                                        
i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -mtune=i586 -march=pentium-mmx -pipe -fPIC -I
src/ -I/usr/include/python2.4 -c src/MD2.c -o build/temp.linux-i586-2.4/src/MD2.o                             
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"                                                
error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1                                              
                                                                                                              
!!! ERROR: dev-python/pycrypto-2.0.1-r5 failed.                                                               
!!! Function distutils_src_compile, Line 38, Exitcode 1                                                       
!!! compilation failed                                                                                        
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-16 03:32:59 UTC
Eh, you can't just change CHOST and expect things to work. Go read the draft howto in Bug 147502.
Comment 2 Ivan Borisov 2006-09-17 22:49:57 UTC
I have Intel Pentium 233 CPU.
What I must write in CHOST, CBUILD, CFLAGS?