i have done it .  thks for your help!

before install:
yum install openssl OpenSSL-devel openssl-devel  
yum -y  install epel-release
yum -y update bash
yum -y install gcc
yum -y install gcc-c++
yum install -y libffi-devel


wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
rpm -ivh mysql-community-release-el7-5.noarch.rpm
chown -R openscanner:openscanner /var/lib/mysql

yum -y install mysql
yum -y install mysql-server
yum -y install MySQL-python
yum -y install mysql-devel
pip install mysql-devel

yum -y install python-setuptools
yum -y install python-devel
yum -y install httpd
yum -y install mod_wsgi
yum -y install memcached
yum -y install patch
yum -y install zlib-devel
yum -y install libjpeg-turbo-devel


easy_install ReviewBoard-2.5.6-py2.7.egg


在 2016年7月15日星期五 UTC+8下午8:10:57,Stephen Gallagher写道:
>
> On CentOS 7, you will have a much easier time if you follow the 
> instructions at 
> https://www.reviewboard.org/docs/manual/dev/admin/installation/linux/#if-you-re-running-centos-red-hat-etc
>
> On Thu, Jul 14, 2016 at 11:58 PM Cui Fisher <music...@gmail.com 
> <javascript:>> wrote:
>
>> pip install logs
>>
>>
>>
>>     In file included from /usr/include/stdint.h:25:0,
>>                      from 
>> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h:9,
>>                      from src/RIPEMD160.c:48:
>>     /usr/include/features.h:168:0: note: this is the location of the 
>> previous definition
>>      # define _POSIX_C_SOURCE 200809L
>>      ^
>>     In file included from /usr/include/python2.7/pyconfig.h:6:0,
>>                      from /usr/include/python2.7/Python.h:8,
>>                      from src/RIPEMD160.c:57:
>>     /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" 
>> redefined [enabled by default]
>>      #define _XOPEN_SOURCE 600
>>      ^
>>     In file included from /usr/include/stdint.h:25:0,
>>                      from 
>> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h:9,
>>                      from src/RIPEMD160.c:48:
>>     /usr/include/features.h:170:0: note: this is the location of the 
>> previous definition
>>      # define _XOPEN_SOURCE 700
>>      ^
>>     gcc -pthread -shared -Wl,-z,relro 
>> build/temp.linux-x86_64-2.7/src/RIPEMD160.o -L/usr/lib64 -lpython2.7 -o 
>> build/lib.linux-x86_64-2.7/Crypto/Hash/_RIPEMD160.so
>>     building 'Crypto.Cipher._AES' extension
>>     gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
>> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
>> -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe 
>> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
>> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ 
>> -I/usr/include/python2.7 -c src/AES.c -o 
>> build/temp.linux-x86_64-2.7/src/AES.o
>>     In file included from /usr/include/python2.7/pyconfig.h:6:0,
>>                      from /usr/include/python2.7/Python.h:8,
>>                      from src/AES.c:29:
>>     /usr/include/python2.7/pyconfig-64.h:1182:0: warning: 
>> "_POSIX_C_SOURCE" redefined [enabled by default]
>>      #define _POSIX_C_SOURCE 200112L
>>      ^
>>     In file included from /usr/include/assert.h:36:0,
>>                      from src/AES.c:27:
>>     /usr/include/features.h:168:0: note: this is the location of the 
>> previous definition
>>      # define _POSIX_C_SOURCE 200809L
>>      ^
>>     In file included from /usr/include/python2.7/pyconfig.h:6:0,
>>                      from /usr/include/python2.7/Python.h:8,
>>                      from src/AES.c:29:
>>     /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" 
>> redefined [enabled by default]
>>      #define _XOPEN_SOURCE 600
>>      ^
>>     In file included from /usr/include/assert.h:36:0,
>>                      from src/AES.c:27:
>>     /usr/include/features.h:170:0: note: this is the location of the 
>> previous definition
>>      # define _XOPEN_SOURCE 700
>>      ^
>>     gcc -pthread -shared -Wl,-z,relro 
>> build/temp.linux-x86_64-2.7/src/AES.o -L/usr/lib64 -lpython2.7 -o 
>> build/lib.linux-x86_64-2.7/Crypto/Cipher/_AES.so
>>     building 'Crypto.Cipher._ARC2' extension
>>     gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
>> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
>> -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe 
>> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
>> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ 
>> -I/usr/include/python2.7 -c src/ARC2.c -o 
>> build/temp.linux-x86_64-2.7/src/ARC2.o
>>     In file included from /usr/include/python2.7/pyconfig.h:6:0,
>>                      from /usr/include/python2.7/Python.h:8,
>>                      from src/ARC2.c:45:
>>     /usr/include/python2.7/pyconfig-64.h:1182:0: warning: 
>> "_POSIX_C_SOURCE" redefined [enabled by default]
>>      #define _POSIX_C_SOURCE 200112L
>>      ^
>>     In file included from /usr/include/string.h:25:0,
>>                      from src/ARC2.c:44:
>>     /usr/include/features.h:168:0: note: this is the location of the 
>> previous definition
>>      # define _POSIX_C_SOURCE 200809L
>>      ^
>>     In file included from /usr/include/python2.7/pyconfig.h:6:0,
>>                      from /usr/include/python2.7/Python.h:8,
>>                      from src/ARC2.c:45:
>>     /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" 
>> redefined [enabled by default]
>>      #define _XOPEN_SOURCE 600
>>      ^
>>     In file included from /usr/include/string.h:25:0,
>>                      from src/ARC2.c:44:
>>     /usr/include/features.h:170:0: note: this is the location of the 
>> previous definition
>>      # define _XOPEN_SOURCE 700
>>      ^
>>     gcc -pthread -shared -Wl,-z,relro 
>> build/temp.linux-x86_64-2.7/src/ARC2.o -L/usr/lib64 -lpython2.7 -o 
>> build/lib.linux-x86_64-2.7/Crypto/Cipher/_ARC2.so
>>     building 'Crypto.Cipher._Blowfish' extension
>>     gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
>> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
>> -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe 
>> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
>> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ 
>> -I/usr/include/python2.7 -c src/Blowfish.c -o 
>> build/temp.linux-x86_64-2.7/src/Blowfish.o
>>     In file included from /usr/include/python2.7/pyconfig.h:6:0,
>>                      from /usr/include/python2.7/Python.h:8,
>>                      from src/Blowfish.c:39:
>>     /usr/include/python2.7/pyconfig-64.h:1182:0: warning: 
>> "_POSIX_C_SOURCE" redefined [enabled by default]
>>      #define _POSIX_C_SOURCE 200112L
>>      ^
>>     In file included from /usr/include/stdint.h:25:0,
>>                      from 
>> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h:9,
>>                      from src/Blowfish.c:31:
>>     /usr/include/features.h:168:0: note: this is the location of the 
>> previous definition
>>      # define _POSIX_C_SOURCE 200809L
>>      ^
>>     In file included from /usr/include/python2.7/pyconfig.h:6:0,
>>                      from /usr/include/python2.7/Python.h:8,
>>                      from src/Blowfish.c:39:
>>     /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" 
>> redefined [enabled by default]
>>      #define _XOPEN_SOURCE 600
>>      ^
>>     In file included from /usr/include/stdint.h:25:0,
>>                      from 
>> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h:9,
>>                      from src/Blowfish.c:31:
>>     /usr/include/features.h:170:0: note: this is the location of the 
>> previous definition
>>      # define _XOPEN_SOURCE 700
>>      ^
>>     gcc -pthread -shared -Wl,-z,relro 
>> build/temp.linux-x86_64-2.7/src/Blowfish.o -L/usr/lib64 -lpython2.7 -o 
>> build/lib.linux-x86_64-2.7/Crypto/Cipher/_Blowfish.so
>>     building 'Crypto.Cipher._CAST' extension
>>     gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
>> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
>> -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe 
>> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
>> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ 
>> -I/usr/include/python2.7 -c src/CAST.c -o 
>> build/temp.linux-x86_64-2.7/src/CAST.o
>>     gcc -pthread -shared -Wl,-z,relro 
>> build/temp.linux-x86_64-2.7/src/CAST.o -L/usr/lib64 -lpython2.7 -o 
>> build/lib.linux-x86_64-2.7/Crypto/Cipher/_CAST.so
>>     building 'Crypto.Cipher._DES' extension
>>     gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
>> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
>> -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe 
>> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
>> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ 
>> -Isrc/libtom/ -I/usr/include/python2.7 -c src/DES.c -o 
>> build/temp.linux-x86_64-2.7/src/DES.o
>>     In file included from /usr/include/python2.7/pyconfig.h:6:0,
>>                      from /usr/include/python2.7/Python.h:8,
>>                      from src/DES.c:37:
>>     /usr/include/python2.7/pyconfig-64.h:1182:0: warning: 
>> "_POSIX_C_SOURCE" redefined [enabled by default]
>>      #define _POSIX_C_SOURCE 200112L
>>      ^
>>     In file included from /usr/include/assert.h:36:0,
>>                      from src/libtom/tomcrypt.h:3,
>>                      from src/libtom/tomcrypt_des.c:11,
>>                      from src/DES.c:32:
>>     /usr/include/features.h:168:0: note: this is the location of the 
>> previous definition
>>      # define _POSIX_C_SOURCE 200809L
>>      ^
>>     In file included from /usr/include/python2.7/pyconfig.h:6:0,
>>                      from /usr/include/python2.7/Python.h:8,
>>                      from src/DES.c:37:
>>     /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" 
>> redefined [enabled by default]
>>      #define _XOPEN_SOURCE 600
>>      ^
>>     In file included from /usr/include/assert.h:36:0,
>>                      from src/libtom/tomcrypt.h:3,
>>                      from src/libtom/tomcrypt_des.c:11,
>>                      from src/DES.c:32:
>>     /usr/include/features.h:170:0: note: this is the location of the 
>> previous definition
>>      # define _XOPEN_SOURCE 700
>>      ^
>>     gcc -pthread -shared -Wl,-z,relro 
>> build/temp.linux-x86_64-2.7/src/DES.o -L/usr/lib64 -lpython2.7 -o 
>> build/lib.linux-x86_64-2.7/Crypto/Cipher/_DES.so
>>     building 'Crypto.Cipher._DES3' extension
>>     gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
>> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
>> -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe 
>> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
>> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ 
>> -Isrc/libtom/ -I/usr/include/python2.7 -c src/DES3.c -o 
>> build/temp.linux-x86_64-2.7/src/DES3.o
>>     In file included from /usr/include/python2.7/pyconfig.h:6:0,
>>                      from /usr/include/python2.7/Python.h:8,
>>                      from src/DES.c:37,
>>                      from src/DES3.c:26:
>>     /usr/include/python2.7/pyconfig-64.h:1182:0: warning: 
>> "_POSIX_C_SOURCE" redefined [enabled by default]
>>      #define _POSIX_C_SOURCE 200112L
>>      ^
>>     In file included from /usr/include/assert.h:36:0,
>>                      from src/libtom/tomcrypt.h:3,
>>                      from src/libtom/tomcrypt_des.c:11,
>>                      from src/DES.c:32,
>>                      from src/DES3.c:26:
>>     /usr/include/features.h:168:0: note: this is the location of the 
>> previous definition
>>      # define _POSIX_C_SOURCE 200809L
>>      ^
>>     In file included from /usr/include/python2.7/pyconfig.h:6:0,
>>                      from /usr/include/python2.7/Python.h:8,
>>                      from src/DES.c:37,
>>                      from src/DES3.c:26:
>>     /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" 
>> redefined [enabled by default]
>>      #define _XOPEN_SOURCE 600
>>      ^
>>     In file included from /usr/include/assert.h:36:0,
>>                      from src/libtom/tomcrypt.h:3,
>>                      from src/libtom/tomcrypt_des.c:11,
>>                      from src/DES.c:32,
>>                      from src/DES3.c:26:
>>     /usr/include/features.h:170:0: note: this is the location of the 
>> previous definition
>>      # define _XOPEN_SOURCE 700
>>      ^
>>     gcc -pthread -shared -Wl,-z,relro 
>> build/temp.linux-x86_64-2.7/src/DES3.o -L/usr/lib64 -lpython2.7 -o 
>> build/lib.linux-x86_64-2.7/Crypto/Cipher/_DES3.so
>>     building 'Crypto.Cipher._ARC4' extension
>>     gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
>> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
>> -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe 
>> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
>> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ 
>> -I/usr/include/python2.7 -c src/ARC4.c -o 
>> build/temp.linux-x86_64-2.7/src/ARC4.o
>>     gcc -pthread -shared -Wl,-z,relro 
>> build/temp.linux-x86_64-2.7/src/ARC4.o -L/usr/lib64 -lpython2.7 -o 
>> build/lib.linux-x86_64-2.7/Crypto/Cipher/_ARC4.so
>>     building 'Crypto.Cipher._XOR' extension
>>     gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
>> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
>> -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe 
>> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
>> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ 
>> -I/usr/include/python2.7 -c src/XOR.c -o 
>> build/temp.linux-x86_64-2.7/src/XOR.o
>>     gcc -pthread -shared -Wl,-z,relro 
>> build/temp.linux-x86_64-2.7/src/XOR.o -L/usr/lib64 -lpython2.7 -o 
>> build/lib.linux-x86_64-2.7/Crypto/Cipher/_XOR.so
>>     building 'Crypto.Util.strxor' extension
>>     gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
>> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
>> -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe 
>> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
>> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ 
>> -I/usr/include/python2.7 -c src/strxor.c -o 
>> build/temp.linux-x86_64-2.7/src/strxor.o
>>     gcc -pthread -shared -Wl,-z,relro 
>> build/temp.linux-x86_64-2.7/src/strxor.o -L/usr/lib64 -lpython2.7 -o 
>> build/lib.linux-x86_64-2.7/Crypto/Util/strxor.so
>>     building 'Crypto.Util._counter' extension
>>     gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
>> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
>> -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -pipe 
>> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
>> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ 
>> -I/usr/include/python2.7 -c src/_counter.c -o 
>> build/temp.linux-x86_64-2.7/src/_counter.o
>>     In file included from /usr/include/python2.7/pyconfig.h:6:0,
>>                      from /usr/include/python2.7/Python.h:8,
>>                      from src/_counter.c:28:
>>     /usr/include/python2.7/pyconfig-64.h:1182:0: warning: 
>> "_POSIX_C_SOURCE" redefined [enabled by default]
>>      #define _POSIX_C_SOURCE 200112L
>>      ^
>>     In file included from /usr/include/assert.h:36:0,
>>                      from src/_counter.c:25:
>>     /usr/include/features.h:168:0: note: this is the location of the 
>> previous definition
>>      # define _POSIX_C_SOURCE 200809L
>>      ^
>>     In file included from /usr/include/python2.7/pyconfig.h:6:0,
>>                      from /usr/include/python2.7/Python.h:8,
>>                      from src/_counter.c:28:
>>     /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" 
>> redefined [enabled by default]
>>      #define _XOPEN_SOURCE 600
>>      ^
>>     In file included from /usr/include/assert.h:36:0,
>>                      from src/_counter.c:25:
>>     /usr/include/features.h:170:0: note: this is the location of the 
>> previous definition
>>      # define _XOPEN_SOURCE 700
>>      ^
>>     gcc -pthread -shared -Wl,-z,relro 
>> build/temp.linux-x86_64-2.7/src/_counter.o -L/usr/lib64 -lpython2.7 -o 
>> build/lib.linux-x86_64-2.7/Crypto/Util/_counter.so
>>     
>>   Running setup.py install for cryptography
>>     
>>     Installed 
>> /tmp/pip_build_root/cryptography/cffi-1.7.0-py2.7-linux-x86_64.egg
>>     Searching for pycparser
>>     Reading https://pypi.python.org/simple/pycparser/
>>     Best match: pycparser 2.14
>>     Downloading 
>> https://pypi.python.org/packages/6d/31/666614af3db0acf377876d48688c5d334b6e493b96d21aa7d332169bee50/pycparser-2.14.tar.gz#md5=a2bc8d28c923b4fe2b2c3b4b51a4f935
>>     Processing pycparser-2.14.tar.gz
>>     Writing /tmp/easy_install-4X48pH/pycparser-2.14/setup.cfg
>>     Running pycparser-2.14/setup.py -q bdist_egg --dist-dir 
>> /tmp/easy_install-4X48pH/pycparser-2.14/egg-dist-tmp-xIcsuf
>>     warning: no previously-included files matching 'yacctab.*' found 
>> under directory 'tests'
>>     warning: no previously-included files matching 'lextab.*' found under 
>> directory 'tests'
>>     warning: no previously-included files matching 'yacctab.*' found 
>> under directory 'examples'
>>     warning: no previously-included files matching 'lextab.*' found under 
>> directory 'examples'
>>     zip_safe flag not set; analyzing archive contents...
>>     
>>     Installed /tmp/pip_build_root/cryptography/pycparser-2.14-py2.7.egg
>>     
>>     no previously-included directories found matching 'docs/_build'
>>     warning: no previously-included files matching '*' found under 
>> directory 'vectors'
>>     generating cffi module 'build/temp.linux-x86_64-2.7/_padding.c'
>>     generating cffi module 'build/temp.linux-x86_64-2.7/_constant_time.c'
>>     generating cffi module 'build/temp.linux-x86_64-2.7/_openssl.c'
>>     building '_openssl' extension
>>     gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall 
>> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
>> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall 
>> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
>> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c 
>> build/temp.linux-x86_64-2.7/_openssl.c -o 
>> build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o
>>     build/temp.linux-x86_64-2.7/_openssl.c:429:30: fatal error: 
>> openssl/opensslv.h: No such file or directory
>>      #include <openssl/opensslv.h>
>>                                   ^
>>     compilation terminated.
>>     error: command 'gcc' failed with exit status 1
>>     Complete output from command /usr/bin/python -c "import setuptools, 
>> tokenize;__file__='/tmp/pip_build_root/cryptography/setup.py';exec(compile(getattr(tokenize,
>>  
>> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
>> install --record /tmp/pip-_Qz9XO-record/install-record.txt 
>> --single-version-externally-managed --compile:
>>     
>>
>> Installed 
>> /tmp/pip_build_root/cryptography/cffi-1.7.0-py2.7-linux-x86_64.egg
>>
>> Searching for pycparser
>>
>> Reading https://pypi.python.org/simple/pycparser/
>>
>> Best match: pycparser 2.14
>>
>> Downloading 
>> https://pypi.python.org/packages/6d/31/666614af3db0acf377876d48688c5d334b6e493b96d21aa7d332169bee50/pycparser-2.14.tar.gz#md5=a2bc8d28c923b4fe2b2c3b4b51a4f935
>>
>> Processing pycparser-2.14.tar.gz
>>
>> Writing /tmp/easy_install-4X48pH/pycparser-2.14/setup.cfg
>>
>> Running pycparser-2.14/setup.py -q bdist_egg --dist-dir 
>> /tmp/easy_install-4X48pH/pycparser-2.14/egg-dist-tmp-xIcsuf
>>
>> warning: no previously-included files matching 'yacctab.*' found under 
>> directory 'tests'
>>
>> warning: no previously-included files matching 'lextab.*' found under 
>> directory 'tests'
>>
>> warning: no previously-included files matching 'yacctab.*' found under 
>> directory 'examples'
>>
>> warning: no previously-included files matching 'lextab.*' found under 
>> directory 'examples'
>>
>> zip_safe flag not set; analyzing archive contents...
>>
>>
>>
>> Installed /tmp/pip_build_root/cryptography/pycparser-2.14-py2.7.egg
>>
>> running install
>>
>> running build
>>
>> running build_py
>>
>> creating build
>>
>> creating build/lib.linux-x86_64-2.7
>>
>> creating build/lib.linux-x86_64-2.7/cryptography
>>
>> copying src/cryptography/__about__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography
>>
>> copying src/cryptography/__init__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography
>>
>> copying src/cryptography/exceptions.py -> 
>> build/lib.linux-x86_64-2.7/cryptography
>>
>> copying src/cryptography/fernet.py -> 
>> build/lib.linux-x86_64-2.7/cryptography
>>
>> copying src/cryptography/utils.py -> 
>> build/lib.linux-x86_64-2.7/cryptography
>>
>> creating build/lib.linux-x86_64-2.7/cryptography/hazmat
>>
>> copying src/cryptography/hazmat/__init__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat
>>
>> creating build/lib.linux-x86_64-2.7/cryptography/x509
>>
>> copying src/cryptography/x509/__init__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/x509
>>
>> copying src/cryptography/x509/base.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/x509
>>
>> copying src/cryptography/x509/extensions.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/x509
>>
>> copying src/cryptography/x509/general_name.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/x509
>>
>> copying src/cryptography/x509/name.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/x509
>>
>> copying src/cryptography/x509/oid.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/x509
>>
>> creating build/lib.linux-x86_64-2.7/cryptography/hazmat/backends
>>
>> copying src/cryptography/hazmat/backends/__init__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends
>>
>> copying src/cryptography/hazmat/backends/interfaces.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends
>>
>> copying src/cryptography/hazmat/backends/multibackend.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends
>>
>> creating build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings
>>
>> copying src/cryptography/hazmat/bindings/__init__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings
>>
>> creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
>>
>> copying src/cryptography/hazmat/primitives/__init__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
>>
>> copying src/cryptography/hazmat/primitives/cmac.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
>>
>> copying src/cryptography/hazmat/primitives/constant_time.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
>>
>> copying src/cryptography/hazmat/primitives/hashes.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
>>
>> copying src/cryptography/hazmat/primitives/hmac.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
>>
>> copying src/cryptography/hazmat/primitives/keywrap.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
>>
>> copying src/cryptography/hazmat/primitives/padding.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
>>
>> copying src/cryptography/hazmat/primitives/serialization.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
>>
>> creating 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto
>>
>> copying src/cryptography/hazmat/backends/commoncrypto/__init__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto
>>
>> copying src/cryptography/hazmat/backends/commoncrypto/backend.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto
>>
>> copying src/cryptography/hazmat/backends/commoncrypto/ciphers.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto
>>
>> copying src/cryptography/hazmat/backends/commoncrypto/hashes.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto
>>
>> copying src/cryptography/hazmat/backends/commoncrypto/hmac.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto
>>
>> creating build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
>>
>> copying src/cryptography/hazmat/backends/openssl/__init__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
>>
>> copying src/cryptography/hazmat/backends/openssl/backend.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
>>
>> copying src/cryptography/hazmat/backends/openssl/ciphers.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
>>
>> copying src/cryptography/hazmat/backends/openssl/cmac.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
>>
>> copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
>>
>> copying src/cryptography/hazmat/backends/openssl/dsa.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
>>
>> copying src/cryptography/hazmat/backends/openssl/ec.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
>>
>> copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
>>
>> copying src/cryptography/hazmat/backends/openssl/hashes.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
>>
>> copying src/cryptography/hazmat/backends/openssl/hmac.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
>>
>> copying src/cryptography/hazmat/backends/openssl/rsa.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
>>
>> copying src/cryptography/hazmat/backends/openssl/utils.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
>>
>> copying src/cryptography/hazmat/backends/openssl/x509.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
>>
>> creating 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/commoncrypto
>>
>> copying src/cryptography/hazmat/bindings/commoncrypto/__init__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/commoncrypto
>>
>> copying src/cryptography/hazmat/bindings/commoncrypto/binding.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/commoncrypto
>>
>> creating build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl
>>
>> copying src/cryptography/hazmat/bindings/openssl/__init__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl
>>
>> copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl
>>
>> copying src/cryptography/hazmat/bindings/openssl/binding.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl
>>
>> creating 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
>>
>> copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
>>
>> copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
>>
>> copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
>>
>> copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
>>
>> copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
>>
>> copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
>>
>> copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
>>
>> creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers
>>
>> copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers
>>
>> copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers
>>
>> copying src/cryptography/hazmat/primitives/ciphers/base.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers
>>
>> copying src/cryptography/hazmat/primitives/ciphers/modes.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers
>>
>> creating 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/interfaces
>>
>> copying src/cryptography/hazmat/primitives/interfaces/__init__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/interfaces
>>
>> creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
>>
>> copying src/cryptography/hazmat/primitives/kdf/__init__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
>>
>> copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
>>
>> copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
>>
>> copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
>>
>> copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
>>
>> copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
>>
>> creating 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor
>>
>> copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor
>>
>> copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor
>>
>> copying src/cryptography/hazmat/primitives/twofactor/totp.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor
>>
>> copying src/cryptography/hazmat/primitives/twofactor/utils.py -> 
>> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor
>>
>> running egg_info
>>
>> writing requirements to src/cryptography.egg-info/requires.txt
>>
>> writing src/cryptography.egg-info/PKG-INFO
>>
>> writing top-level names to src/cryptography.egg-info/top_level.txt
>>
>> writing dependency_links to src/cryptography.egg-info/dependency_links.txt
>>
>> writing entry points to src/cryptography.egg-info/entry_points.txt
>>
>> warning: manifest_maker: standard file '-c' not found
>>
>>
>>
>> reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
>>
>> reading manifest template 'MANIFEST.in'
>>
>> no previously-included directories found matching 'docs/_build'
>>
>> warning: no previously-included files matching '*' found under directory 
>> 'vectors'
>>
>> writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
>>
>> running build_ext
>>
>> generating cffi module 'build/temp.linux-x86_64-2.7/_padding.c'
>>
>> creating build/temp.linux-x86_64-2.7
>>
>> generating cffi module 'build/temp.linux-x86_64-2.7/_constant_time.c'
>>
>> generating cffi module 'build/temp.linux-x86_64-2.7/_openssl.c'
>>
>> building '_openssl' extension
>>
>> creating build/temp.linux-x86_64-2.7/build
>>
>> creating build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7
>>
>> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall 
>> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
>> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall 
>> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
>> --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
>> -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c 
>> build/temp.linux-x86_64-2.7/_openssl.c -o 
>> build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o
>>
>> build/temp.linux-x86_64-2.7/_openssl.c:429:30: fatal error: 
>> openssl/opensslv.h: No such file or directory
>>
>> * #include <openssl/opensslv.h>*
>>
>> *                              ^*
>>
>> *compilation terminated.*
>>
>> *error: command 'gcc' failed with exit status 1*
>>
>> *----------------------------------------*
>> *Cleaning up...*
>> *Command /usr/bin/python -c "import setuptools, 
>> tokenize;__file__='/tmp/pip_build_root/cryptography/setup.py';exec(compile(getattr(tokenize,
>>  
>> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
>> install --record /tmp/pip-_Qz9XO-record/install-record.txt 
>> --single-version-externally-managed --compile failed with error code 1 in 
>> /tmp/pip_build_root/cryptography*
>> *Storing debug log for failure in /root/.pip/pip.log*
>>
>>
>> 在 2016年7月13日星期三 UTC+8下午11:04:39,Cui Fisher写道:
>>
>>>  What version of the Django suits with ReviewBoard?
>>>
>>  What version of the MySQL-python suits with ReviewBoard?
>>>
>>>
>>> centos 6.5
>>> httpd-2.2.15-53.el6.centos.x86_64
>>> Python 2.6.6
>>> import django 
>>> >>> print django.VERSION
>>> (1, 4, 21, 'final', 0)
>>>
>>> pip-1.5.4.
>>> setuptools-24.0.2
>>>
>>> yum -y install mysql-server   (mysql-server-5.1.73-7.el6.x86_64)
>>> yum -y install MySQL-python  (MySQL-python-1.2.3-0.3.c1.1.el6.x86_64) 
>>>
>>>
>>> I have been test:
>>> pip install ReviewBoard   (ReviewBoard-2.5.6.1-py2-none-any.whl) 
>>> pip install ReviewBoard-2.5.6-py2-none-any.whl  
>>>
>>> yum install ReviewBoard 
>>> ============================
>>> Django14.noarch0:1.4.21-1.el6
>>> MySQL-python.x86_640:1.2.3-0.3.c1.1.el6
>>> freetype.x86_640:2.3.11-17.el6
>>> gnutls.x86_640:2.8.5-19.el6_7
>>> libjpeg-turbo.x86_640:1.2.1-3.el6_5
>>> libproxy.x86_640:0.3.0-10.el6
>>> libproxy-bin.x86_640:0.3.0-10.el6
>>> libproxy-python.x86_640:0.3.0-10.el6
>>> mercurial.x86_640:1.4-4.el6
>>> neon.x86_640:0.29.3-3.el6_4
>>> pakchois.x86_640:0.4-3.2.el6
>>> patchutils.x86_640:0.3.1-3.1.el6
>>> perl-URI.noarch0:1.40-2.el6
>>> postgresql-libs.x86_640:8.4.20-6.el6
>>> pysvn.x86_640:1.7.6-1.el6
>>> python-crypto.x86_640:2.0.1-22.el6
>>> python-dateutil.noarch0:1.4.1-6.el6
>>> python-django-evolution.noarch1:0.6.9-4.el6
>>> python-django-pipeline.noarch0:1.2.24-2.el6
>>> python-djblets.noarch0:0.7.30-2.el6
>>> python-docutils.noarch0:0.6-1.el6
>>> python-feedparser.noarch0:5.1.2-2.el6
>>> python-flup.noarch0:1.0.2-2.el6
>>> python-imaging.x86_640:1.1.6-19.el6
>>> python-markdown.noarch0:2.0.1-3.1.el6
>>> python-memcached.noarch0:1.43-6.el6
>>> python-mimeparse.noarch0:0.1.4-1.el6
>>> python-nose.noarch0:0.10.4-3.1.el6
>>> python-odict.noarch0:1.5.0-4.el6
>>> python-paramiko.noarch0:1.7.5-2.1.el6
>>> python-ply.noarch0:3.4-4.el6
>>> python-psycopg2.x86_640:2.0.14-2.el6
>>> python-pygments.noarch0:1.1.1-1.el6
>>> python-recaptcha-client.noarch0:1.0.6-4.el6
>>> python-simplejson.x86_640:2.0.9-3.1.el6
>>> python-slimit.noarch0:0.8.1-1.el6.1
>>> pytz.noarch0:2010h-2.el6
>>> subversion.x86_640:1.6.11-15.el6_7 
>>> ============================
>>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to