Coder Social home page Coder Social logo

Building fails on Arch Linux about bjoern HOT 8 CLOSED

jonashaag avatar jonashaag commented on June 3, 2024
Building fails on Arch Linux

from bjoern.

Comments (8)

FSX avatar FSX commented on June 3, 2024

I think you need to install "libev" from community. That worked for me. I tested it in a virtual envorinment (virtualenv).

from bjoern.

foxbunny avatar foxbunny commented on June 3, 2024

Thanks. That did it.

from bjoern.

jonashaag avatar jonashaag commented on June 3, 2024

Apparently you linked against Python 3.1... does it work? I never tried bjoern with Python 3, so I'd love to get feedback about that!

from bjoern.

foxbunny avatar foxbunny commented on June 3, 2024

You're right. It did install, though. :) At least compilation works.

I haven't yet tested if the server would actually run. I'm using bottle framework, so I might try it with Py3k.

from bjoern.

foxbunny avatar foxbunny commented on June 3, 2024

Ok, so I don't think building works with Py3k because it misses cStringIO.h. I actually run it like python2 ./setup.py and thought that'd work. Here's the error:

gcc -pthread -march=x86-64 -mtune=generic -O2 -pipe -DNDEBUG    -march=x86-64 -mtune=generic -O2 -pipe -fPIC -DWANT_SENDFILE=1 -DWANT_SIGINT_HANDLING=1 -Ihttp-parser -I/usr/include/python3.1 -c    bjoern/request.c -o build/temp.linux-x86_64-3.1/bjoern/request.o -std=c99 -fno-strict-aliasing -Wall -Wextra -Wno-unused -g -fPIC
bjoern/request.c:2:23: fatal error: cStringIO.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

I'm only just getting used to Arch's Python setup.

from bjoern.

jonashaag avatar jonashaag commented on June 3, 2024

Mhm... Python 3 and WSGI isn't that easy anyway.

I guess you wrote your own ServerAdapter for bottle... would you mind contributing it to bottle "trunk"?

from bjoern.

foxbunny avatar foxbunny commented on June 3, 2024

No I haven't. And I've realized I'd have to eventually if I want to run on bjoern. I'm asking around the list first to see if anyone's done that, though.

from bjoern.

manujrastogi avatar manujrastogi commented on June 3, 2024

Just for an update install libev and libev-dev

from bjoern.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.