Skip to content
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

Could not build uvloop: uvloop/loop.c no such file or directory #2

Closed
sametmax opened this issue Jan 26, 2016 · 6 comments
Closed

Could not build uvloop: uvloop/loop.c no such file or directory #2

sametmax opened this issue Jan 26, 2016 · 6 comments

Comments

@sametmax
Copy link

Hi,

I tried to build the project to run the test on my machine (Ubuntu 14.04, 64b).

First I had to install automake and libtool (you may want to add this step on the readme), then running make I got:

    building 'uvloop.loop' extension
    creating build
    creating build/temp.linux-x86_64-3.5
    creating build/temp.linux-x86_64-3.5/uvloop
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -I/home/user/.local/share/virtualenvs/ace813a9968fde5/include/python3.5m -Ivendor/libuv/include -c uvloop/loop.c -o build/temp.linux-x86_64-3.5/uvloop/loop.o
    x86_64-linux-gnu-gcc: error: uvloop/loop.c: No such file or directory
    x86_64-linux-gnu-gcc: fatal error: no input files
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 4
    make: *** [compile] Erreur 1
@1st1
Copy link
Member

1st1 commented Jan 26, 2016

The project isn't even in its "alpha" state right now ;)

To build you need cython, and to clone the repo with '--recursive'. Then simply run "make"

@sametmax
Copy link
Author

I just wanted to test it here to report failing test, hoping it would help you since I like the project. If you think it's too early for that, I can do that when the project is more mature. I don't want to add noise.

After installing cython, I could run the test and good news:

$ make test
PYTHONASYNCIODEBUG=1 python3 -m unittest discover -s tests
.................................................
----------------------------------------------------------------------
Ran 49 tests in 13.877s

OK
python3 -m unittest discover -s tests
.................................................
----------------------------------------------------------------------
Ran 49 tests in 1.992s

OK

Let me know if you need me test more stuff :)

@1st1
Copy link
Member

1st1 commented Jan 26, 2016

I'm working on the project right now. Have a bunch of changes to push. I think we'll have an alpha pretty soon.

@sametmax
Copy link
Author

Just pinging to get some news on the project. Again, if you need me to run tests on some machines, let me know.

@1st1
Copy link
Member

1st1 commented Mar 17, 2016

I'm a bit distracted by a few other projects, but I'm going to find some time to push uvloop to alpha soon. I need it for our core product in my firm, so be sure -- the project isn't dead ;)

@1st1
Copy link
Member

1st1 commented May 3, 2016

Closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants