Comments (5)
You need to install libev
from bjoern.
I'm installed libev ,but It's the same to down...
Last login: Mon Feb 13 10:00:58 2012 from 222.131.243.240
[root@localhost ~]# sudo yum install libev
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.grandcloud.cn
* epel: mirrors.sohu.com
* extras: mirrors.grandcloud.cn
* updates: mirrors.grandcloud.cn
base | 1.1 kB 00:00
epel | 3.7 kB 00:00
Not using downloaded repomd.xml because it is older than what we have:
Current : Wed Feb 8 03:10:22 2012
Downloaded: Sun Dec 18 02:56:13 2011
extras | 2.1 kB 00:00
nginx | 1.2 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package libev-4.03-2.el5.x86_64 already installed and latest version
Package libev-4.03-2.el5.i386 already installed and latest version
Nothing to do
[root@localhost ~]# pip install bjoern
Downloading/unpacking bjoern
bjoern Downloading bjoern-1.2.tar.gz
Running setup.py egg_info for package bjoern
Installing collected packages: bjoern
Running setup.py install for bjoern
building 'bjoern' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWANT_SENDFILE=1 -DWANT_SIGINT_HANDLING=1 -Ihttp-parser -I/usr/local/include/python2.6 -c http-parser/http_parser.c -o build/temp.linux-x86_64-2.6/http-parser/http_parser.o -std=c99 -fno-strict-aliasing -Wall -Wextra -Wno-unused -g -fPIC
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWANT_SENDFILE=1 -DWANT_SIGINT_HANDLING=1 -Ihttp-parser -I/usr/local/include/python2.6 -c bjoern/wsgi.c -o build/temp.linux-x86_64-2.6/bjoern/wsgi.o -std=c99 -fno-strict-aliasing -Wall -Wextra -Wno-unused -g -fPIC
In file included from bjoern/wsgi.c:1:
bjoern/common.h:24: warning: function declaration isn’t a prototype
In file included from bjoern/wsgi.c:3:
bjoern/filewrapper.h:12: warning: function declaration isn’t a prototype
In file included from bjoern/wsgi.h:2,
from bjoern/wsgi.c:4:
bjoern/request.h:4:16: error: ev.h: No such file or directory
In file included from bjoern/wsgi.h:2,
from bjoern/wsgi.c:4:
bjoern/request.h:33: error: expected specifier-qualifier-list before ‘ev_io’
bjoern/wsgi.c: In function ‘wsgi_call_application’:
bjoern/wsgi.c:24: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:25: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:89: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:90: error: ‘Request’ has no member named ‘iterable’
bjoern/wsgi.c:91: error: ‘Request’ has no member named ‘iterable’
bjoern/wsgi.c:93: error: ‘Request’ has no member named ‘iterator’
bjoern/wsgi.c:97: error: ‘Request’ has no member named ‘iterable’
bjoern/wsgi.c:98: error: ‘Request’ has no member named ‘iterator’
bjoern/wsgi.c:99: error: ‘Request’ has no member named ‘iterator’
bjoern/wsgi.c:106: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:120: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:120: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:121: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:123: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:145: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:160: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:161: error: ‘Request’ has no member named ‘current_chunk’
bjoern/wsgi.c:162: error: ‘Request’ has no member named ‘current_chunk_p’
bjoern/wsgi.c: In function ‘inspect_headers’:
bjoern/wsgi.c:172: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:173: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:185: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:190: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘Py_ssize_t’
bjoern/wsgi.c: In function ‘wsgi_getheaders’:
bjoern/wsgi.c:209: error: ‘Request’ has no member named ‘status’
bjoern/wsgi.c:209: error: ‘Request’ has no member named ‘status’
bjoern/wsgi.c:212: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:213: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:221: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c: At top level:
bjoern/wsgi.h:5: warning: ‘wsgi_iterable_get_next_chunk’ declared inline after being called
bjoern/wsgi.h:5: warning: previous declaration of ‘wsgi_iterable_get_next_chunk’ was here
bjoern/wsgi.c: In function ‘wsgi_iterable_get_next_chunk’:
bjoern/wsgi.c:234: error: ‘Request’ has no member named ‘iterator’
bjoern/wsgi.c: In function ‘start_response’:
bjoern/wsgi.c:268: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:271: error: ‘Request’ has no member named ‘status’
bjoern/wsgi.c:271: error: ‘Request’ has no member named ‘status’
bjoern/wsgi.c:271: error: ‘Request’ has no member named ‘status’
bjoern/wsgi.c:272: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:272: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:272: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:273: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:290: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:300: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:315: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:318: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:322: error: ‘Request’ has no member named ‘status’
bjoern/wsgi.c:324: error: ‘Request’ has no member named ‘status’
bjoern/wsgi.c:325: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:327: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c: At top level:
bjoern/wsgi.c:340: warning: missing initializer
bjoern/wsgi.c:340: warning: (near initialization for ‘StartResponse_Type.tp_str’)
bjoern/wsgi.c: In function ‘should_keep_alive’:
bjoern/wsgi.c:352: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c: In function ‘wrap_http_chunk_cruft_around’:
bjoern/wsgi.c:372: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘size_t’
error: command 'gcc' failed with exit status 1
Complete output from command /usr/local/bin/python -c "import setuptools;__file__='/root/build/bjoern/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-b9H27v-record/install-record.txt:
running install
running build
running build_ext
building 'bjoern' extension
creating build
creating build/temp.linux-x86_64-2.6
creating build/temp.linux-x86_64-2.6/http-parser
creating build/temp.linux-x86_64-2.6/bjoern
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWANT_SENDFILE=1 -DWANT_SIGINT_HANDLING=1 -Ihttp-parser -I/usr/local/include/python2.6 -c http-parser/http_parser.c -o build/temp.linux-x86_64-2.6/http-parser/http_parser.o -std=c99 -fno-strict-aliasing -Wall -Wextra -Wno-unused -g -fPIC
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWANT_SENDFILE=1 -DWANT_SIGINT_HANDLING=1 -Ihttp-parser -I/usr/local/include/python2.6 -c bjoern/wsgi.c -o build/temp.linux-x86_64-2.6/bjoern/wsgi.o -std=c99 -fno-strict-aliasing -Wall -Wextra -Wno-unused -g -fPIC
In file included from bjoern/wsgi.c:1:
bjoern/common.h:24: warning: function declaration isn’t a prototype
In file included from bjoern/wsgi.c:3:
bjoern/filewrapper.h:12: warning: function declaration isn’t a prototype
In file included from bjoern/wsgi.h:2,
from bjoern/wsgi.c:4:
bjoern/request.h:4:16: error: ev.h: No such file or directory
In file included from bjoern/wsgi.h:2,
from bjoern/wsgi.c:4:
bjoern/request.h:33: error: expected specifier-qualifier-list before ‘ev_io’
bjoern/wsgi.c: In function ‘wsgi_call_application’:
bjoern/wsgi.c:24: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:25: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:89: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:90: error: ‘Request’ has no member named ‘iterable’
bjoern/wsgi.c:91: error: ‘Request’ has no member named ‘iterable’
bjoern/wsgi.c:93: error: ‘Request’ has no member named ‘iterator’
bjoern/wsgi.c:97: error: ‘Request’ has no member named ‘iterable’
bjoern/wsgi.c:98: error: ‘Request’ has no member named ‘iterator’
bjoern/wsgi.c:99: error: ‘Request’ has no member named ‘iterator’
bjoern/wsgi.c:106: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:120: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:120: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:121: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:123: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:145: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:160: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:161: error: ‘Request’ has no member named ‘current_chunk’
bjoern/wsgi.c:162: error: ‘Request’ has no member named ‘current_chunk_p’
bjoern/wsgi.c: In function ‘inspect_headers’:
bjoern/wsgi.c:172: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:173: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:185: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:190: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘Py_ssize_t’
bjoern/wsgi.c: In function ‘wsgi_getheaders’:
bjoern/wsgi.c:209: error: ‘Request’ has no member named ‘status’
bjoern/wsgi.c:209: error: ‘Request’ has no member named ‘status’
bjoern/wsgi.c:212: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:213: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:221: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c: At top level:
bjoern/wsgi.h:5: warning: ‘wsgi_iterable_get_next_chunk’ declared inline after being called
bjoern/wsgi.h:5: warning: previous declaration of ‘wsgi_iterable_get_next_chunk’ was here
bjoern/wsgi.c: In function ‘wsgi_iterable_get_next_chunk’:
bjoern/wsgi.c:234: error: ‘Request’ has no member named ‘iterator’
bjoern/wsgi.c: In function ‘start_response’:
bjoern/wsgi.c:268: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:271: error: ‘Request’ has no member named ‘status’
bjoern/wsgi.c:271: error: ‘Request’ has no member named ‘status’
bjoern/wsgi.c:271: error: ‘Request’ has no member named ‘status’
bjoern/wsgi.c:272: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:272: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:272: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:273: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:290: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:300: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c:315: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:318: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:322: error: ‘Request’ has no member named ‘status’
bjoern/wsgi.c:324: error: ‘Request’ has no member named ‘status’
bjoern/wsgi.c:325: error: ‘Request’ has no member named ‘headers’
bjoern/wsgi.c:327: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c: At top level:
bjoern/wsgi.c:340: warning: missing initializer
bjoern/wsgi.c:340: warning: (near initialization for ‘StartResponse_Type.tp_str’)
bjoern/wsgi.c: In function ‘should_keep_alive’:
bjoern/wsgi.c:352: error: ‘Request’ has no member named ‘state’
bjoern/wsgi.c: In function ‘wrap_http_chunk_cruft_around’:
bjoern/wsgi.c:372: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘size_t’
error: command 'gcc' failed with exit status 1
----------------------------------------
Command /usr/local/bin/python -c "import setuptools;__file__='/root/build/bjoern/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-b9H27v-record/install-record.txt failed with error code 1
Storing complete log in /root/.pip/pip.log
from bjoern.
(Please use code blocks.)
bjoern/request.h:4:16: error: ev.h: No such file or directory
I don't know why you don't have libev headers. Maybe install something like libev-devel
.
from bjoern.
thks jona!
I'm installed !use this way!
export CFLAGS=-I/usr/include/libev
python setup.py install
from bjoern.
bad1374 CentOS install instructions
from bjoern.
Related Issues (20)
- Bjoern 200-300 rps vs gunicorn 500/600 rps HOT 1
- site don't work
- pip install fails - missing http_parser.h HOT 2
- How to trigger server restart on source file changes? HOT 1
- Build fails on M1 Mac using Homebrew HOT 9
- calling from command line like gunicorn in Profcfile HOT 2
- Build bjoern error in mac m1 with command `pip3 install --global-option=build_ext --global-option="-I/opt/homebrew/include" bjoern` HOT 6
- Production use HOT 1
- Remove flask example HOT 5
- pip install not working on ubuntu 20.04 HOT 5
- Compilation terminated - fatal error: http_parser.h: No such file or directory HOT 1
- Extending to asgi HOT 7
- pip install error HOT 1
- Autostart after changes HOT 1
- broken pipe after running for a while HOT 3
- symbol not found in flat namespace '_ev_cleanup_start'
- pip installation fails (bjoern/request.h:4:10: fatal error: 'ev.h' file not found) HOT 2
- Apple Silicon build not supported. HOT 7
- ev.h not found; command /usr/bin/gcc exit failed with exit code 1 HOT 3
- Processed request response stuck when workers are not available HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bjoern.