raindrops RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Troex Nevelin <list@mrtech.ru>
To: raindrops@librelist.com
Subject: Build failed on FreeBSD
Date: Thu, 14 Apr 2011 02:56:33 +0400	[thread overview]
Message-ID: <4DA62A21.6020004@mrtech.ru> (raw)
In-Reply-To: <4DA62A21.6020004@mrtech.ru>


I know raindrops uses some linux-specific features, but as I understand
it can work on any unix. I have some project that have couple backend
server and these servers are running different OSes. So I'm using one
copy of my software (via NFS) to run on both and I want it to run
platform indeptended, but raindrops fails to build on FreeBSD:

[root@billing-local ~]# gem install raindrops
Building native extensions.  This could take a while...
ERROR:  Error installing raindrops:
	ERROR: Failed to build gem native extension.

         /usr/local/bin/ruby18 extconf.rb
checking for mmap() in sys/mman.h... yes
checking for munmap() in sys/mman.h... yes
checking for mremap() in sys/mman.h... no
checking for getpagesize() in unistd.h... yes
checking for rb_thread_blocking_region()... no
checking for rb_thread_io_blocking_region()... no
checking for GCC 4+ atomic builtins... yes
creating Makefile

cc -I. -I. -I/usr/local/lib/ruby/1.8/i386-freebsd8 -I. -DHAVE_MMAP 
-fno-strict-aliasing  -fPIC  -march=i486 -c linux_inet_diag.c
cc -I. -I. -I/usr/local/lib/ruby/1.8/i386-freebsd8 -I. -DHAVE_MMAP 
-fno-strict-aliasing  -fPIC  -march=i486 -c linux_tcp_info.c
cc -I. -I. -I/usr/local/lib/ruby/1.8/i386-freebsd8 -I. -DHAVE_MMAP 
-fno-strict-aliasing  -fPIC  -march=i486 -c raindrops.c
raindrops.c: In function 'init':
raindrops.c:105: error: 'MAP_ANON' undeclared (first use in this function)
raindrops.c:105: error: (Each undeclared identifier is reported only once
raindrops.c:105: error: for each function it appears in.)
*** Error code 1

Stop in /usr/local/lib/ruby/gems/1.8/gems/raindrops-0.6.1/ext/raindrops.

Gem files will remain installed in 
/usr/local/lib/ruby/gems/1.8/gems/raindrops-0.6.1 for inspection.
Results logged to 
[root@billing-local ~]# ruby --version
ruby 1.8.7 (2009-04-08 patchlevel 160) [i386-freebsd8]
[root@billing-local ~]# gem --version
[root@billing-local ~]# uname -a
FreeBSD billing-local 8.0-RELEASE-p4 FreeBSD 8.0-RELEASE-p4 #0: Mon Jul 
12 20:22:27 UTC 2010 
root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

       reply	other threads:[~2011-04-13 22:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-13 22:56 Troex Nevelin [this message]
2011-04-14  0:30 ` Build failed on FreeBSD Eric Wong
2011-06-23 14:08   ` Troex Nevelin
2011-06-24  8:08     ` Eric Wong
2011-06-25  0:19       ` Eric Wong
2011-06-27 10:00         ` Troex Nevelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: http://yhbt.net/raindrops/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DA62A21.6020004@mrtech.ru \
    --to=list@mrtech.ru \
    --cc=raindrops@librelist.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).