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

Error compiling from source on cygwin64 #54

Open
buzain opened this issue Feb 29, 2016 · 0 comments
Open

Error compiling from source on cygwin64 #54

buzain opened this issue Feb 29, 2016 · 0 comments

Comments

@buzain
Copy link

buzain commented Feb 29, 2016

When I try to compile rbczmq from source on cygwin64 running on Windows 10 I get the following error thrown by rake. Any ideas how to make it work? I need rbczmq to run iruby notebook in cygwin64.

CXXLD libzmq.la
libtool: error: can't build x86_64-unknown-cygwin shared library unless -no-undefined is specified
Makefile:651: recipe for target 'libzmq.la' failed
make[2]: *** [libzmq.la] Error 1
make[2]: Leaving directory '/tmp/tmp1/rbczmq/ext/zeromq/src'
Makefile:563: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/tmp/tmp1/rbczmq/ext/zeromq/src'
Makefile:414: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
ZeroMQ compile error!
*** ../../../../ext/rbczmq/extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=../../../../ext/rbczmq
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)
--with-system-libs
--without-system-libs
--with-system-libs
--without-system-libs
rake aborted!
Command failed with status (1): [/usr/bin/ruby.exe -I. ../../../../ext/rbcz...]
/usr/share/gems/gems/rake-compiler-0.9.3/lib/rake/extensiontask.rb:188:in block (2 levels) in define_compile_tasks' /usr/share/gems/gems/rake-compiler-0.9.3/lib/rake/extensiontask.rb:185:inblock in define_compile_tasks'
Tasks: TOP => default => test => compile => compile:x86_64-cygwin => compile:rbczmq_ext:x86_64-cygwin => copy:rbczmq_ext:x86_64-cygwin:2.2.4 => tmp/x86_64-cygwin/rbczmq_ext/2.2.4/rbczmq_ext.so => tmp/x86_64-cygwin/rbczmq_ext/2.2.4/Makefile

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

1 participant