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

Windows install fails #26

Open
tink044 opened this issue Mar 26, 2013 · 3 comments
Open

Windows install fails #26

tink044 opened this issue Mar 26, 2013 · 3 comments

Comments

@tink044
Copy link

tink044 commented Mar 26, 2013

Fresh install of Windows 7, python2.6.4, gnuwin32 and git. All working i.e. %path% is correct.

pip install librabbitmq & easy_install librabbitmq result in the same thing. As does getting the latest via git (librabbitmq-master)..

I normally get "no module named librabbitmq" but if i install from git I get "no module named _librabbitmq". Basically the only files that get copied into my site-packages directory are the informational egg directory.

Any ideas?

@tink044
Copy link
Author

tink044 commented Mar 27, 2013

Example of what I get with the latest version:

C:\Users\Administrator\Downloads\librabbitmq-1.0.1\librabbitmq-1.0.1>setup.py install
running install
running bdist_egg
running egg_info
writing librabbitmq.egg-info\PKG-INFO
writing top-level names to librabbitmq.egg-info\top_level.txt
writing dependency_links to librabbitmq.egg-info\dependency_links.txt
reading manifest file 'librabbitmq.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '' under directory 'tests'
no previously-included directories found matching '
.o'
no previously-included directories found matching '.la'
no previously-included directories found matching '
.so'
no previously-included directories found matching '*.dylib'
writing manifest file 'librabbitmq.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
creating build\bdist.win32\egg
creating build\bdist.win32\egg\pkgconfig
copying build\lib\pkgconfig\librabbitmq.pc -> build\bdist.win32\egg\pkgconfig
copying build\lib\rabbitmq.1.lib -> build\bdist.win32\egg
creating build\bdist.win32\egg\EGG-INFO
copying librabbitmq.egg-info\PKG-INFO -> build\bdist.win32\egg\EGG-INFO
copying librabbitmq.egg-info\SOURCES.txt -> build\bdist.win32\egg\EGG-INFO
copying librabbitmq.egg-info\dependency_links.txt -> build\bdist.win32\egg\EGG-INFO
copying librabbitmq.egg-info\not-zip-safe -> build\bdist.win32\egg\EGG-INFO
copying librabbitmq.egg-info\top_level.txt -> build\bdist.win32\egg\EGG-INFO
creating 'dist\librabbitmq-1.0.1-py2.6.egg' and adding 'build\bdist.win32\egg' to it
removing 'build\bdist.win32\egg' (and everything under it)
Processing librabbitmq-1.0.1-py2.6.egg
removing 'c:\python26\lib\site-packages\librabbitmq-1.0.1-py2.6.egg' (and everything under it)
creating c:\python26\lib\site-packages\librabbitmq-1.0.1-py2.6.egg
Extracting librabbitmq-1.0.1-py2.6.egg to c:\python26\lib\site-packages
Removing librabbitmq 1.0.0 from easy-install.pth file
Adding librabbitmq 1.0.1 to easy-install.pth file

Installed c:\python26\lib\site-packages\librabbitmq-1.0.1-py2.6.egg
Processing dependencies for librabbitmq==1.0.1
Finished processing dependencies for librabbitmq==1.0.1

@ask
Copy link
Contributor

ask commented Mar 28, 2013

librabbitmq does not support Windows at this point, as it depends on a working make and configure.
I just noticed that there is a Windows classifier for the package but this must have been left there in error.

I'm not sure how much work there would be in supporting it on Windows, and I don't have much experience with that platform. I think the rabbitmq-c library itself supports Windows, but have no idea how to automatically build it (which would require a working copy of Visual Studio). The best way would probably be to create Windows binaries, but I do not currently have the time to work on this (nor do I have Windows available)

@soandos
Copy link

soandos commented Sep 18, 2014

I don't know how to get windows to support it (I ran into this issue as well), but I do know that its probably not that much work.

I was able to use cmake to generate the rabbitmq dll file after just replacing unistd with winsock2.

The only remaining issue is that it wants to link against Python.lib, and I know nothing about that.

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

3 participants