leancloud / satori

Satori 是一个 LeanCloud 维护的监控系统,inspired by Open-Falcon
Apache License 2.0
232 stars 76 forks source link

执行了install,输出有点错误 #36

Closed xingzheone closed 6 years ago

xingzheone commented 6 years ago

现在nginx访问页面打得开.似乎安装好了.

Got pyaml 17.8.0.                                                                                                                                                     
Getting distribution for 'redis'.                                                                                                                                     
warning: no previously-included files found matching '__pycache__'                                                                                                    
warning: no previously-included files matching '*.pyc' found under directory 'tests'                                                                                  
zip_safe flag not set; analyzing archive contents...                                                                                                                  
Got redis 2.10.6.                                                                                                                                                     
Getting distribution for 'gevent'.                                                                                                                                    
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'cffi_modules'                                                                    
  warnings.warn(msg)                                                                                                                                                  
warning: no files found matching 'changelog.rst'                                                                                                                      
warning: no files found matching 'known_failures.py'                                                                                                                  
warning: no files found matching '.pep8'                                                                                                                              
no previously-included directories found matching '*/__pycache__'                                                                                                     
warning: no previously-included files matching '*.so' found anywhere in distribution                                                                                  
warning: no previously-included files matching '*.o' found anywhere in distribution                                                                                   
warning: no previously-included files matching '*.lo' found anywhere in distribution                                                                                  
warning: no previously-included files matching '*.la' found anywhere in distribution                                                                                  
warning: no previously-included files matching 'config.log' found anywhere in distribution                                                                            
warning: no previously-included files matching 'config.status' found anywhere in distribution                                                                         
no previously-included directories found matching 'doc/_build'                                                                                                        
warning: no previously-included files matching '*.pyc' found anywhere in distribution                                                                                 
warning: no previously-included files matching '.coverage' found under directory 'src/greentest'                                                                      
no previously-included directories found matching 'src/greentest/htmlcov'                                                                                             
warning: no previously-included files matching 'stamp-h?' found under directory 'deps/c-ares'                                                                         
warning: no previously-included files matching 'ares_build.h.orig' found under directory 'deps/c-ares'                                                                
no previously-included directories found matching 'deps/libev/.deps'                                                                                                  
warning: no previously-included files matching 'Makefile' found under directory 'deps/libev'                                                                          
warning: no previously-included files matching 'libtool' found under directory 'deps/libev'                                                                           
warning: no previously-included files matching 'stamp-h?' found under directory 'deps/libev'                                                                          
warning: no previously-included files matching 'config.h' found under directory 'deps/libev'                                                                          
warning: no previously-included files matching '_corecffi.c' found under directory 'src/gevent'                                                                       
warning: no previously-included files found matching 'Makefile'                                                                                                       
warning: no previously-included files found matching 'configure-output'                                                                                               
./configure: line 6318: /usr/bin/file: No such file or directory                                                                                                      
In file included from src/gevent/libev/libev.h:2:0,                                                                                                                   
                 from src/gevent/libev/gevent.corecext.c:434:                                                                                                         
/tmp/easy_install-EuLTIE/gevent-1.2.2/deps/libev/ev.c:483:48: warning: "/*" within comment [-Wcomment]                                                                
 /*#define MIN_INTERVAL  0.00000095367431640625 /* 1/2**20, good till 2200 */                                                                                         
 ^                                                                                                                                                                    
In file included from src/gevent/libev/libev.h:2:0,                                                                                                                   
                 from src/gevent/libev/gevent.corecext.c:434:                                                                                                         
/tmp/easy_install-EuLTIE/gevent-1.2.2/deps/libev/ev.c:1831:31: warning: ‘ev_default_loop_ptr’ initialized and declared ‘extern’                                       
   EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */                                          
                               ^                                                                                                                                      
In file included from src/gevent/libev/libev.h:2:0,                                                                                                                   
                 from src/gevent/libev/gevent.corecext.c:434:                                                                                                         
/tmp/easy_install-EuLTIE/gevent-1.2.2/deps/libev/ev.c: In function ‘ev_io_start’:                                                                                     
/tmp/easy_install-EuLTIE/gevent-1.2.2/deps/libev/ev.c:3878:34: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]                       
   fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);                                                                                                     
                                  ^                                                                                                                                   
