Hi *,

 

i have trouble to install calendar server. It stops during the develop run at 
the following step.

Any help will be appreciated.

 

Running setup.py install for cryptography

.

.

.

.

    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

    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 
-Wall -Wstrict-prototypes 
-I/usr/local/calendarserver/.develop/roots/PostgreSQL/include 
-I/usr/local/calendarserver/.develop/roots/memcached/include 
-I/usr/local/calendarserver/.develop/roots/libevent/include -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:695:6: error: conflicting types for 
‘BIO_new_mem_buf’

     BIO *BIO_new_mem_buf(void *, int);

          ^

    In file included from /usr/include/openssl/asn1.h:65:0,

                     from build/temp.linux-x86_64-2.7/_openssl.c:411:

    /usr/include/openssl/bio.h:692:6: note: previous declaration of 
‘BIO_new_mem_buf’ was here

     BIO *BIO_new_mem_buf(const void *buf, int len);

          ^

    build/temp.linux-x86_64-2.7/_openssl.c:2074:15: error: ‘SSLv2_method’ 
redeclared as different kind of symbol

     SSL_METHOD* (*SSLv2_method)(void) = NULL;

                   ^

    In file included from build/temp.linux-x86_64-2.7/_openssl.c:497:0:

    /usr/include/openssl/ssl.h:2349:19: note: previous declaration of 
‘SSLv2_method’ was here

     const SSL_METHOD *SSLv2_method(void); /* SSLv2 */

                       ^

    build/temp.linux-x86_64-2.7/_openssl.c:2075:15: error: 
‘SSLv2_client_method’ redeclared as different kind of symbol

     SSL_METHOD* (*SSLv2_client_method)(void) = NULL;

                   ^

    In file included from build/temp.linux-x86_64-2.7/_openssl.c:497:0:

    /usr/include/openssl/ssl.h:2351:19: note: previous declaration of 
‘SSLv2_client_method’ was here

     const SSL_METHOD *SSLv2_client_method(void); /* SSLv2 */

                       ^

    build/temp.linux-x86_64-2.7/_openssl.c:2076:15: error: 
‘SSLv2_server_method’ redeclared as different kind of symbol

     SSL_METHOD* (*SSLv2_server_method)(void) = NULL;

                   ^

    In file included from build/temp.linux-x86_64-2.7/_openssl.c:497:0:

    /usr/include/openssl/ssl.h:2350:19: note: previous declaration of 
‘SSLv2_server_method’ was here

     const SSL_METHOD *SSLv2_server_method(void); /* SSLv2 */

                       ^

    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

 

    ----------------------------------------

Command "/usr/local/calendarserver/.develop/virtualenv/bin/python -c "import 
setuptools, 
tokenize;__file__='/tmp/pip-build-KDKDTa/cryptography/setup.py';exec(compile(getattr(tokenize,
 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
install --record /tmp/pip-A_4ATy-record/install-record.txt 
--single-version-externally-managed --compile --install-headers 
/usr/local/calendarserver/.develop/virtualenv/include/site/python2.7/cryptography"
 failed with error code 1 in /tmp/pip-build-KDKDTa/cryptography

 

_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/calendarserver-users

Reply via email to