Skip to content
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 with "Python.h: No such file or directory" #21

Closed
killua-eu opened this issue Jun 19, 2016 · 4 comments
Closed

Installation fails with "Python.h: No such file or directory" #21

killua-eu opened this issue Jun 19, 2016 · 4 comments

Comments

@killua-eu
Copy link

OK, so

add-apt-repository -s "https://matrix.org/packages/debian/ testing main"
gpg --keyserver pgp.mit.edu --recv-keys AD0592FE47F0DF61
apt-get install matrix-synapse nodejs nodejs-legacy npm
apt-get syutil
mkdir -p /opt
cd /opt
git clone https://github.com/matrix-org/sydent.git
cd /opt/sydent
apt install virtualenv
virtualenv env
source env/bin/activate
pip install setuptools_trial mock    # this fails
python setup.py test                      # this fails too

So the first failure is

  Failed building wheel for Twisted
Command "/opt/sydent/env/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-Fmu_QK/Twisted/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-Utbikr-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/sydent/env/include/site/python2.7/Twisted" failed with error code 1 in /tmp/pip-build-Fmu_QK/Twisted/

Here the full log. sydent.log.txt
My suggestions:

  • please kindly update the readme for sydent
  • ideally package up sydent as well
@ara4n
Copy link
Member

ara4n commented Jun 19, 2016

typically you really don't need to run a sydent; all it does is map email addresses to matrix ids so people can discover you publically on matrix by your email addres. this only works if you are part of the public cluster of sydents, which a personal instance won't be. we are looking at how to fix this (by replacing sydent) to be decentralised but haven't got there yet.

On 19 Jun 2016, at 11:18, killua-eu [email protected] wrote:

OK, so

add-apt-repository -s "https://matrix.org/packages/debian/ testing main"
gpg --keyserver pgp.mit.edu --recv-keys AD0592FE47F0DF61
apt-get install matrix-synapse nodejs nodejs-legacy npm
apt-get syutil
mkdir -p /opt
cd /opt
git clone https://github.com/matrix-org/sydent.git
cd /opt/sydent
apt install virtualenv
virtualenv env
source env/bin/activate
pip install setuptools_trial mock # this fails
python setup.py test # this fails too
So the first failure is

Failed building wheel for Twisted
Command "/opt/sydent/env/bin/python2 -u -c "import setuptools, tokenize;file='/tmp/pip-build-Fmu_QK/Twisted/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-Utbikr-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/sydent/env/include/site/python2.7/Twisted" failed with error code 1 in /tmp/pip-build-Fmu_QK/Twisted/
Here the full log. sydent.log.txt
My suggestions:

please kindly update the readme for sydent
ideally package up sydent as well

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@killua-eu
Copy link
Author

Now I get it :) I suggest to document in big fat letters "dont try to use sydent, its futile" in sydent's readme .. stumbled upon the ident server in the vector.im config.json so went straight for getting one, as I try to evaluate the current state of matrix for light production use.

@killua-eu
Copy link
Author

Closing this issue, thanks for the explanation.

@ara4n
Copy link
Member

ara4n commented Jun 19, 2016

have filed #22 to fix the doc - thanks for pointing it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants