forked from dmcc/bllip-parser
-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
When I try to build it with Python 3.5 I get the following error
Collecting bllipparser
Using cached bllipparser-2015.12.3.tar.gz
Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python3.5/site-packages (from bllipparser)
Installing collected packages: bllipparser
Running setup.py install for bllipparser ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-84szdo98/bllipparser/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-hkxweaja-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.5
creating build/lib.linux-x86_64-3.5/bllipparser
copying python/bllipparser/CharniakParser.py -> build/lib.linux-x86_64-3.5/bllipparser
copying python/bllipparser/ModelFetcher.py -> build/lib.linux-x86_64-3.5/bllipparser
copying python/bllipparser/RerankingParser.py -> build/lib.linux-x86_64-3.5/bllipparser
copying python/bllipparser/ParsingShell.py -> build/lib.linux-x86_64-3.5/bllipparser
copying python/bllipparser/__init__.py -> build/lib.linux-x86_64-3.5/bllipparser
copying python/bllipparser/JohnsonReranker.py -> build/lib.linux-x86_64-3.5/bllipparser
copying python/bllipparser/Utility.py -> build/lib.linux-x86_64-3.5/bllipparser
copying python/bllipparser/RerankerFeatureCorpus.py -> build/lib.linux-x86_64-3.5/bllipparser
copying python/bllipparser/__main__.py -> build/lib.linux-x86_64-3.5/bllipparser
running build_ext
building 'bllipparser._CharniakParser' extension
creating build/temp.linux-x86_64-3.5
creating build/temp.linux-x86_64-3.5/first-stage
creating build/temp.linux-x86_64-3.5/first-stage/PARSE
creating build/temp.linux-x86_64-3.5/first-stage/PARSE/swig
gcc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -Ifirst-stage/PARSE/ -I/usr/include/python3.5m -c first-stage/PARSE/swig/wrapper.C -o build/temp.linux-x86_64-3.5/first-stage/PARSE/swig/wrapper.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
first-stage/PARSE/swig/wrapper.C:30900:1: error: too many initializers for ‘PyAsyncMethods’
};
^
... more errors ensue....
I've never touched swig in my life, but looking at this it's seems that wrapper.C is not being regenerated properly.
Metadata
Metadata
Assignees
Labels
No labels