dlapiduz / certbot-s3front

Certbot CLI plugin for S3/CloudFront validation and installation
MIT License
584 stars 70 forks source link

Can't install certbot-s3front on VoidLinux with LibreSSL #50

Closed Sh4d1 closed 6 years ago

Sh4d1 commented 7 years ago

Hello ! I have a problem installing certbot-s3front. I'm running on VoidLinux with LibreSSL 2.5.4. Here is the result of pip install certbot-s3front

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-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -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
    In file included from /usr/include/openssl/x509.h:595:0,
                     from /usr/include/openssl/engine.h:96,
                     from build/temp.linux-x86_64-2.7/_openssl.c:516:
    build/temp.linux-x86_64-2.7/_openssl.c:3482:19: error: expected identifier or '(' before numeric constant
     static const long X509_V_ERR_HOSTNAME_MISMATCH = 0;
                       ^
    build/temp.linux-x86_64-2.7/_openssl.c:3483:19: error: expected identifier or '(' before numeric constant
     static const long X509_V_ERR_EMAIL_MISMATCH = 0;
                       ^
    build/temp.linux-x86_64-2.7/_openssl.c:3484:19: error: expected identifier or '(' before numeric constant
     static const long X509_V_ERR_IP_ADDRESS_MISMATCH = 0;
                       ^
    error: command 'x86_64-unknown-linux-gnu-gcc' failed with exit status 1
dlapiduz commented 6 years ago

To be honest, I have no idea what the issue here is and can't test it. I am using Ubuntu and it works fine.

Were you able to figure out what the problem was?

Sh4d1 commented 6 years ago

The issue is with libressl backing the Openssl library instead of Openssl itself I guess, but honestly I don't remember why I wanted to ues it so it's better off closed until someone else runs into the same problem :p