GithubHelp home page GithubHelp logo

Comments (2)

yutas avatar yutas commented on June 26, 2024

Well, I finally managed to make it, when changed in CMakeFiles/rabbitmq.dir/build.make
/usr/bin/python to /usr/bin/python2.7

from rabbitmq-c.

alanxz avatar alanxz commented on June 26, 2024

The code generator hasn't been updated to run under python 3.x. Try
building it with python 2.x.

On Tuesday, July 24, 2012, yutas wrote:

Hi, I can't build librabbitmq on my Archlinux neither with autoreconf nor
with cmake. In both cases I get the same syntax error:

~/tmp/bin-rabbitmq-c > make
[ 2%] Generating amqp_codegen.py
[ 4%] Generating codegen.py
[ 6%] Generating amqp_framing.h
File "/home/yutas/tmp/bin-rabbitmq-c/librabbitmq/codegen.py", line 50
print self.prefix + line
^
SyntaxError: invalid syntax
make[2]: *** [librabbitmq/amqp_framing.h] Error 1
make[1]: *** [librabbitmq/CMakeFiles/rabbitmq.dir/all] Error 2
make: *** [all] Error 2

I have python 3.2.3 and python-simplejson 2.5.2-1 installed. What may be
wrong?


Reply to this email directly or view it on GitHub:
#35

-Alan

Sent from my mobile device

from rabbitmq-c.

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.