Displaying 10 results from an estimated 10 matches for "have_library".
2009 Aug 13
2
if_indextoname on Windows?
...#39;if_nametoindex'', ''netioapi.h'') # no
end
if have_header(''iphlpapi.h'') # yes
have_func(''if_indextoname'', ''iphlpapi.h'') # no
have_func(''if_nametoindex'', ''iphlpapi.h'') # no
end
have_library(''iphlpapi'') # yes
have_library(''iphlpapi'', ''if_indextoname'') # no
What gives?
BTW, this is in an effort to get dnssd to build on Windows.
Regards,
Dan
2010 Feb 27
3
Oniguruma and Ultraviolet on Windows 7
...ent tools first.
from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:417:in `try_link0''
from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:421:in `try_link''
from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:529:in `try_func''
from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:725:in `block in
have_library''
from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:670:in `block in
checking_for''
from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:276:in `block (2 levels)
in postpo
ne''
from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:250:in `open''
from C:/Ruby19/lib/ruby/1.9.1/mk...
2005 May 01
3
win32-dir 0.1.0 compile problems
I tried to download/compile/install win32-dir, but I couldn''t get it to
go. Over a private email Daniel Berger had me...
"Curious. What platform are you on exactly? Try
modifying the extconf.rb file. Add
''have_library("SHFolder")'' above
''have_library("shell32")''. If that doesn''t work, try
uncommenting the other two ''have_library'' calls."
I did those and the below is the output I get from running ''ruby
extconf.rb''...
2010 Jun 15
11
mysql gem install not happening on Mac OS Leopard - any inputs at all??
Hello all,
Ive got Mac OS X Leopard (10.5.8), ruby 1.8.6 (2009-06-08 patchlevel
369) [universal-darwin9.0] and mysql 5.0.67 installed and working fine
with Rails 2.1.0.
"which ruby" outputs /usr/bin/ruby. I can see the mysql symlink in /
usr/local/mysql. I can also see the mysql-5.0.67-osx10.5-x86 folder
in /usr/local .
Im trying to upgrade my Rails apps to 2.3.5 but when i try to
2013 Jan 02
1
[PATCH] ruby: add -DGUESTFS_PRIVATE_FUNCTIONS=1 to CFLAGS
....20.x
ruby/ext/guestfs/extconf.rb.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ruby/ext/guestfs/extconf.rb.in b/ruby/ext/guestfs/extconf.rb.in
index 15259ea..808ff9e 100644
--- a/ruby/ext/guestfs/extconf.rb.in
+++ b/ruby/ext/guestfs/extconf.rb.in
@@ -30,7 +30,7 @@ unless have_library("guestfs", "guestfs_create", "guestfs.h")
end
$CFLAGS =
- "#{$CFLAGS} @CFLAGS@ -DGUESTFS_PRIVATE_FUNCTIONS=1 " <<
+ "#{$CFLAGS} @CFLAGS@ -DGUESTFS_PRIVATE_FUNCTIONS=1 -DGUESTFS_PRIVATE_FUNCTIONS=1" <<
"@WARN_CFLAGS@ @WERROR...
2007 Dec 11
2
Build issues on Leopard
Hello,
I''m having some issues building r190 on Leopard (10.5.1):
$ rake
(in /Users/johan/temp/superredcloth)
ragel superredcloth_scan.rl | rlgen-cd -G2 -o superredcloth_scan.c
ragel superredcloth_inline.rl | rlgen-cd -G2 -o superredcloth_inline.c
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
extconf.rb
checking for main() in -lc... yes
creating Makefile
make
gcc -I.
2004 Jul 06
13
XRC Resources
I currently use DialogBlocks to generate my dialogs for wxWidgets apps I
write in C++. DialogBlocks has the ability to generate XRC resources
which I would like to use with wxRuby, is this possible?
I am very new to Ruby and it looks like a great language and with wxRuby
it looks like a great solution for quick in house applications.
Thanks
Sean Long
2006 Jan 14
6
Error installing Rails/FastCGI/Apache2
...lib/ruby/1.8/i386-linux
-I/usr/local/fcgi/include -O0 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -Wall -fPIC
conftest.c -o conftest.i"
checked program was:
/* begin */
#include <fcgiapp.h>
/* end */
--------------------
have_library: checking for FCGX_Accept() in -lfcgi... --------------------
no
"i386-redhat-linux-gcc -o conftest -I. -I/usr/lib/ruby/1.8/i386-linux
-I/usr/local/fcgi/include -O0 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -Wall -fPIC
confte...
2008 Jun 16
1
ERROR: Failed to build gem native extension
...--with-/ms/libpqlib
--without-/ms/libpqlib
Gem files will remain installed in
c:/ruby/lib/ruby/gems/1.8/gems/postgres-0.7.9
.2008.01.28 for inspection.
Results logged to
c:/ruby/lib/ruby/gems/1.8/gems/postgres-0.7.9.2008.01.28/ext/g
em_make.out
The mkmf.log file has following info:
have_library: checking for main() in /ms/libpq.lib...
--------------------
no
"cl -nologo -Feconftest -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I.
-Ic:/ruby/lib/ruby/1.8/i386-mswin32 -MD -Zi -O2b2xg- -G6 conftest.c
msvcrt-ruby18-static.lib /ms/libpq.lib oldnames.lib user32.lib
advapi32.lib
ws2_32.lib...
2013 Jan 30
1
[PATCH] Make internal-only functions and structures private
...GS) $(WERROR_CFLAGS) \
-I$(PYTHON_INCLUDEDIR) \
-I$(top_srcdir)/src -I$(top_builddir)/src
diff --git a/ruby/ext/guestfs/extconf.rb.in b/ruby/ext/guestfs/extconf.rb.in
index 15259ea..269ca81 100644
--- a/ruby/ext/guestfs/extconf.rb.in
+++ b/ruby/ext/guestfs/extconf.rb.in
@@ -30,7 +30,7 @@ unless have_library("guestfs", "guestfs_create", "guestfs.h")
end
$CFLAGS =
- "#{$CFLAGS} @CFLAGS@ -DGUESTFS_PRIVATE_FUNCTIONS=1 " <<
+ "#{$CFLAGS} @CFLAGS@ -DGUESTFS_PRIVATE=1 " <<
"@WARN_CFLAGS@ @WERROR_CFLAGS@"
create_header
diff --...