Advertisement
Guest User

Untitled

a guest
Jan 25th, 2013
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 30.42 KB | None | 0 0
  1. Recently I've done `emerege -e world` and then found that `gcc` was compiled without `cxx` flag. Now I can't compile any C++ package due to
  2.  
  3.     configure: error: C++ preprocessor "/lib/cpp" fails sanity check
  4.  
  5. I'm thinking on copying files returned by `equery f gcc|grep -v share
  6. ` from stage3. Will it help? Is there any simpler way?
  7.  
  8. Here's `config.log`
  9.         uhradio ~ # cat /var/tmp/portage/dev-util/gperf-3.0.4/work/gperf-3.0.4/config.log                                                                                                                                                      
  10.         This file contains any messages produced by compilers while                                                                                                                                                                            
  11.         running configure, to aid debugging if configure makes a mistake.                                                                                                                                                                      
  12.                                                                                                                                                                                                                                                
  13.         It was created by configure, which was                                                                                                                                                                                                
  14.         generated by GNU Autoconf 2.61.  Invocation command line was                                                                                                                                                                          
  15.                                                                                                                                                                                                                                                
  16.         $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64              
  17.                                                                                                                                                                                                                                                
  18.         ## --------- ##                                                                                                                                                                                                                        
  19.         ## Platform. ##                                                                                                                                                                                                                        
  20.         ## --------- ##                                                                                                                                                                                                                        
  21.                                                                                                                                                                                                                                                
  22.         hostname = uhradio                                                                                                                                                                                                                    
  23.         uname -m = x86_64                                                                                                                                                                                                                      
  24.         uname -r = 3.6.11-gentoo                                                                                                                                                                                                              
  25.         uname -s = Linux                                                                                                                                                                                                                      
  26.         uname -v = #2 SMP Thu Jan 24 08:55:22 Local time zone must be set--see zic                                                                                                                                                            
  27.                                                                                                                                                                                                                                                
  28.         /usr/bin/uname -p = Intel(R) Xeon(R) CPU X3360 @ 2.83GHz                                                                                                                                                                              
  29.         /bin/uname -X     = unknown                                                                                                                                                                                                            
  30.                                                                                                                                                                                                                                                
  31.         /bin/arch              = unknown                                                                                                                                                                                                      
  32.         /usr/bin/arch -k       = unknown                                                                                                                                                                                                      
  33.         /usr/convex/getsysinfo = unknown                                                                                                                                                                                                      
  34.         /usr/bin/hostinfo      = unknown                                                                                                                                                                                                      
  35.         /bin/machine           = unknown                                                                                                                                                                                                      
  36.         /usr/bin/oslevel       = unknown                                                                                                                                                                                                      
  37.         /bin/universe          = unknown                                                                                                                                                                                                      
  38.                                                                                                                                                                                                                                                
  39.         PATH: /usr/lib64/ccache/bin                                                                                                                                                                                                            
  40.         PATH: /usr/lib64/portage/bin/ebuild-helpers                                                                                                                                                                                            
  41.         PATH: /usr/local/sbin                                                                                                                                                                                                                  
  42.         PATH: /usr/local/bin                                                                                                                                                                                                                  
  43.         PATH: /usr/sbin                                                                                                                                                                                                                        
  44.         PATH: /usr/bin                                                                                                                                                                                                                        
  45.         PATH: /sbin                                                                                                                                                                                                                            
  46.         PATH: /bin                                                                                                                                                                                                                            
  47.         PATH: /opt/bin                                                                                                                                                                                                                        
  48.         PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3                                                                                                                                                                                          
  49.                                                                                                                                                                                                                                                
  50.                                                                                                                                                                                                                                                
  51.         ## ----------- ##                                                                                                                                                                                                                      
  52.         ## Core tests. ##                                                                                                                                                                                                                      
  53.         ## ----------- ##                                                                                                                                                                                                                      
  54.                                                                                                                                                                                                                                                
  55.         configure:1609: checking whether make sets $(MAKE)                                                                                                                                                                                    
  56.         configure:1630: result: yes                                                                                                                                                                                                            
  57.         configure:1797: creating ./config.status                                                                                                                                                                                              
  58.                                                                                                                                                                                                                                                
  59.         ## ---------------------- ##                                                                                                                                                                                                          
  60.         ## Running config.status. ##                                                                                                                                                                                                          
  61.         ## ---------------------- ##                                                                                                                                                                                                          
  62.                                                                                                                                                                                                                                                
  63.         This file was extended by config.status, which was                                                                                                                                                                                    
  64.         generated by GNU Autoconf 2.61.  Invocation command line was                                                                                                                                                                          
  65.                                                                                                                                                                                                                                                
  66.         CONFIG_FILES    =                                                                                                                                                                                                                      
  67.         CONFIG_HEADERS  =                                                                                                                                                                                                                      
  68.         CONFIG_LINKS    =                                                                                                                                                                                                                      
  69.         CONFIG_COMMANDS =                                                                                                                                                                                                                      
  70.         $ ./config.status                                                                                                                                                                                                                      
  71.                                                                                                                                                                                                                                                
  72.         on uhradio                                                                                                                                                                                                                            
  73.                                                                                                                                                                                                                                                
  74.         config.status:566: creating Makefile                                                                                                                                                                                                  
  75.         configure:2728: === configuring in lib (/var/tmp/portage/dev-util/gperf-3.0.4/work/gperf-3.0.4/lib)                                                                                                                                    
  76.         configure:2831: running /bin/sh ./configure '--prefix=/usr'  '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstate dir=/var/lib' '--libdir=/usr/lib64' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' --cache-file=/dev/null --srcdir=.                                                                                                      
  77.         configure:2836: error: ./configure failed for lib    
  78.         ## ---------------- ##                                                                                                                                                                                                                
  79.         ## Cache variables. ##                                                                                                                                                                                                                
  80.         ## ---------------- ##                                                                                                                                                                                                                
  81.                                                                                                                                                                                                                                                
  82.         ac_cv_env_build_alias_set=set                                                                                                                                                                                                          
  83.         ac_cv_env_build_alias_value=x86_64-pc-linux-gnu                                                                                                                                                                                        
  84.         ac_cv_env_host_alias_set=set                                                                                                                                                                                                          
  85.         ac_cv_env_host_alias_value=x86_64-pc-linux-gnu                                                                                                                                                                                        
  86.         ac_cv_env_target_alias_set=                                                                                                                                                                                                            
  87.         ac_cv_env_target_alias_value=                                                                                                                                                                                                          
  88.         ac_cv_prog_make_make_set=yes                                                                                                                                                                                                          
  89.                                                                                                                                                                                                                                                
  90.         ## ----------------- ##                                                                                                                                                                                                                
  91.         ## Output variables. ##                                                                                                                                                                                                                
  92.         ## ----------------- ##                                                                                                                                                                                                                
  93.                                                                                                                                                                                                                                                
  94.         DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"'                                                                                                                
  95.         ECHO_C=''                                                                                                                                                                                                                              
  96.         ECHO_N='-n'                                                                                                                                                                                                                            
  97.         ECHO_T=''                                                                                                                                                                                                                              
  98.         LIBOBJS=''                                                                                                                                                                                                                            
  99.         LIBS=''                                                                                                                                                                                                                                
  100.         LTLIBOBJS=''                                                                                                                                                                                                                          
  101.         PACKAGE_BUGREPORT=''                                                                                                                                                                                                                  
  102.         PACKAGE_NAME=''                                                                                                                                                                                                                        
  103.         PACKAGE_STRING=''                                                                                                                                                                                                                      
  104.         PACKAGE_TARNAME=''                                                                                                                                                                                                                    
  105.         PACKAGE_VERSION=''                                                                                                                                                                                                                    
  106.         PATH_SEPARATOR=':'                                                                                                                                                                                                                    
  107.         SET_MAKE=''                                                                                                                                                                                                                            
  108.         SHELL='/bin/sh'                                                                                                                                                                                                                        
  109.         bindir='${exec_prefix}/bin'                                                                                                                                                                                                            
  110.         build_alias='x86_64-pc-linux-gnu'                                                                                                                                                                                                      
  111.         datadir='/usr/share'                                                                                                                                                                                                                  
  112.         datarootdir='${prefix}/share'                                                                                                                                                                                                          
  113.         docdir='${datarootdir}/doc/${PACKAGE}'                                                                                                                                                                                                
  114.         dvidir='${docdir}'                                                                                                                                                                                                                    
  115.         exec_prefix='${prefix}'                                                                                                                                                                                                                
  116.         host_alias='x86_64-pc-linux-gnu'                                                                                                                                                                                                      
  117.         htmldir='${docdir}'                                                                                                                                                                                                                    
  118.         includedir='${prefix}/include'                                                                                                                                                                                                        
  119.         infodir='/usr/share/info'                                                                                                                                                                                                              
  120.         libdir='/usr/lib64'                                                                                                                                                                                                                    
  121.         libexecdir='${exec_prefix}/libexec'                                                                                                                                                                                                    
  122.         localedir='${datarootdir}/locale'                                                                                                                                                                                                      
  123.         localstatedir='/var/lib'                                                                                                                                                                                                              
  124.         mandir='/usr/share/man'                                                                                                                                                                                                                
  125.         oldincludedir='/usr/include'                                                                                                                                                                                                          
  126.         pdfdir='${docdir}'                                                                                                                                                                                                                    
  127.         prefix='/usr'                                                                                                                                                                                                                          
  128.         program_transform_name='s,x,x,'                                                                                                                                                                                                        
  129.         psdir='${docdir}'                                                                                                                                                                                                                      
  130.         sbindir='${exec_prefix}/sbin'                                                                                                                                                                                                          
  131.         sharedstatedir='${prefix}/com'                                                                                                                                                                                                        
  132.                                                                                                                                                                                                                                                
  133.         subdirs=' lib src tests doc'                                                                                                                                                                                                          
  134.         sysconfdir='/etc'                                                                                                                                                                                                                      
  135.         target_alias=''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement