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

version 2 on pypi #118

Closed
mehdipourfar opened this issue Apr 30, 2018 · 13 comments
Closed

version 2 on pypi #118

mehdipourfar opened this issue Apr 30, 2018 · 13 comments

Comments

@mehdipourfar
Copy link

Version 2 is unavailable at pypi. I cannot use it with python3.

@auvipy
Copy link
Member

auvipy commented Apr 30, 2018

py-amqp is the recommended tool

@auvipy
Copy link
Member

auvipy commented May 30, 2018

i would like to deprecate this package

@salestial
Copy link

salestial commented Oct 4, 2018

What was the fix please? Because it's still failing to build from file. Specifically this command is failing:

pip install librabbitmq-2.0.0.tar.gz

I get the 'AMQ_PLATFORM' undeclared error. Here's the full traceback I get:

`
/tmp/pip-req-build-zk7s2jvx/rabbitmq-c/librabbitmq/amqp_socket.c: In function 'amqp_poll':

/tmp/pip-req-build-zk7s2jvx/rabbitmq-c/librabbitmq/amqp_socket.c:355:3: error: #error "poll() or select() is needed to compile rabbitmq-c"

 # error "poll() or select() is needed to compile rabbitmq-c"

   ^~~~~

/tmp/pip-req-build-zk7s2jvx/rabbitmq-c/librabbitmq/amqp_socket.c: In function 'amqp_login_inner':

/tmp/pip-req-build-zk7s2jvx/rabbitmq-c/librabbitmq/amqp_socket.c:1334:53: error: 'AMQ_PLATFORM' undeclared (first use in this function)

         amqp_table_construct_utf8_entry("platform", AMQ_PLATFORM);

                                                     ^~~~~~~~~~~~

/tmp/pip-req-build-zk7s2jvx/rabbitmq-c/librabbitmq/amqp_socket.c:1334:53: note: each undeclared identifier is reported only once for each function it appears in

/tmp/pip-req-build-zk7s2jvx/rabbitmq-c/librabbitmq/amqp_socket.c: In function 'amqp_poll':

/tmp/pip-req-build-zk7s2jvx/rabbitmq-c/librabbitmq/amqp_socket.c:357:1: warning: control reaches end of non-void function [-Wreturn-type]

 }

 ^
error: command '/home/beowulf/miniconda3/envs/evaconda/bin/x86_64-conda_cos6-linux-gnu-cc' failed with exit status 1

error
`

Thanks!

@salestial
Copy link

@thedrow thanks!

@swatinair123
Copy link

@salestial even i am facing the dsame isssues .How to resolve it?

nikolas added a commit to ccnmtl/capsim that referenced this issue Dec 21, 2018
Note that librabbitmq is removed: I was running into some compile errors
that I was unable to solve, and it seems that the
[py-amqp](https://github.com/celery/py-amqp), which was already included
in the requirements.txt, may actually be recommended over librabbitmq:
celery/librabbitmq#118 (comment)

py-amqp (actual package name is just amqp) is an API-compatible
alternative to librabbitmq that just uses Python without any C
requirements.
nikolas added a commit to ccnmtl/capsim that referenced this issue Dec 21, 2018
Note that librabbitmq is removed: I was running into some compile errors
that I was unable to solve, and it seems that the
[py-amqp](https://github.com/celery/py-amqp), which was already included
in the requirements.txt, may actually be recommended over librabbitmq:
celery/librabbitmq#118 (comment)

py-amqp (actual package name is just amqp) is an API-compatible
alternative to librabbitmq that just uses Python without any C
requirements.
nikolas added a commit to ccnmtl/capsim that referenced this issue Dec 21, 2018
Note that librabbitmq is removed: I was running into some compile errors
that I was unable to solve, and it seems that the
[py-amqp](https://github.com/celery/py-amqp), which was already included
in the requirements.txt, may actually be recommended over librabbitmq:
celery/librabbitmq#118 (comment)

py-amqp (actual package name is just amqp) is an API-compatible
alternative to librabbitmq that just uses Python without any C
requirements.
nikolas added a commit to ccnmtl/capsim that referenced this issue Dec 21, 2018
Note that librabbitmq is removed: I was running into some compile errors
that I was unable to solve, and it seems that the
[py-amqp](https://github.com/celery/py-amqp), which was already included
in the requirements.txt, may actually be recommended over librabbitmq:
celery/librabbitmq#118 (comment)

py-amqp (actual package name is just amqp) is an API-compatible
alternative to librabbitmq that just uses Python without any C
requirements.
nikolas added a commit to ccnmtl/capsim that referenced this issue Dec 21, 2018
Note that librabbitmq is removed: I was running into some compile errors
that I was unable to solve, and it seems that the
[py-amqp](https://github.com/celery/py-amqp), which was already included
in the requirements.txt, may actually be recommended over librabbitmq:
celery/librabbitmq#118 (comment)

py-amqp (actual package name is just amqp) is an API-compatible
alternative to librabbitmq that just uses Python without any C
requirements.
nikolas added a commit to ccnmtl/capsim that referenced this issue Dec 21, 2018
Note that librabbitmq is removed: I was running into some compile errors
that I was unable to solve, and it seems that the
[py-amqp](https://github.com/celery/py-amqp), which was already included
in the requirements.txt, may actually be recommended over librabbitmq:
celery/librabbitmq#118 (comment)

py-amqp (actual package name is just amqp) is an API-compatible
alternative to librabbitmq that just uses Python without any C
requirements.
@dooferlad
Copy link

To compile the C library you need cmake, libtool and autoconf. I think that is all the packages. If you can clone https://github.com/alanxz/rabbitmq-c and build it then this will compile correctly.

nikolas added a commit to ccnmtl/mediathread that referenced this issue Sep 11, 2019
librabbitmq 2.0.0 fails to compile in Linux

See:
* celery/librabbitmq#118
* ccnmtl/capsim@ff43409
@gladsonvm
Copy link

To compile the C library you need cmake, libtool and autoconf. I think that is all the packages. If you can clone https://github.com/alanxz/rabbitmq-c and build it then this will compile correctly.

This fixed my issue

@ColCh
Copy link

ColCh commented Sep 20, 2021

How to install that: sudo apt-get install cmake libtool autoconf

REF: alanxz/rabbitmq-c#541 (comment)

@mostafabarmshory
Copy link

libtool

Dear @ColCh , tx bro, this resolves my problem.

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

9 participants