$ ./bootstrap.sh && ./configure –with-python3 && make
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory `.'
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –with-python3
checking for python2.7... python2.7
checking for virtualenv... virtualenv
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
rm -f ./bin/python
virtualenv --system-site-packages --python=python2.7 .
Running virtualenv with interpreter /usr/bin/python2.7
New python executable in /srv/gallery.geek-2.com/mediagoblin/bin/python2.7
Also creating executable in /srv/gallery.geek-2.com/mediagoblin/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
./bin/python setup.py develop --upgrade
running develop
running egg_info
creating mediagoblin.egg-info
writing requirements to mediagoblin.egg-info/requires.txt
writing mediagoblin.egg-info/PKG-INFO
writing top-level names to mediagoblin.egg-info/top_level.txt
writing dependency_links to mediagoblin.egg-info/dependency_links.txt
writing entry points to mediagoblin.egg-info/entry_points.txt
writing manifest file 'mediagoblin.egg-info/SOURCES.txt'
reading manifest file 'mediagoblin.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'mediagoblin.egg-info/SOURCES.txt'
running build_ext
Creating /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages/mediagoblin.egg-link (link to .)
Adding mediagoblin 0.9.0 to easy-install.pth file
Installing gmg script to /srv/gallery.geek-2.com/mediagoblin/bin
Installed /srv/gallery.geek-2.com/mediagoblin
Processing dependencies for mediagoblin==0.9.0
Searching for ExifRead
Reading https://pypi.org/simple/ExifRead/
Downloading https://files.pythonhosted.org/packages/eb/7d/b488697104d411c36fbe19a3b64d1219ef30aa0fa7640bad6381c6b0c4b9/ExifRead-2.1.2-py2-none-any.whl#sha256=4aa9d227db5c4cd65d87520076140a6f84e33363e08e649b87c7afec6bab60ab
Best match: ExifRead 2.1.2
Processing ExifRead-2.1.2-py2-none-any.whl
Installing ExifRead-2.1.2-py2-none-any.whl to /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages
Adding ExifRead 2.1.2 to easy-install.pth file
Installing EXIF.py script to /srv/gallery.geek-2.com/mediagoblin/bin
Installed /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages/ExifRead-2.1.2-py2.7.egg
Searching for mock==1.0.1
Reading https://pypi.org/simple/mock/
Downloading https://files.pythonhosted.org/packages/a2/52/7edcd94f0afb721a2d559a5b9aae8af4f8f2c79bc63fdbe8a8a6c9b23bbe/mock-1.0.1.tar.gz#sha256=b839dd2d9c117c701430c149956918a423a9863b48b09c90e30a6013e7d2f44f
Best match: mock 1.0.1
Processing mock-1.0.1.tar.gz
Writing /tmp/easy_install-BszIa0/mock-1.0.1/setup.cfg
Running mock-1.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-BszIa0/mock-1.0.1/egg-dist-tmp-Fc_v4x
warning: no files found matching '*.png' under directory 'docs'
warning: no files found matching '*.css' under directory 'docs'
warning: no files found matching '*.html' under directory 'docs'
warning: no files found matching '*.js' under directory 'docs'
zip_safe flag not set; analyzing archive contents...
Moving mock-1.0.1-py2.7.egg to /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages
Adding mock 1.0.1 to easy-install.pth file
Installed /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages/mock-1.0.1-py2.7.egg
Searching for sqlalchemy-migrate>=0.9.6
Reading https://pypi.org/simple/sqlalchemy-migrate/
Downloading https://files.pythonhosted.org/packages/1a/ba/0725bf5f54d0c5ed7c1da025215f288fb68ef4cc4966abfb76c1926ee0af/sqlalchemy_migrate-0.13.0-py2.py3-none-any.whl#sha256=e5d2348db19a5062132d93e3b4d9e7644af552fffbec4c78cc5358f848d2f6c1
Best match: sqlalchemy-migrate 0.13.0
Processing sqlalchemy_migrate-0.13.0-py2.py3-none-any.whl
Installing sqlalchemy_migrate-0.13.0-py2.py3-none-any.whl to /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages
Adding sqlalchemy-migrate 0.13.0 to easy-install.pth file
Installing migrate script to /srv/gallery.geek-2.com/mediagoblin/bin
Installing migrate-repository script to /srv/gallery.geek-2.com/mediagoblin/bin
Installed /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages/sqlalchemy_migrate-0.13.0-py2.7.egg
Searching for pyld
Reading https://pypi.org/simple/pyld/
Downloading https://files.pythonhosted.org/packages/eb/00/0db4f274fcdfe14596caf9b16a085bd22184c1cfae43144ab11f7c60324a/PyLD-2.0.2.tar.gz#sha256=d3ac99b9cadeebefbf032ba9951b66bb96438a237273a6c6aead8c15c7564ea9
Best match: PyLD 2.0.2
Processing PyLD-2.0.2.tar.gz
Writing /tmp/easy_install-J_ftSy/PyLD-2.0.2/setup.cfg
Running PyLD-2.0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-J_ftSy/PyLD-2.0.2/egg-dist-tmp-o_W6w4
File "build/bdist.linux-x86_64/egg/c14n/Canonicalize.py", line 125
def __init__(self, *, skipkeys=False, ensure_ascii=False,
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pyld/documentloader/aiohttp.py", line 32
async def async_loader(url, headers):
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/pyld/jsonld.py", line 2222
options = {**options, 'isFrame': False}
^
SyntaxError: invalid syntax
zip_safe flag not set; analyzing archive contents...
Moving PyLD-2.0.2-py2.7.egg to /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages
Adding PyLD 2.0.2 to easy-install.pth file
Installed /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages/PyLD-2.0.2-py2.7.egg
Searching for requests>=2.6.0
Reading https://pypi.org/simple/requests/
Downloading https://files.pythonhosted.org/packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl#sha256=43999036bfa82904b6af1d99e4882b560e5e2c68e5c4b0aa03b655f3d7d73fee
Best match: requests 2.23.0
Processing requests-2.23.0-py2.py3-none-any.whl
Installing requests-2.23.0-py2.py3-none-any.whl to /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages
Adding requests 2.23.0 to easy-install.pth file
Installed /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages/requests-2.23.0-py2.7.egg
Searching for PasteScript
Reading https://pypi.org/simple/PasteScript/
Downloading https://files.pythonhosted.org/packages/43/cb/90e367daf2685587665158092b4a78a26ba45b653cc9ca90175bc43b94ad/PasteScript-3.2.0-py2.py3-none-any.whl#sha256=a08970fdcd5fcd92d79c51fe356d7866f13d30e847bd2eed0351f9644236b3b8
Best match: PasteScript 3.2.0
Processing PasteScript-3.2.0-py2.py3-none-any.whl
Installing PasteScript-3.2.0-py2.py3-none-any.whl to /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages
Adding PasteScript 3.2.0 to easy-install.pth file
Installing paster script to /srv/gallery.geek-2.com/mediagoblin/bin
Installed /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages/PasteScript-3.2.0-py2.7.egg
Searching for PasteDeploy
Reading https://pypi.org/simple/PasteDeploy/
Downloading https://files.pythonhosted.org/packages/fb/18/196e5070ced83bb81edd83c79545232d1d2ec55e3a099a146a3333244a6b/PasteDeploy-2.1.0-py2.py3-none-any.whl#sha256=bc6578735a32c77435a3e0769426983d3df6dc53a7229290c495ec10aefb81a5
Best match: PasteDeploy 2.1.0
Processing PasteDeploy-2.1.0-py2.py3-none-any.whl
Installing PasteDeploy-2.1.0-py2.py3-none-any.whl to /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages
Adding PasteDeploy 2.1.0 to easy-install.pth file
Installed /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages/PasteDeploy-2.1.0-py2.7.egg
Searching for jsonschema
Reading https://pypi.org/simple/jsonschema/
Downloading https://files.pythonhosted.org/packages/c5/8f/51e89ce52a085483359217bc72cdbf6e75ee595d5b1d4b5ade40c7e018b8/jsonschema-3.2.0-py2.py3-none-any.whl#sha256=4e5b3cf8216f577bee9ce139cbe72eca3ea4f292ec60928ff24758ce626cd163
Best match: jsonschema 3.2.0
Processing jsonschema-3.2.0-py2.py3-none-any.whl
Installing jsonschema-3.2.0-py2.py3-none-any.whl to /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages
Adding jsonschema 3.2.0 to easy-install.pth file
Installing jsonschema script to /srv/gallery.geek-2.com/mediagoblin/bin
Installed /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages/jsonschema-3.2.0-py2.7.egg
Searching for unidecode
Reading https://pypi.org/simple/unidecode/
Downloading https://files.pythonhosted.org/packages/d0/42/d9edfed04228bacea2d824904cae367ee9efd05e6cce7ceaaedd0b0ad964/Unidecode-1.1.1-py2.py3-none-any.whl#sha256=1d7a042116536098d05d599ef2b8616759f02985c85b4fef50c78a5aaf10822a
Best match: Unidecode 1.1.1
Processing Unidecode-1.1.1-py2.py3-none-any.whl
Installing Unidecode-1.1.1-py2.py3-none-any.whl to /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages
Adding Unidecode 1.1.1 to easy-install.pth file
Installing unidecode script to /srv/gallery.geek-2.com/mediagoblin/bin
Installed /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages/Unidecode-1.1.1-py2.7.egg
Searching for oauthlib
Reading https://pypi.org/simple/oauthlib/
Downloading https://files.pythonhosted.org/packages/05/57/ce2e7a8fa7c0afb54a0581b14a65b56e62b5759dbc98e80627142b8a3704/oauthlib-3.1.0-py2.py3-none-any.whl#sha256=df884cd6cbe20e32633f1db1072e9356f53638e4361bef4e8b03c9127c9328ea
Best match: oauthlib 3.1.0
Processing oauthlib-3.1.0-py2.py3-none-any.whl
Installing oauthlib-3.1.0-py2.py3-none-any.whl to /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages
Adding oauthlib 3.1.0 to easy-install.pth file
Installed /srv/gallery.geek-2.com/mediagoblin/lib/python2.7/site-packages/oauthlib-3.1.0-py2.7.egg
Searching for sphinx
Reading https://pypi.org/simple/sphinx/
Downloading https://files.pythonhosted.org/packages/12/a9/41a67d6638323b763b284a80b57461fe3557b128efcce892360cd73879ce/Sphinx-3.0.3.tar.gz#sha256=62edfd92d955b868d6c124c0942eba966d54b5f3dcb4ded39e65f74abac3f572
Best match: Sphinx 3.0.3
Processing Sphinx-3.0.3.tar.gz
Writing /tmp/easy_install-pWMSkr/Sphinx-3.0.3/setup.cfg
Running Sphinx-3.0.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-pWMSkr/Sphinx-3.0.3/egg-dist-tmp-j4Sc7L
Traceback (most recent call last):
File "setup.py", line 142, in <module>
"Topic :: Internet :: WWW/HTTP :: Dynamic Content"
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/command/develop.py", line 38, in run
self.install_for_development()
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/command/develop.py", line 156, in install_for_development
self.process_distribution(None, self.dist, not self.no_deps)
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 758, in process_distribution
[requirement], self.local_index, self.easy_install
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 774, in resolve
replace_conflicting=replace_conflicting
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1057, in best_match
return self.obtain(req, installer)
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1069, in obtain
return installer(requirement)
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 685, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 711, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 896, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1164, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1150, in run_setup
run_setup(setup_script, args)
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 253, in run_setup
raise
File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/srv/gallery.geek-2.com/mediagoblin/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-pWMSkr/Sphinx-3.0.3/setup.py", line 8, in <module>
#
File "/tmp/easy_install-pWMSkr/Sphinx-3.0.3/sphinx/__init__.py", line 20, in <module>
File "/tmp/easy_install-pWMSkr/Sphinx-3.0.3/sphinx/deprecation.py", line 32
def deprecated_alias(modname: str, objects: Dict, warning: "Type[Warning]") -> None:
^
SyntaxError: invalid syntax
Makefile:123: recipe for target 'bin/python' failed
make: *** [bin/python] Error 1
请登录后发言!