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
Win32 Install Error #32
Comments
I've never tried to compile in Win32, but I think this is an obvious incompatibility in the arguments passed to the compiler. I think this can be rectified in the If you manage to get it to work in Win32, I'll be happy to patch the setup.py to add Win32 conditionals. Furthermore, I notice |
Yep, as Naveen mentioned, I really don't think we can target Windows as a compatible platform for this library. It really was designed and tested on Linux only. As such, I will be closing this case. Cheers |
I've actually been playing around with trying to make this compile on Windows today. I've made a little (if truly any) progress. I didn't realize how truly terrible/rusty I am with C/C++ until I spent the last few hours working with errors. Thus far I have:
This, of course, opened up a whole can of worms with cross-platform compatibility. So in
Now I'm just encountering an issue with some enumerators, specifically: I don't see any of these being predefined macros in VS 2010. I suppose it could be I guess I should open this up as a Visual Studio project to get more details, |
Ok, it's definitely EDIT Just to invite a little humor, I felt like I was taking a 100-level CS course all over again by cutting and pasting this block around to figure out where the issue was.
|
Hi All,
Stumbled on a install problem on windows 7 which I'm guessing has something to do with the native windows compiler but google search does not seem to have a fix. Install output bellow, any suggestions on how to fix this is appreciated. Thanks, Phil
C:\scripts\GIT\easysnmp>python setup.py install
'net-snmp-config' is not recognized as an internal or external command,
operable program or batch file.
C:\Python34\lib\site-packages\setuptools-18.2-py3.4.egg\setuptools\dist.py:285: UserWarning: Normalizing '0.2.5-dev' to '0.2.5.dev
0'
running install
running bdist_egg
running egg_info
creating easysnmp.egg-info
writing dependency_links to easysnmp.egg-info\dependency_links.txt
writing top-level names to easysnmp.egg-info\top_level.txt
writing easysnmp.egg-info\PKG-INFO
writing manifest file 'easysnmp.egg-info\SOURCES.txt'
reading manifest file 'easysnmp.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'easysnmp.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
creating build
creating build\lib.win32-3.4
creating build\lib.win32-3.4\easysnmp
copying easysnmp\compat.py -> build\lib.win32-3.4\easysnmp
copying easysnmp\easy.py -> build\lib.win32-3.4\easysnmp
copying easysnmp\exceptions.py -> build\lib.win32-3.4\easysnmp
copying easysnmp\helpers.py -> build\lib.win32-3.4\easysnmp
copying easysnmp\session.py -> build\lib.win32-3.4\easysnmp
copying easysnmp\utils.py -> build\lib.win32-3.4\easysnmp
copying easysnmp\variables.py -> build\lib.win32-3.4\easysnmp
copying easysnmp__init__.py -> build\lib.win32-3.4\easysnmp
running build_ext
building 'easysnmp.interface' extension
creating build\temp.win32-3.4
creating build\temp.win32-3.4\Release
creating build\temp.win32-3.4\Release\easysnmp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python34\include -IC:
Python34\include /Tceasysnmp/interface.c /Fobuild\temp.win32-3.4\Release\easysnmp/interface.obj -Wno-unused-function
cl : Command line error D8021 : invalid numeric argument '/Wno-unused-function'
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe' failed with exit status 2
C:\scripts\GIT\easysnmp>python setup.py build
'net-snmp-config' is not recognized as an internal or external command,
operable program or batch file.
C:\Python34\lib\site-packages\setuptools-18.2-py3.4.egg\setuptools\dist.py:285: UserWarning: Normalizing '0.2.5-dev' to '0.2.5.dev
0'
running build
running build_py
running build_ext
building 'easysnmp.interface' extension
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python34\include -IC:
Python34\include /Tceasysnmp/interface.c /Fobuild\temp.win32-3.4\Release\easysnmp/interface.obj -Wno-unused-function
cl : Command line error D8021 : invalid numeric argument '/Wno-unused-function'
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe' failed with exit status 2
The text was updated successfully, but these errors were encountered: