Hello, I started with a fresh install of reviewboard on RHEL Oracle Linux 6.4 through epel repo. Through yum install, reviewboard version 1.7 got installed. To upgrade to the latest I executed "easy_install -U ReviewBoard" but that fails with errors while upgrading pycrypto to 2.6.1.
"error: Setup script exited with error: command 'gcc' failed with exit status 1". Attached are the detailed logs. How can I resolve the errors and upgrade to the latest version? Thanks! -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
Searching for ReviewBoard Reading http://pypi.python.org/simple/ReviewBoard/ Best match: ReviewBoard 2.0.20 Downloading http://downloads.reviewboard.org/releases/ReviewBoard/2.0/ReviewBoard-2.0.20-py2.6.egg#md5=137a0dc011266f5b8574484c64a56b78 Processing ReviewBoard-2.0.20-py2.6.egg creating /usr/lib/python2.6/site-packages/ReviewBoard-2.0.20-py2.6.egg Extracting ReviewBoard-2.0.20-py2.6.egg to /usr/lib/python2.6/site-packages Adding ReviewBoard 2.0.20 to easy-install.pth file Installing rbssh script to /usr/bin Installing rb-site script to /usr/bin Installed /usr/lib/python2.6/site-packages/ReviewBoard-2.0.20-py2.6.egg Reading http://downloads.reviewboard.org/mirror/ Reading http://downloads.reviewboard.org/releases/Djblets/0.8/ Reading http://downloads.reviewboard.org/releases/django-evolution/0.7/ Reading http://downloads.reviewboard.org/releases/ReviewBoard/2.0/ Processing dependencies for ReviewBoard Searching for Whoosh>=2.6 Reading http://pypi.python.org/simple/Whoosh/ Best match: Whoosh 2.7.0 Downloading https://pypi.python.org/packages/source/W/Whoosh/Whoosh-2.7.0.zip#md5=7abfd970f16fadc7311960f3fa0bc7a9 Processing Whoosh-2.7.0.zip Running Whoosh-2.7.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-rzo6lg/Whoosh-2.7.0/egg-dist-tmp-PvVh4c warning: no files found matching '*.txt' under directory 'tests' warning: no files found matching '*.txt' under directory 'benchmark' warning: no files found matching '*.txt' under directory 'docs' warning: no files found matching '*.txt' under directory 'files' warning: no files found matching '*.py' under directory 'files' warning: no files found matching '*.jpg' under directory 'files' Adding Whoosh 2.7.0 to easy-install.pth file Installed /usr/lib/python2.6/site-packages/Whoosh-2.7.0-py2.6.egg Searching for python-dateutil==1.5 Reading http://pypi.python.org/simple/python-dateutil/ Reading http://labix.org/python-dateutil Reading https://dateutil.readthedocs.org Best match: python-dateutil 1.5 Downloading http://labix.org/download/python-dateutil/python-dateutil-1.5.tar.gz Processing python-dateutil-1.5.tar.gz Running python-dateutil-1.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-tEDmcK/python-dateutil-1.5/egg-dist-tmp-FF_dGt Adding python-dateutil 1.5 to easy-install.pth file Installed /usr/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg Searching for Pygments>=1.6 Reading http://pypi.python.org/simple/Pygments/ Best match: Pygments 2.0.2 Downloading https://pypi.python.org/packages/source/P/Pygments/Pygments-2.0.2.tar.gz#md5=238587a1370d62405edabd0794b3ec4a Processing Pygments-2.0.2.tar.gz Running Pygments-2.0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-eIV3mD/Pygments-2.0.2/egg-dist-tmp-rcLjbq Adding Pygments 2.0.2 to easy-install.pth file Installing pygmentize script to /usr/bin Installed /usr/lib/python2.6/site-packages/Pygments-2.0.2-py2.6.egg Searching for pycrypto>=2.6 Reading http://pypi.python.org/simple/pycrypto/ Best match: pycrypto 2.6.1 Downloading https://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.6.1.tar.gz#md5=55a61a054aa66812daf5161a0d5d7eda Processing pycrypto-2.6.1.tar.gz Running pycrypto-2.6.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-oION2l/pycrypto-2.6.1/egg-dist-tmp-th3tnO warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath. src/MD2.c:31:20: error: Python.h: No such file or directory src/MD2.c:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token In file included from src/MD2.c:147: src/hash_template.c:48: error: expected specifier-qualifier-list before ‘PyObject_HEAD’ src/hash_template.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyTypeObject’ src/hash_template.c: In function ‘newALGobject’: src/hash_template.c:69: warning: implicit declaration of function ‘PyObject_New’ src/hash_template.c:69: error: expected expression before ‘ALGobject’ src/hash_template.c: At top level: src/hash_template.c:76: error: expected ‘)’ before ‘*’ token src/hash_template.c:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/hash_template.c:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/hash_template.c:122: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/hash_template.c:162: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/hash_template.c:188: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/hash_template.c:190: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ALG_methods’ src/hash_template.c:199: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/hash_template.c:225: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ALGtype’ src/hash_template.c:271: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/hash_template.c:304: error: array type has incomplete element type src/hash_template.c:305: error: ‘PyCFunction’ undeclared here (not in a function) src/hash_template.c:305: error: expected ‘}’ before ‘ALG_new’ src/hash_template.c: In function ‘init_MD2’: src/hash_template.c:339: error: ‘PyObject’ undeclared (first use in this function) src/hash_template.c:339: error: (Each undeclared identifier is reported only once src/hash_template.c:339: error: for each function it appears in.) src/hash_template.c:339: error: ‘m’ undeclared (first use in this function) src/hash_template.c:351: error: ‘ALGtype’ undeclared (first use in this function) src/hash_template.c:351: error: ‘PyType_Type’ undeclared (first use in this function) src/hash_template.c:352: warning: implicit declaration of function ‘Py_InitModule’ src/hash_template.c:356: error: ‘o’ undeclared (first use in this function) src/hash_template.c:356: warning: implicit declaration of function ‘PyInt_FromLong’ src/hash_template.c:356: warning: implicit declaration of function ‘PyDict_SetItemString’ src/hash_template.c:356: warning: implicit declaration of function ‘PyModule_GetDict’ src/hash_template.c:356: warning: implicit declaration of function ‘Py_DECREF’ src/hash_template.c:360: warning: implicit declaration of function ‘PyErr_Occurred’ src/hash_template.c:361: warning: implicit declaration of function ‘Py_FatalError’ error: Setup script exited with error: command 'gcc' failed with exit status 1
