-
Notifications
You must be signed in to change notification settings - Fork 394
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
Build broken with ZSH #362
Comments
pull requests are welcomed for fixing this
…On Fri, Jul 7, 2017 at 11:15 AM, John Cant ***@***.***> wrote:
The build is broken when run inside ZSH due to BASH-specific shell
expansions. Workaround:
SHELL=/bin/bash python setup.py install
Output of python setup.py install
$ python setup.py install
checking for GEOS lib in /home/john ....
checking for GEOS lib in /home/john/local ....
checking for GEOS lib in /usr ....
GEOS lib (version 3.5.0) found in /usr
/usr/lib64/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
/usr/lib64/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'namespace_packages'
warnings.warn(msg)
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "_geoslib" sources
build_src: building npy-pkg config files
running build_py
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building '_geoslib' extension
compiling C sources
C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC
compile options: '-I/usr/include -I['/home/john/src/v3/lib/python3.6/site-packages/numpy/core/include'] -I/home/john/src/v3/lib/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c'
gcc: src/_geoslib.c
zsh:1: no matches found: -I[/home/john/src/v3/lib/python3.6/site-packages/numpy/core/include]
zsh:1: no matches found: -I[/home/john/src/v3/lib/python3.6/site-packages/numpy/core/include]
error: Command "gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -I/usr/include -I['/home/john/src/v3/lib/python3.6/site-packages/numpy/core/include'] -I/home/john/src/v3/lib/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c src/_geoslib.c -o build/temp.linux-x86_64-3.6/src/_geoslib.o -MMD -MF build/temp.linux-x86_64-3.6/src/_geoslib.o.d" failed with exit status 1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#362>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARy-Dmjk62_oB7RJx6Fk-By9ZcK5F8Lks5sLkuKgaJpZM4ORE3z>
.
|
Same error for me, the problem is on line 80 of setup.py:
Should be:
|
With the I have tried to run the It would be great if you can confirm whether or not the problem persists for you. If the problem is gone, I will be glad of marking this issue as solved and close it. |
Closing since this is duplicate of #383 and it is solved in the main branch. |
The build is broken when run inside ZSH due to BASH-specific shell expansions. Workaround:
Output of
python setup.py install
The text was updated successfully, but these errors were encountered: