codypiersall / pynng

Python bindings for Nanomsg Next Generation.
https://pynng.readthedocs.io
MIT License
260 stars 58 forks source link

building pynng on conda-forge #93

Closed carlodri closed 1 year ago

carlodri commented 2 years ago

Hi, I'm trying to build pynng for windows on the conda-forge package infrastructure here but I'm running into trouble and I'm a bit lost. If someone can give me a hand there I would be very grateful!

Here are the failing pipelines: https://dev.azure.com/conda-forge/feedstock-builds/_build?definitionId=11309&_a=summary

@leonardp I see you are working on building issues in #92, do you have any insight?

leonardp commented 2 years ago

Hello! I don't have access to any Windows/OSX build machines so I cannot test your build. AFAICT the relevant error for Windows is:

    LINK : fatal error LNK1181: cannot open input file '.\nng\build\Release\nng.lib'

Is there some conda equivalent to python setup.py develop? This is the line where you might be interested in if it's only a matter of some misconfigured path (maybe try an absolute path?).

For OSX you seem to run into an issue with libtool -> this might help

carlodri commented 2 years ago

thanks! I saw the windows path problem, but wasn't sure if to use absolute paths or something else..

Thanks for the tip on OSX, will try some hack .

carlodri commented 1 year ago

I have managed to rebuild pynng on conda-forge, where windows and Python 3.10 builds are available.