Displaying 20 results from an estimated 1000 matches similar to: "Problems about installing ruby from source on linux"
2010 Mar 11
14
trying to install postgres gem on fedora 12 ..
I get these errors :
gem install pg -- --with-pgsql-include-dir=''/usr/include/pgsql'' --
with-pgsql-lib-dir=''/usr/lib/pgsql''
Building native extensions. This could take a while...
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb --with-pgsql-include-dir=/usr/include/pgsql --
with-pgsql-lib-dir=/usr/lib/pgsql
2019 Jan 09
7
Help finishing off Centos 7 RAID install
I've just finished installing a new Bacula storeage server. Prior to doing the
install I did some research and ended up deciding to do the following
config.
6x4TB drives
/boot/efi efi_fs sda1
/boot/efi_copy efi_fs sdb1
/boot xfs RAID1 sda2 sdb2
VG RAID6 all drives containing
SWAP
/
/home
/var/bacula
Questions:
1) The big problem with this is that it is dependant on sda for
2015 Feb 06
0
Re: Patchable build problems on OS X 10.10
On Thu, Feb 05, 2015 at 10:53:06PM +0000, Margaret Lewicka wrote:
> Hello,
>
> I'm attempting to create a Homebrew formula to get libguestfs to
> compile on Mac OS X. I've managed to achieve success with several
> monkey patches, but since Homebrew's policy is to contact maintainers
> about proper fixes in upstream, I would like to ask if there are any
> plans to
2012 Jan 30
0
Installing RMagick on CentOS 5
I''m have a very big trouble with my project.
I install RMagick on Centos, and catch error:
I use RVM + ruby 1.9.3
[kastet@v989 ~]$ gem install rmagick
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
/home/kastet/.rvm/rubies/ruby-1.9.3-p0/bin/ruby extconf.rb
checking for Ruby version >=
2009 Sep 16
12
Connecting to Oracle (Solaris Sparc 10)
My company''s System-admin installed Ruby and Gems (using Sun Coolstack
package) and I have sudo access to ruby, gem etc. Now I need to get my
app to talk to oracle db (through network).
From what I understand, it requires three steps:
Step 1: Install oracle instant client ( I installed it in my ~/oracle/
instantclient_11_1)
Step2: Install OCI8 libraries (this is where I am stuck). Here is
2010 Jan 23
10
Trouble creating mingw binary
Hi,
I''m trying to build a binary for win32-open with a mingw install but
I''m having trouble. I''ve installed MinGW 5.1.6 and I''ve got gcc, etc.
But, when I run "ruby extconf.rb; make" I get the following error:
C:\Documents and Settings\djberge\Repositories\win32-open3\ext>ruby extconf.rb
checking for ruby/io.h... no
checking for rb_pid_t in
2019 Jan 10
3
Help finishing off Centos 7 RAID install
> On 1/9/19 2:30 AM, Gary Stainburn wrote:
>> 1) The big problem with this is that it is dependant on sda for booting.
>> I
>> did find an aritcle on how to set up boot loading on multiple HDD's,
>> including cloning /boot/efi but I now can't find it. Does anyone know
>> of a
>> similar article?
>
>
> Use RAID1 for /boot/efi as well.? The
2014 Jan 16
1
[PATCH] hivex: ruby: Support 'make INSTALLDIRS=vendor install' for Ruby
(This is the same change as 87c9ec881cb695724e01d9f6fc9df996d4c67cb6
in libguestfs.)
---
ruby/Makefile.am | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/ruby/Makefile.am b/ruby/Makefile.am
index e78ab59..7a5fe42 100644
--- a/ruby/Makefile.am
+++ b/ruby/Makefile.am
@@ -45,13 +45,17 @@ all:
$(RAKE) build
$(RAKE) rdoc
-RUBY_SITELIB := $(shell $(RUBY)
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
2013 Jan 02
1
[PATCH] ruby: add -DGUESTFS_PRIVATE_FUNCTIONS=1 to CFLAGS
Signed-off-by: Olaf Hering <olaf at aepfle.de>
---
This, and the CFLAGS change it depends on should be backported to 1.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
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
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
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
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 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
2013 Aug 29
3
ruby connect oracle problem
Hello folks.
I''m new in Ruby also ROR.
I installed oracle intant client and test it it works fine. Now I wanna
connect to oracle db. But its got some error. like this
*custom_require.rb:36:in `require'': cannot load such file -- oci8
(LoadError)*
my code is here.
require ''oci8''
oci =
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
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
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.
2009 Nov 03
1
Installing Feedzirra (and Curl/Curb) on Windows Vista
I''m trying to use Feedzirra within my rails app and am having a
mountain of trouble trying to get the gem installed.
Running "gem install pauldix-feedzirra" gives me the following output.
ERROR: Error installing pauldix-feedzirra:
ERROR: Failed to build gem native extension.
"C:/Program Files/Ruby/186-26/bin/ruby.exe" extconf.rb
checking for curl-config...