Comment by jaehok...@gmail.com:

Installing this ssh library on centos release 6,5 . I have python 2.6 and trying to run the "python setup.py install"

I got following error..

Processing dependencies for robotframework-sshlibrary==2.0.2
Searching for pycrypto>=2.1,!=2.4
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 /var/tmp/easy_install-ZCb84K/pycrypto-2.6.1/egg-dist-tmp-GxTrUU 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



I can not install it somehow... need some help..

For more information:
https://code.google.com/p/robotframework-sshlibrary/wiki/InstallationInstructions

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to