Displaying 11 results from an estimated 11 matches for "have_func".
2009 Aug 13
2
if_indextoname on Windows?
...ording to MSDN, the if_indextoname() function should be included on
Vista:
http://msdn.microsoft.com/en-us/library/bb408408%28VS.85%29.aspx
However, I can''t get mkmf to see it. I tried all of these:
require ''mkmf''
if have_header(''netioapi.h'') # yes
have_func(''if_indextoname'', ''netioapi.h'') # no
have_func(''if_nametoindex'', ''netioapi.h'') # no
end
if have_header(''iphlpapi.h'') # yes
have_func(''if_indextoname'', ''iphlpapi.h'') # n...
2011 Jun 16
7
[PATCH] replace fchmod()-based heartbeat with raindrops
This means we no longer waste an extra file descriptor per
worker process in the master. Now there''s no need to set a
higher file descriptor limit for systems running >= 1024
workers.
---
I just pushed this out to git://bogomips.org/unicorn.git and it''ll
be in Unicorn 4.x.
The subset of raindrops used by Unicorn should work on all machines
with mmap(2) +
2013 Feb 18
4
Some fixes for building the Debian package for 1.20.2
I needed to add a few patches to be able to build libguestfs 1.20.2
out of tree. Mostly srcdir/builddir issues -- I think that I had
posted something for building the daemon before.
As mentioned on IRC, I found that compiling (Ruby bindings) caused
config.h file shipped with the Ruby headers to be included rather than
${builddir}/config.h. This can be fixed because the relevant checks
can be
2017 Aug 10
3
[PATCH] ruby: fix order of CFLAGS
...---
ruby/ext/guestfs/extconf.rb.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ruby/ext/guestfs/extconf.rb.in b/ruby/ext/guestfs/extconf.rb.in
index c4551fa6c..6b806101e 100644
--- a/ruby/ext/guestfs/extconf.rb.in
+++ b/ruby/ext/guestfs/extconf.rb.in
@@ -33,8 +33,9 @@ have_func("rb_define_alloc_func")
have_type("rb_alloc_func_t")
$CFLAGS =
- "#{$CFLAGS} @CFLAGS@ -DGUESTFS_PRIVATE=1 " <<
- "@WARN_CFLAGS@ @WERROR_CFLAGS@"
+ "#{$CFLAGS} " <<
+ "@WARN_CFLAGS@ @WERROR_CFLAGS@ " <<
+ "@C...
2010 Jun 08
2
gem install mysql giving error on linux
...tall development tools first.
from /usr/local/lib/ruby/1.8/mkmf.rb:432:in `try_link0''
from /usr/local/lib/ruby/1.8/mkmf.rb:437:in `try_link''
from /usr/local/lib/ruby/1.8/mkmf.rb:549:in `try_func''
from /usr/local/lib/ruby/1.8/mkmf.rb:794:in `have_func''
from /usr/local/lib/ruby/1.8/mkmf.rb:690:in `checking_for''
from /usr/local/lib/ruby/1.8/mkmf.rb:279:in `postpone''
from /usr/local/lib/ruby/1.8/mkmf.rb:253:in `open''
from /usr/local/lib/ruby/1.8/mkmf.rb:279:in `postpone''...
2010 Sep 23
3
Can't install mysql2 gem on Windows 7
...tools first.
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:435:in `try_link0''
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:440:in `try_link''
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:552:in `try_func''
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:797:in `block in
have_func''
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:693:in `block in
checking_for''
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 levels)
in postpone''
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open''
from C:/Ruby192/lib/ruby/1.9.1...
2010 Jun 14
6
ERROR: Failed to build gem native extension (win server 2003/2008 ruby 1.9.1/1.8.7)
...tools first.
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:417:in `try_link0''
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:421:in `try_link''
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:529:in `try_func''
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:774:in `block in
have_func''
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:670:in `block in
checking_for''
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:276:in `block (2
levels) in postp
one''
from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:250:in `open''
from C:/Ruby191/lib/ruby/1.9....
2015 Oct 05
0
Re: [PATCH] Remove multiple hacks that only apply to RHEL 5.
...> -#ifndef HAVE_RB_HASH_LOOKUP
> -VALUE
> -rb_hash_lookup (VALUE hash, VALUE key)
> -{
> - volatile VALUE val;
> -
> - if (!st_lookup (RHASH(hash)->tbl, key, &val))
> - return Qnil;
> -
> - return val;
> -}
> -#endif /* !HAVE_RB_HASH_LOOKUP */
The
have_func("rb_hash_lookup")
in ruby/ext/guestfs/extconf.rb.in could be removed then.
Thanks,
--
Pino Toscano
2013 Mar 07
7
Fixes from the patch queue of the Debian package
Here are three patches that fix issues with out-of-tree building and
one that uses Ruby's own autoconf stuff for determining how Ruby
bindings should be built.
Cheers,
-Hilko
2015 Oct 05
2
[PATCH] Remove multiple hacks that only apply to RHEL 5.
We don't support RHEL 5 upstream (see the 'oldlinux' branch for a
version that works with RHEL 5). Therefore remove a bunch of hacks
that were only needed on RHEL 5.
---
appliance/packagelist.in | 2 -
common-rules.mk | 8 -
daemon/parted.c | 455 +++++++++++-----------------------------
daemon/swap.c | 18 +-
2013 May 12
15
Advice needed --- Best way to get mysql2 gem installed to interact with Mysql Database?
Hi Group,
I''ve got mysql database installed and the server running on a Mac Pro with latest mountain lion setup 10.8.3.
I''m able to use mysql tools like mysql, mysqladmin to converse with it. :}
I use RVM''s scripts to fetch gems.
I''ve visited RVM''s website but their advise to get "mysql gem loaded" does the same thing as below aborted