/tmp/easy_install-EuLTIE/gevent-1.2.2/deps/libev/ev.c: At top level:                                                                                                  
/tmp/easy_install-EuLTIE/gevent-1.2.2/deps/libev/ev.c:5135:27: warning: "/*" within comment [-Wcomment]                                                               
 /* EV_STAT     0x00001000 /* stat data changed */                                                                                                                    
 ^                                                                                                                                                                    
/tmp/easy_install-EuLTIE/gevent-1.2.2/deps/libev/ev.c:5136:27: warning: "/*" within comment [-Wcomment]                                                               
 /* EV_EMBED    0x00010000 /* embedded event loop needs sweep */                                                                                                      
 ^                                                                                                                                                                    
In file included from src/gevent/libev/libev.h:2:0,                                                                                                                   
                 from src/gevent/libev/gevent.corecext.c:434:                                                                                                         
/tmp/easy_install-EuLTIE/gevent-1.2.2/deps/libev/ev.c: In function ‘evpipe_write’:                                                                                    
/tmp/easy_install-EuLTIE/gevent-1.2.2/deps/libev/ev.c:2468:11: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-resul  
t]                                                                                                                                                                    
           write (evpipe [1], &counter, sizeof (uint64_t));                                                                                                           
           ^                                                                                                                                                          
/tmp/easy_install-EuLTIE/gevent-1.2.2/deps/libev/ev.c:2480:11: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-resul  
t]                                                                                                                                                                    
           write (evpipe [1], &(evpipe [1]), 1);                                                                                                                      
           ^                                                                                                                                                          
/tmp/easy_install-EuLTIE/gevent-1.2.2/deps/libev/ev.c: In function ‘pipecb’:                                                                                          
/tmp/easy_install-EuLTIE/gevent-1.2.2/deps/libev/ev.c:2501:11: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result  
]                                                                                                                                                                     
           read (evpipe [1], &counter, sizeof (uint64_t));                                                                                                            
           ^                                                                                                                                                          
/tmp/easy_install-EuLTIE/gevent-1.2.2/deps/libev/ev.c:2515:11: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result  
]                                                                                                                                                                     
           read (evpipe [0], &dummy, sizeof (dummy));                                                                                                                 
           ^                                                                                                                                                          
./configure: line 10001: /usr/bin/file: No such file or directory                                                                                                     
In file included from src/gevent/gevent.ares.c:435:0:                                                                                                                 
src/gevent/dnshelper.c:19:0: warning: "PyUnicode_FromString" redefined                                                                                                
   #define PyUnicode_FromString         PyBytes_FromString                                                                                                            
 ^                                                                                                                                                                    
In file included from /usr/include/python2.7/Python.h:85:0,                                                                                                           
                 from src/gevent/gevent.ares.c:4:                                                                                                                     
