[yocto] Building zeromqjs (zeromq bindings for nodejs) fails

Jon Ove Storhaug jostorha at gmail.com
Fri Nov 16 03:25:20 PST 2018


I am trying to build the zeromqjs (zeromq bindings for nodejs). This is my
recipe:

SUMMARY = " "
LICENSE = "MIT"
LIC_FILES_CHKSUM =
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "npm://registry.npmjs.org
;name=zeromq;version=5.1.0;subdir=node_modules/zeromq"
SRC_URI[md5sum] = "36be4c59012eee825fb86d7dcb336468"
SRC_URI[sha256sum] =
"5a0450bb3f1f603974c51fc1726a1fbd05f3d0091d3951b36f1ddb961e991031"
#DEPENDS += "zeromq"
inherit npm

I am getting errors:
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
Full output: https://gist.github.com/jostor/e200d7993cbc0b271aeddc7421ad3a46
I have also tried with DEPENDS += "zeromq". Then I am also getting errors:
https://gist.github.com/jostor/495f91b35b0fff839c6b284293bc9c04

I see there are some information about cross compiling here:
https://github.com/zeromq/zeromq.js/pull/158
But I don't know what I should do to make it work.

Does anyone know how to fix this?

Thanks in Advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20181116/f57407e0/attachment.html>


More information about the yocto mailing list