Comments (11)
For Ubuntu16.04 , i meet same build error about opensslv.h .
Solution: apt-get install libssl-dev
from certbot.
Took this approach to but once libssl-dev was installed
python setup.py install --user
fails with
SWIG/_evp.i:12: Error: Unable to find 'openssl/opensslconf.h'
SWIG/_ec.i:7: Error: Unable to find 'openssl/opensslconf.h'
error: Setup script exited with error: command 'swig' failed with exit status 1
Investigation yields that the the following option may be missing from the call to swig
-I/usr/include/x86_64-linux-gnu
I can verify through find that
/usr/include/x86_64-linux-gnu/openssl/opensslconf.h
exists on my system
Thanks
from certbot.
What is your OS? Please try pip install --user M2Crypto
and if that fails while headers are available, then it's M2crypto bug and should be reporter in their tracker.
from certbot.
I'm running a fresh updated install of Ubuntu 14.04.1 (3.13.0-39-generic) with the following installed Apt-get install gitApt-get install lamp-server^Git clone https://Github .com/letsencrypt/lets-encrypt-preview.gitApt-get install python....etcChecked for opensslconf.h...not found so installed Apt-get install libssl-devOpensslconf.h was now there.I tried to run pip install M2Crypto but needed pip installed so afterApt-get install pipAnd running Sudo pip install M2Crypto The package installed correctly Running python setup.py install --user now ran cleanly. Could this have something to do with installing pip? Ran into problem with. / letsencrypt after that but that may be an apache server configuration issue. I'll retry to see if pip install made a difference. Thanks Chuck Peeren (226)[email protected] From: Jakub WarmuzSent: Thursday, November 20, 2014 15:01To: letsencrypt/lets-encrypt-previewReply To: letsencrypt/lets-encrypt-previewCc: ChuckSubject: Re: [lets-encrypt-preview] Unable to find 'openssl/opensslv.h' (#37)What is your OS? Please try pip install M2Crypto and if that fails while headers are available, then it's M2crypto bug and should be reporter in their tracker.
—Reply to this email directly or view it on GitHub.
from certbot.
Did you get it working? If you describe the problem when running ./letsencrypt.py I can probably help debug.
from certbot.
On fresh trusty, before apt-get install libssl-dev
I do get:
Searching for M2Crypto
Reading https://pypi.python.org/simple/M2Crypto/
Best match: M2Crypto 0.22.3
Downloading https://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-0.22.3.tar.gz#md5=573f21aaac7d5c9549798e72ffcefedd
Processing M2Crypto-0.22.3.tar.gz
Writing /tmp/easy_install-8lmR2l/M2Crypto-0.22.3/setup.cfg
Running M2Crypto-0.22.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8lmR2l/M2Crypto-0.22.3/egg-dist-tmp-OQQjc_
SWIG/_m2crypto.i:30: Error: Unable to find 'openssl/opensslv.h'
SWIG/_m2crypto.i:33: Error: Unable to find 'openssl/safestack.h'
SWIG/_evp.i:12: Error: Unable to find 'openssl/opensslconf.h'
SWIG/_ec.i:7: Error: Unable to find 'openssl/opensslconf.h'
error: Setup script exited with error: command 'swig' failed with exit status 1
but, then, after sudo apt-get install libssl-dev
it installs correctly.
from certbot.
I think strictly speaking this is an upstream bug in the Python M2Crypto package, so having our own dependency on libssl-dev could be seen as a workaround rather than a fix to the underlying bug.
from certbot.
M2Crypto needs openssl headers to compile. It doesn't look like a bug, does it?
from certbot.
I'm not quite sure how pip is supposed to handle the need for development headers.
Now that I think of it, I have gotten header-related errors when installing things in pip before, and I then used my system package manager to get them, so I guess that's a common occurrence that isn't regarded as an upstream bug.
from certbot.
Thanks I can confirm that the updated procedure works for me now on a fresh install. The only issue is that the procedure does not enable the new site I did it manually and restarted apache and the https site came up. Thanks again. Chuck Peeren [email protected] From: James KastenSent: Friday, November 21, 2014 20:09To: letsencrypt/lets-encrypt-previewReply To: letsencrypt/lets-encrypt-previewCc: ChuckSubject: Re: [lets-encrypt-preview] Unable to find 'openssl/opensslv.h' (#37)Closed #37 via 2a5364b.
—Reply to this email directly or view it on GitHub.
from certbot.
Hmm... alright. I really haven't tested nearly as much as I should have on Ubuntu 14.04 Apache 2.4. The configurator code was originally designed on Ubuntu 12.04 running Apache 2.2. I am guessing it might have to do with 2.4 requiring that all configuration files in sites-available/enabled to end in *.conf. (2.2 didn't have this restriction) At least that is what held me up when I did my setup on Apache 2.4. (I did record the demo video on 2.4 but I haven't messed around with many configurations)
I am really glad you got it up and running, solved the DVSNI challenge, issued and installed a cert.
I will be tackling and updating the apache_configurator.py class over the weekend to handle 2.4 properly. Hopefully hardening the code quite a bit and solving issues like sites not enabling properly. Any insight you have would be greatly appreciated or if you would like to dive in with me... I accept patches!
Thanks for your interest in the project and for helping us work through the problems with installation!
from certbot.
Related Issues (20)
- Please prevent old versions of Certbot from appearing in Debian/Ubuntu apt HOT 2
- I m getting the same error i have done everything correct but still don;t know whats wrong ? HOT 1
- Feature Request: Add file extensions to the ACME challenge files
- Feature Request: Add a .txt file extension to the ACME challenge files HOT 1
- [Feature request] Adding support for an atomic key, certificate and chain file HOT 1
- certbot renew --dry-run does not execute renewal-hooks/deploy/ scripts HOT 1
- Challenge files are created with insufficient permissions
- certbot is complaining about a missing crtptography package greater than 35
- SHA256(or other algorithm) support for certbot ocsp validation
- Certbot fails to start HOT 1
- [Nginx] Server Block Not Found in External Nginx Config Files with External global HTTP Block
- snap package Win.Virus.Expiro-10026576-0 FOUND HOT 2
- autorenew is not working HOT 7
- need huawei dns HOT 1
- [Need] --dns-route53-propagation-seconds come back HOT 1
- Failed Renews Do Not Provide Environment Variable to Scripts HOT 1
- Please add more diagnostics (hints) to certbot
- webroot_map entries missing for re-issues with added domains HOT 4
- add support for cloudflare's 3.0 python package HOT 3
- Confusing variable naming in certbot/acme (private_key/privkey)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from certbot.