/usr/include/python2.7/unicodeobject.h:281:0: note: this is the location of the previous definition                                                                   
 # define PyUnicode_FromString PyUnicodeUCS4_FromString                                                                                                               
 ^                                                                                                                                                                    
  File "build/bdist.linux-x86_64/egg/gevent/_socket3.py", line 195                                                                                                    
    def makefile(self, mode="r", buffering=None, *,                                                                                                                   
                                                  ^                                                                                                                   
SyntaxError: invalid syntax                                                                                                                                           

  File "/alarm/eggs/tmpNL6jem/gevent-1.2.2-py2.7-linux-x86_64.egg/gevent/_socket3.py", line 195                                                                       
    def makefile(self, mode="r", buffering=None, *,                                                                                                                   
                                                  ^                                                                                                                   
SyntaxError: invalid syntax                                                                                                                                           

Running '(cd  "/tmp/easy_install-EuLTIE/gevent-1.2.2/deps/libev"  && sh ./configure   && cp config.h "$OLDPWD" ) > configure-output.txt' in /tmp/easy_install-EuLTIE/g
event-1.2.2/build/temp.linux-x86_64-2.7/libev                                                                                                                         
Running '(cd  "/tmp/easy_install-EuLTIE/gevent-1.2.2/deps/c-ares"  && if [ -r ares_build.h ]; then cp ares_build.h ares_build.h.orig; fi   && sh ./configure --disable
-dependency-tracking CONFIG_COMMANDS=   && cp ares_config.h ares_build.h "$OLDPWD"   && mv ares_build.h.orig ares_build.h) > configure-output.txt' in /tmp/easy_instal
l-EuLTIE/gevent-1.2.2/build/temp.linux-x86_64-2.7/c-ares                                                                                                              
Got gevent 1.2.2.                                                                                                                                                     
Getting distribution for 'bottle'.                                                                                                                                    
warning: no files found matching 'LICENSE.txt'                                                                                                                        
zip_safe flag not set; analyzing archive contents...                                                                                                                  
bottle: module references __file__                                                                                                                                    
bottle: module references __path__                                                                                                                                    
Got bottle 0.12.13.                                                                                                                                                   
Getting distribution for 'certifi'.                                                                                                                                   
/usr/local/lib/python2.7/dist-packages/setuptools/dist.py:351: UserWarning: Normalizing '2017.07.27.1' to '2017.7.27.1'                                               
  normalized_version,                                                                                                                                                 
Got certifi 2017.7.27.1.                                                                                                                                              
Getting distribution for 'future>=0.16.0'.                                                                                                                            
warning: no files found matching '*.au' under directory 'tests'                                                                                                       
warning: no files found matching '*.gif' under directory 'tests'                                                                                                      
warning: no files found matching '*.txt' under directory 'tests'                                                                                                      
zip_safe flag not set; analyzing archive contents...                                                                                                                  
future.backports.test.ssl_servers: module references __file__                                                                                                         
future.backports.test.support: module references __file__                                                                                                             
future.standard_library.__init__: module references __file__                                                                                                          
future.standard_library.__init__: module references __path__                                                                                                          
future.utils.__init__: module MAY be using inspect.stack                                                                                                              
past.builtins.misc: module MAY be using inspect.stack                                                                                                                 
past.translation.__init__: module references __file__                                                                                                                 
past.translation.__init__: module references __path__                                                                                                                 
Got future 0.16.0.                                                                                                                                                    
Getting distribution for 'contextlib2'.                                                                                                                               
zip_safe flag not set; analyzing archive contents...                                                                                                                  
Got contextlib2 0.5.5.                                                                                                                                                
Getting distribution for 'urllib3<1.23,>=1.21.1'.                                                                                                                     
warning: no previously-included files matching '*' found under directory 'docs/_build'                                                                                
zip_safe flag not set; analyzing archive contents...                                                                                                                  
urllib3.packages.six: module references __path__                                                                                                                      
Got urllib3 1.22.                                                                                                                                                     
Getting distribution for 'idna<2.7,>=2.5'.                                                                                                                            
warning: no previously-included files matching '*.pyc' found under directory 'tools'                                                                                  
warning: no previously-included files matching '*.pyc' found under directory 'tests'                                                                                  
zip_safe flag not set; analyzing archive contents...                                                                                                                  
Got idna 2.6.                                                                                                                                                         
Getting distribution for 'chardet<3.1.0,>=3.0.2'.                                                                                                                     
warning: no files found matching 'requirements.txt'                                                                                                                   
zip_safe flag not set; analyzing archive contents...                                                                                                                  
Got chardet 3.0.4.                                                                                                                                                    
Getting distribution for 'PyYAML'.                                                                                                                                    
build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h: No such file or directory                                                                      
 #include <yaml.h>                                                                                                                                                    
                  ^                                                                                                                                                   
compilation terminated.                                                                                                                                               

libyaml is not found or a compiler error: forcing --without-libyaml                                                                                                   
(if libyaml is installed correctly, you may need to                                                                                                                   
 specify the option --include-dirs or uncomment and                                                                                                                   
 modify the parameter include_dirs in setup.cfg)                                                                                                                      
zip_safe flag not set; analyzing archive contents...                                                                                                                  
Got PyYAML 3.12.                                                                                                                                                      
Getting distribution for 'greenlet>=0.4.10'.                                                                                                                          
feisuzhu commented 6 years ago

这一些编译错误不影响正常使用的,一个是跟 python3 有关的,python2 的模块是能编译成功的。 另一个是加速 yaml 解析用的,编译失败之后会使用纯 python 方式解析。