Skip to content

Unable to install pbdZMQ #33

@seekshreyas

Description

@seekshreyas

Hi
I'm unable to install pbdZMQ package, needed as a dependency for IRkernel.

Error

ERROR: compilation failed for package ‘pbdZMQ’
* removing ‘/Users/shreyas/anaconda/lib/R/library/pbdZMQ’
* restoring previous ‘/Users/shreyas/anaconda/lib/R/library/pbdZMQ’
Error: Command failed (1)

Command

install_github("RBigData/pbdZMQ")

Using the Github version because it gave the same error when installing via CRAN

Full Error

Downloading GitHub repo RBigData/pbdZMQ@master
from URL https://api.github.com/repos/RBigData/pbdZMQ/zipball/master
Installing pbdZMQ
'/Users/shreyas/anaconda/lib/R/bin/R' --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  '/private/var/folders/22/gqtzzjw558704rxdbx3t463r0000gp/T/Rtmp63VrUX/devtools3b57643b1152/RBigData-pbdZMQ-3f78dbe'  \
  --library='/Users/shreyas/anaconda/lib/R/library' --install-tests

* installing *source* package ‘pbdZMQ’ ...
checking for pkg-config... no

****************** Results of pbdZMQ package configure *****************

>> GET_PKG_CONFIG = no
>> GET_SYSTEM_ZMQ = no
>> PKG_CONFIG =
>> SYSTEM_ZMQ_INCLUDEDIR =
>> SYSTEM_ZMQ_LIBDIR =
>> ENABLE_INTERNAL_ZMQ = no
>> INTERNAL_ZMQ_INCLUDEDIR = ./zmqsrc/include
>> INTERNAL_ZMQ_LIBDIR = ./
>> EXTERNAL_ZMQ_INCLUDE =
>> EXTERNAL_ZMQ_LDFLAGS =
>> ZMQ_INCLUDE = -I./zmqsrc/include
>> ZMQ_LDFLAGS = -L./ -lzmq
>> EXT_LIBS = $(R_ZMQ)
>> ZMQ_POLLER = select

************************************************************************

configure: creating ./config.status
config.status: creating src/Makevars
configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating src/build_zmq
configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating src/build_zmq
config.status: creating R/zzz.r
** libs
( sh ./chmod_zmq.inc; cd zmqsrc; sh ../build_zmq )
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/private/var/folders/22/gqtzzjw558704rxdbx3t463r0000gp/T/Rtmp63VrUX/devtools3b57643b1152/RBigData-pbdZMQ-3f78dbe/src/zmqsrc':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
make[1]: *** No rule to make target `all'.  Stop.
make[1]: *** No rule to make target `install'.  Stop.
make: *** [libzmq] Error 2
ERROR: compilation failed for package ‘pbdZMQ’
* removing ‘/Users/shreyas/anaconda/lib/R/library/pbdZMQ’
* restoring previous ‘/Users/shreyas/anaconda/lib/R/library/pbdZMQ’
Error: Command failed (1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions