[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Installing a Firefox syncserver on my Jessie desktop computer. Need help...



I run a fully updated plain-vanilla Jessie 8.2 with systemd.
I found the following web page which I want to try to use:
https://docs.services.mozilla.com/howtos/run-sync-1.5.html

The instructions are breif and seemingly very clear.
Installing the needed software was straightforward. The only
deviation that I made was to use Debian Jessie rather than Ubuntu, and
installing python-dev git-core and python-virtualenv from a Jessie
repository rather than Ubuntu.
'$ git clone ...' and
'$ cd syncserver' commands were accepted without complaint, the output
generated by 'make build' follows:
*****************************************begin************************************
pec@big:~/syncserver$ make build
virtualenv --python=`which python2 python | head -n 1` --no-site-packages ./local
Running virtualenv with interpreter /usr/bin/python2
New python executable in ./local/bin/python2
Also creating executable in ./local/bin/python
Installing setuptools, pip...done.
CFLAGS="-Wno-error -Wno-error=format-security" ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future ./local/bin/pip install -r requirements.txt

Downloading/unpacking https://github.com/mozilla-services/mozservices/archive/e00e1b68130423ad98d0f6185655bde650443da8.zip (from -r requirements.txt (line 11))

Downloading e00e1b68130423ad98d0f6185655bde650443da8.zip (unknown size): 53kB downloaded
  Running setup.py (path:/tmp/pip-vRC1UJ-build/setup.py) egg_info for package from https://github.com/mozilla-services/mozservices/archive/e00e1b68130423ad98d0f6185655bde650443da8.zip
    
Downloading/unpacking https://github.com/mozilla-services/tokenserver/archive/92361b0e7b0bff996a8fff9c894c7be850d12d16.zip (from -r requirements.txt (line 12))
  Downloading 92361b0e7b0bff996a8fff9c894c7be850d12d16.zip (unknown size): 383kB downloaded
  Running setup.py (path:/tmp/pip-glSXgV-build/setup.py) egg_info for package from https://github.com/mozilla-services/tokenserver/archive/92361b0e7b0bff996a8fff9c894c7be850d12d16.zip
    
    warning: no files found matching '*.rst'
    warning: no files found matching '*.spec'
    warning: no files found matching '*.json' under directory 'tokenserver'
Downloading/unpacking https://github.com/mozilla-services/server-syncstorage/archive/1.5.11.zip (from -r requirements.txt (line 13))
  Downloading 1.5.11.zip (unknown size): 116kB downloaded
  Running setup.py (path:/tmp/pip-AdfagD-build/setup.py) egg_info for package from https://github.com/mozilla-services/server-syncstorage/archive/1.5.11.zip
    
Downloading/unpacking cornice==0.16.2 (from -r requirements.txt (line 1))
  Downloading cornice-0.16.2.tar.gz (45kB): 45kB downloaded
  Running setup.py (path:/tmp/pip-build-IhZNaR/cornice/setup.py) egg_info for package cornice
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'paster_plugins'
      warnings.warn(msg)
    
Downloading/unpacking gunicorn==19.1.1 (from -r requirements.txt (line 2))
  Downloading gunicorn-19.1.1-py2.py3-none-any.whl (104kB): 104kB downloaded
Downloading/unpacking pyramid==1.5 (from -r requirements.txt (line 3))
  Downloading pyramid-1.5.tar.gz (2.4MB): 2.4MB downloaded
  Running setup.py (path:/tmp/pip-build-IhZNaR/pyramid/setup.py) egg_info for package pyramid
    
Downloading/unpacking WebOb==1.4.1 (from -r requirements.txt (line 4))
  Downloading WebOb-1.4.1.tar.gz (671kB): 671kB downloaded
  Running setup.py (path:/tmp/pip-build-IhZNaR/WebOb/setup.py) egg_info for package WebOb
    
    no previously-included directories found matching '*.pyc'
    no previously-included directories found matching '*.pyo'
Downloading/unpacking requests==2.7 (from -r requirements.txt (line 5))
  Downloading requests-2.7.0-py2.py3-none-any.whl (470kB): 470kB downloaded
Downloading/unpacking simplejson==3.4 (from -r requirements.txt (line 6))
  Downloading simplejson-3.4.0.tar.gz (68kB): 68kB downloaded
  Running setup.py (path:/tmp/pip-build-IhZNaR/simplejson/setup.py) egg_info for package simplejson
    
Downloading/unpacking SQLAlchemy==0.9.4 (from -r requirements.txt (line 7))
  Downloading SQLAlchemy-0.9.4.tar.gz (4.5MB): 4.5MB downloaded
  Running setup.py (path:/tmp/pip-build-IhZNaR/SQLAlchemy/setup.py) egg_info for package SQLAlchemy
    
    warning: no files found matching '*.jpg' under directory 'doc'
    warning: no files found matching 'distribute_setup.py'
    warning: no files found matching 'sa2to3.py'
    warning: no files found matching 'ez_setup.py'
    no previously-included directories found matching 'doc/build/output'
Downloading/unpacking unittest2==0.5.1 (from -r requirements.txt (line 8))
  Downloading unittest2-0.5.1.tar.gz (62kB): 62kB downloaded
  Running setup.py (path:/tmp/pip-build-IhZNaR/unittest2/setup.py) egg_info for package unittest2
    
Downloading/unpacking zope.component==4.2.1 (from -r requirements.txt (line 9))
  Downloading zope.component-4.2.1.tar.gz (462kB): 462kB downloaded
  Running setup.py (path:/tmp/pip-build-IhZNaR/zope.component/setup.py) egg_info for package zope.component
    
    warning: no previously-included files matching '*.dll' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
Downloading/unpacking configparser==3.5.0b2 (from -r requirements.txt (line 10))
  Downloading configparser-3.5.0b2.tar.gz
  Running setup.py (path:/tmp/pip-build-IhZNaR/configparser/setup.py) egg_info for package configparser
    
Downloading/unpacking konfig (from mozsvc==0.8->-r requirements.txt (line 11))
  Downloading konfig-0.9.tar.gz
  Running setup.py (path:/tmp/pip-build-IhZNaR/konfig/setup.py) egg_info for package konfig
    
Downloading/unpacking PyBrowserID (from tokenserver==1.2.14->-r requirements.txt (line 12))
  Downloading PyBrowserID-0.9.2.tar.gz
  Running setup.py (path:/tmp/pip-build-IhZNaR/PyBrowserID/setup.py) egg_info for package PyBrowserID
    
Downloading/unpacking testfixtures (from tokenserver==1.2.14->-r requirements.txt (line 12))
  Downloading testfixtures-4.3.3-py2.py3-none-any.whl (68kB): 68kB downloaded
Downloading/unpacking pyramid-hawkauth (from SyncStorage==1.5.11->-r requirements.txt (line 13))
  Downloading pyramid_hawkauth-0.1.0.tar.gz
  Running setup.py (path:/tmp/pip-build-IhZNaR/pyramid-hawkauth/setup.py) egg_info for package pyramid-hawkauth
    
Downloading/unpacking PyMySQL (from SyncStorage==1.5.11->-r requirements.txt (line 13))
  Downloading PyMySQL-0.6.7-py2.py3-none-any.whl (69kB): 69kB downloaded
Downloading/unpacking pymysql-sa (from SyncStorage==1.5.11->-r requirements.txt (line 13))
  Downloading pymysql_sa-1.0.tar.gz
  Running setup.py (path:/tmp/pip-build-IhZNaR/pymysql-sa/setup.py) egg_info for package pymysql-sa
    
Downloading/unpacking umemcache (from SyncStorage==1.5.11->-r requirements.txt (line 13))
  Downloading umemcache-1.6.3.zip
  Running setup.py (path:/tmp/pip-build-IhZNaR/umemcache/setup.py) egg_info for package umemcache
    
Downloading/unpacking wsgiproxy (from SyncStorage==1.5.11->-r requirements.txt (line 13))
  Downloading WSGIProxy-0.2.2.tar.gz
  Running setup.py (path:/tmp/pip-build-IhZNaR/wsgiproxy/setup.py) egg_info for package wsgiproxy
    
Downloading/unpacking webtest (from SyncStorage==1.5.11->-r requirements.txt (line 13))
  Downloading WebTest-2.0.18.zip (88kB): 88kB downloaded
  Running setup.py (path:/tmp/pip-build-IhZNaR/webtest/setup.py) egg_info for package webtest
    
    no previously-included directories found matching 'docs/_build'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '__pycache__' found anywhere in distribution
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./local/lib/python2.7/site-packages (from pyramid==1.5->-r requirements.txt (line 3))
Downloading/unpacking repoze.lru>=0.4 (from pyramid==1.5->-r requirements.txt (line 3))
  Downloading repoze.lru-0.6.tar.gz
  Running setup.py (path:/tmp/pip-build-IhZNaR/repoze.lru/setup.py) egg_info for package repoze.lru
    
Downloading/unpacking zope.interface>=3.8.0 (from pyramid==1.5->-r requirements.txt (line 3))
  Downloading zope.interface-4.1.3.tar.gz (141kB): 141kB downloaded
  Running setup.py (path:/tmp/pip-build-IhZNaR/zope.interface/setup.py) egg_info for package zope.interface
    
    warning: no previously-included files matching '*.dll' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    warning: no previously-included files matching 'coverage.xml' found anywhere in distribution
    no previously-included directories found matching 'docs/_build'
Downloading/unpacking zope.deprecation>=3.5.0 (from pyramid==1.5->-r requirements.txt (line 3))
  Downloading zope.deprecation-4.1.2.tar.gz (146kB): 146kB downloaded
  Running setup.py (path:/tmp/pip-build-IhZNaR/zope.deprecation/setup.py) egg_info for package zope.deprecation
    
    warning: no previously-included files matching '*.dll' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
Downloading/unpacking venusian>=1.0a3 (from pyramid==1.5->-r requirements.txt (line 3))
  Downloading venusian-1.0.tar.gz (45kB): 45kB downloaded
  Running setup.py (path:/tmp/pip-build-IhZNaR/venusian/setup.py) egg_info for package venusian
    
Downloading/unpacking translationstring>=0.4 (from pyramid==1.5->-r requirements.txt (line 3))
  Downloading translationstring-1.3-py2.py3-none-any.whl
Downloading/unpacking PasteDeploy>=1.5.0 (from pyramid==1.5->-r requirements.txt (line 3))
  Downloading PasteDeploy-1.5.2-py2.py3-none-any.whl
Downloading/unpacking zope.event (from zope.component==4.2.1->-r requirements.txt (line 9))
  Downloading zope.event-4.0.3.tar.gz (390kB): 390kB downloaded
  Running setup.py (path:/tmp/pip-build-IhZNaR/zope.event/setup.py) egg_info for package zope.event
    
    warning: no previously-included files matching '*.dll' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.7 (from konfig->mozsvc==0.8->-r requirements.txt (line 11))
Downloading/unpacking hawkauthlib>=0.1 (from pyramid-hawkauth->SyncStorage==1.5.11->-r requirements.txt (line 13))
  Downloading hawkauthlib-0.1.1.tar.gz
  Running setup.py (path:/tmp/pip-build-IhZNaR/hawkauthlib/setup.py) egg_info for package hawkauthlib
    
Downloading/unpacking tokenlib (from pyramid-hawkauth->SyncStorage==1.5.11->-r requirements.txt (line 13))
  Downloading tokenlib-0.3.1.tar.gz
  Running setup.py (path:/tmp/pip-build-IhZNaR/tokenlib/setup.py) egg_info for package tokenlib
    
Downloading/unpacking Paste (from wsgiproxy->SyncStorage==1.5.11->-r requirements.txt (line 13))
  Downloading Paste-2.0.2-py2-none-any.whl (610kB): 610kB downloaded
Downloading/unpacking six (from webtest->SyncStorage==1.5.11->-r requirements.txt (line 13))
  Downloading six-1.10.0-py2.py3-none-any.whl
Downloading/unpacking waitress>=0.8.5 (from webtest->SyncStorage==1.5.11->-r requirements.txt (line 13))
  Downloading waitress-0.8.10-py2-none-any.whl (119kB): 119kB downloaded
Downloading/unpacking beautifulsoup4 (from webtest->SyncStorage==1.5.11->-r requirements.txt (line 13))
  Downloading beautifulsoup4-4.4.1-py2-none-any.whl (81kB): 81kB downloaded
Installing collected packages: cornice, gunicorn, pyramid, WebOb, requests, simplejson, SQLAlchemy, unittest2, zope.component, configparser, konfig, mozsvc, PyBrowserID, testfixtures, tokenserver, pyramid-hawkauth, PyMySQL, pymysql-sa, umemcache, wsgiproxy, webtest, SyncStorage, repoze.lru, zope.interface, zope.deprecation, venusian, translationstring, PasteDeploy, zope.event, hawkauthlib, tokenlib, Paste, six, waitress, beautifulsoup4
  Running setup.py install for cornice
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'paster_plugins'
      warnings.warn(msg)
    
Compiling /tmp/pip-build-IhZNaR/gunicorn/gunicorn/workers/_gaiohttp.py ...
  File "/tmp/pip-build-IhZNaR/gunicorn/gunicorn/workers/_gaiohttp.py", line 64
    yield from self.wsgi.close()
             ^
SyntaxError: invalid syntax

  Running setup.py install for pyramid
    
*****************And many more lines of warnings and errors messages  ***********

The Makefile  is available in the git download. I'm not good at finding finding
errors at this level, and truth to tell this is the first time I've gotten some
source code from a git repository.

Please help.
-- 
Paul E Condon           
pecondon@mesanetworks.net


Reply to: