Displaying 20 results from an estimated 2000 matches similar to: "[PATCH] ruby: add -DGUESTFS_PRIVATE_FUNCTIONS=1 to CFLAGS"
2013 Jan 30
1
[PATCH] Make internal-only functions and structures private
Certain functions are intended to be internal only, but we currently
export them anyway. This change moves them into a separate section of
guestfs.h protected by a GUESTFS_PRIVATE variable. This change also
enables private structs, but doesn't implement any.
This change only affects the C api. Language bindings aren't affected,
but probably should be in the future.
---
align/Makefile.am
2017 Aug 10
3
[PATCH] ruby: fix order of CFLAGS
Shuffle the order of the various CFLAGS used when building the Ruby
extension: first the flags from manywarnings (gnulib), then libguestfs
own CFLAGS, and then -DGUESTFS_PRIVATE=1 (so it is not overridden).
This matches also what happens in automake parts, and makes it possible
to override any flags from manywarnings also in the Ruby extension.
---
ruby/ext/guestfs/extconf.rb.in | 5 +++--
1
2010 Feb 27
3
Oniguruma and Ultraviolet on Windows 7
Hi I have been tying to install the followings gems in order to add
code syntax highlighting to my application:
-Oniguruma
-Ultraviolet
-Harsh
Unfortunately I have been running into the the following errors when
running "gem install oniguruma ultraviolet"
Building native extensions. This could take a while...
ERROR: Error installing oniguruma:
ERROR: Failed to build gem
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
2009 Aug 13
2
if_indextoname on Windows?
Hi all,
Windows Vista Home Premium
VC++ 9
According 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'',
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.
2006 Jan 14
6
Error installing Rails/FastCGI/Apache2
Trying to install rails/fcgi/apache2. Following these instructions:
http://xmlareas.com/ruby-rails-howto.html
Using Fedora Core 4. I installed ruby and ruby-devel using apt-get.
Everything under Adding FastCGI (optional) works fine up to the gem install
fcgi part. Here is what happens:
[root@paulbarry fcgi-2.4.0]# gem install fcgi -r --
-with-fcgi-lib=/usr/local/fcgi/lib
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
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
2008 Jun 16
1
ERROR: Failed to build gem native extension
Hi,
I''m trtying to install postgress v0.7.9.2008.01.28 gems:
C:\>gem install -v=0.7.9.2008.01.28 postgres
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install -v=0.7.9.2008.01.28 postgres
checking for main() in /ms/libpq.lib... no
Could not
2009 Feb 24
1
building asterisk-1.6.0.6 failed!
Hi!
I have problems building asterisk 1.6.0.6.
./configure --prefix=/usr
make
gets me:
enerating embedded module rules ...
[CC] extconf.c -> extconf.o
In file included from /usr/local/include/datatypes.h:50,
from /usr/local/include/err.h:49,
from extconf.c:45:
/usr/local/include/integers.h:50:67: error: srtp_config.h: No such file
or directory
In file
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
2009 Jan 29
1
a large file available?
I need to deal with a large file (about more than 2G [byte]) with
eventmachine.
I wrote a simple program with using "stream_file_data" as send a large file
from client to server. But It didn''t work.
Applying below a quick fix patch, I think it works well.
Could you go over this patch?
Regards,
--
Kuroishi Mitsuo
diff -rup
2007 Apr 30
5
ERROR: Failed to build gem native extension.
Hi all,
I''d really appreciate some help with this...
As you see below, I tried to install mongrel after updating my gems, but I
get the error shown:
sudo gem install mongrel
Select which gem to install for your platform (i486-linux)
1. mongrel 1.0.1 (ruby)
2. mongrel 1.0.1 (mswin32)
3. mongrel 1.0 (mswin32)
4. mongrel 1.0 (ruby)
5. Skip this gem
6. Cancel installation
> 1
2014 Aug 30
1
Default lib/include dirs location in OS X
Hi,
I have installed libvirt via Homebrew = compiled from source
<https://github.com/Homebrew/homebrew/blob/master/Library/Formula/libvirt.rb>
.
Then I wanted to install *ruby-libvirt*
gem install ruby-libvirt
and end up with this error:
/usr/local/Cellar/ruby/2.1.2_3/bin/ruby extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
2007 Aug 28
5
ERROR: While executing gem ... (Gem::Installer::ExtensionBu
Hi all,
Sorry if this is answered somewhere -- I am new to ruby and to linux,
and can''t figure it out:
When I try to install ferret (see below), I get ERROR: While executing
gem ... (Gem::Installer::ExtensionBuildError). Same thing happens for
any version I pick from th list.
I am using:
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
ruby 1.8.5 (2006-08-25) [i486-linux]
gem 0.9.4
No idea
2012 Oct 01
10
Puppet 3.0 fails install on Solaris 10 w/ ruby 1.8.7
There''s a problem installing puppet on Solaris 10 -- in this situation, we
aren''t really doing anything with puppet there.
The version we''re using is:
ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-solaris2.9]
Here''s the first error:
# gem update puppet
>
> Updating installed gems
>
> Updating puppet
>
> Building native extensions. This
2005 Aug 02
8
Rake patch
This patch fixes the following:
- You can now use rake to build on Windows.
- You can now use rake install to install the lib, no more extconf.rb
needed! This should be cross platform, I took some code for installing
from the Makefile that extconf.rb generated as a basis. I have tested
it on OS X and will test tomorrow on Windows, I am 95% it will work
cross platform.
- I did get Windows
2006 Mar 17
2
Installing MySql using Ruby Gems
I''m using Kubuntu Breezy and I''m trying to install MySql using Ruby I''m
using ruby 1.8.3 and gem 0.8.11
#####
jimmyb@scooter:~$ sudo gem install mysql
Attempting local installation of ''mysql''
Local gem file not found: mysql*.gem
Attempting remote installation of ''mysql''
Updating Gem source index for: http://gems.rubyforge.org
2006 Jul 10
6
ubuntu & mongrel
I''m getting the following error. Which apt-get install <some missing
package> do I need to run? looks like some build tools.
Building native extensions. This could take a while...
extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError)
from extconf.rb:1
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.