-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installation fails on Ubuntu 16.04 #108
Comments
You are missing ssl libs, installing libssl and build-essentials should get
you going or in the right direction
On Jun 20, 2017 11:43 AM, "matthias-otto" <[email protected]> wrote:
I just started a fresh AWS machine and the installation fails with the
following error:
creating build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fno-strict-aliasing -Wdate-time
-D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat
-Werror=format-security -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:434:30: fatal error:
openssl/opensslv.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
…----------------------------------------
Command "/usr/bin/python -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-SJXya7/cryptography/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install
--record /tmp/pip-BaYj0L-record/install-record.txt
--single-version-externally-managed --compile" failed with error code
1 in /tmp/pip-build-SJXya7/cryptography/
I entered the following commands after creating the machine:
sudo apt-get update
sudo apt-get install python-pip
sudo pip install --upgrade pip
sudo pip install cassandra_snapshotter
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#108>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFanyW8WXCcn6TeFen8k4pbC59zpaaTks5sF5RJgaJpZM4N_VY3>
.
|
Yes, thank you ,as it turns out I was missing libssl.
Since usually an installer would also install its dependencies, it would
probably be good if your installer also checked for those packages and
installed them automatically if needed.
Thanks and best regards,
Matthias Otto
…--
incub8 Software Labs GmbH
Pulverstraße 1 | 44225 Dortmund, Germany
+49 (0)231 77656397 | +49 (0)1520 9395470
[email protected] | http://www.incub8.de/
Geschäftsführer: Jan Dörrenhaus | Sitz: Dortmund
Registergericht: Amtsgericht Dortmund - HRB 25457
Steuernummer: 315/5748/1377 | USt.-Id.: DE287331286
Bankverbindung: Sparkasse Dortmund
Kto.-Nr.: 911008424 | BLZ: 440 501 99
IBAN: DE64440501990911008424 | BIC: DORTDE33
2017-06-20 17:29 GMT+02:00 Tommaso Barbugli <[email protected]>:
You are missing ssl libs, installing libssl and build-essentials should get
you going or in the right direction
On Jun 20, 2017 11:43 AM, "matthias-otto" ***@***.***>
wrote:
I just started a fresh AWS machine and the installation fails with the
following error:
creating build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fno-strict-aliasing -Wdate-time
-D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat
-Werror=format-security -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:434:30: fatal error:
openssl/opensslv.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-SJXya7/cryptography/
setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install
--record /tmp/pip-BaYj0L-record/install-record.txt
--single-version-externally-managed --compile" failed with error code
1 in /tmp/pip-build-SJXya7/cryptography/
I entered the following commands after creating the machine:
sudo apt-get update
sudo apt-get install python-pip
sudo pip install --upgrade pip
sudo pip install cassandra_snapshotter
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#108>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/
AAFanyW8WXCcn6TeFen8k4pbC59zpaaTks5sF5RJgaJpZM4N_VY3>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#108 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIRnEN8ZtRYzKJq09yATGFygThHJvTOrks5sF-VPgaJpZM4N_VY3>
.
|
I had to add: But it really depends which AMI you are starting with. I don't think the pip installer should fetch and install the dependencies, but it could warn they are needed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just started a fresh AWS machine and the installation fails with the following error:
I entered the following commands after creating the machine:
The text was updated successfully, but these errors were encountered: