Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Difficulty installing ruby gem termios

Reply
Thread Tools

Difficulty installing ruby gem termios

 
 
Jonathan Wallace
Guest
Posts: n/a
 
      10-24-2006
Hello,
I've just put a fresh install of kubuntu 6.06.1i on my computer. I'm
trying to install the ruby gem termios-0.9.4, with gem 0.9.0 and ruby
1.8.4. I've used the following commands to no avail.
sudo gem install termios --include-dependencies -- --build-flags
--with-opt-dir=/usr
sudo gem install termios --include-dependencies

I receive the same error in my mkmf.log file every time. Here's the my
mkmf.log file from one run:
have_header: checking for termios.h... -------------------- no

"gcc -E -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/include -Wall -g -O2
-fPIC conftest.c -o conftest.i"
checked program was:
/* begin */
#include <termios.h>
/* end */

--------------------


I've used adept (the graphical package manager for kde) to install
libtermios-ruby, libtermios-ruby1.8, ruby1.8, ruby1.8-dev, and
libc6-dev. My mkmf.log shows that I'm missing the termios.h file. I
can see that I have a termios.h file located in /usr/include though,
from the results above, I am assuming it is not the correct one. I've
searched google for termios.h, the package contents for ubuntu for
termios.h
(http://packages.ubuntu.com/cgi-bin/s...ge=1&number=50)
and I have no clue what to try next.

Any ideas? Am I missing something simple here?
Thanks in advance,
Jonathan

 
Reply With Quote
 
 
 
 
Jonathan Wallace
Guest
Posts: n/a
 
      10-24-2006
For future reference, this is the error one gets when gcc is not
installed. *blush*

On Oct 23, 9:10 pm, "Jonathan Wallace" <jonathan.wall...@gmail.com>
wrote:
> Hello,
> I've just put a fresh install of kubuntu 6.06.1i on my computer. I'm
> trying to install the ruby gem termios-0.9.4, with gem 0.9.0 and ruby
> 1.8.4. I've used the following commands to no avail.
> sudo gem install termios --include-dependencies -- --build-flags
> --with-opt-dir=/usr
> sudo gem install termios --include-dependencies
>
> I receive the same error in my mkmf.log file every time. Here's the my
> mkmf.log file from one run:
> have_header: checking for termios.h... -------------------- no
>
> "gcc -E -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/include -Wall -g -O2
> -fPIC conftest.c -o conftest.i"
> checked program was:
> /* begin */
> #include <termios.h>
> /* end */
>
> --------------------
>
> I've used adept (the graphical package manager for kde) to install
> libtermios-ruby, libtermios-ruby1.8, ruby1.8, ruby1.8-dev, and
> libc6-dev. My mkmf.log shows that I'm missing the termios.h file. I
> can see that I have a termios.h file located in /usr/include though,
> from the results above, I am assuming it is not the correct one. I've
> searched google for termios.h, the package contents for ubuntu for
> termios.h
> (http://packages.ubuntu.com/cgi-bin/s...ord=termios.h&...)
> and I have no clue what to try next.
>
> Any ideas? Am I missing something simple here?
> Thanks in advance,
> Jonathan


 
Reply With Quote
 
 
 
 
Ken Bloom
Guest
Posts: n/a
 
      10-24-2006
On Mon, 23 Oct 2006 18:16:29 -0700, Jonathan Wallace wrote:

> For future reference, this is the error one gets when gcc is not
> installed. *blush*


The proper solution to this problem would thus be to install the package
"build-essential" which pulls in GCC as well as other important tools like
make and the linker.

--Ken Bloom

> On Oct 23, 9:10 pm, "Jonathan Wallace" <jonathan.wall...@gmail.com>
> wrote:
>> Hello,
>> I've just put a fresh install of kubuntu 6.06.1i on my computer. I'm
>> trying to install the ruby gem termios-0.9.4, with gem 0.9.0 and ruby
>> 1.8.4. I've used the following commands to no avail.
>> sudo gem install termios --include-dependencies -- --build-flags
>> --with-opt-dir=/usr
>> sudo gem install termios --include-dependencies
>>
>> I receive the same error in my mkmf.log file every time. Here's the my
>> mkmf.log file from one run:
>> have_header: checking for termios.h... -------------------- no
>>
>> "gcc -E -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/include -Wall -g -O2
>> -fPIC conftest.c -o conftest.i"
>> checked program was:
>> /* begin */
>> #include <termios.h>
>> /* end */
>>
>> --------------------
>>
>> I've used adept (the graphical package manager for kde) to install
>> libtermios-ruby, libtermios-ruby1.8, ruby1.8, ruby1.8-dev, and
>> libc6-dev. My mkmf.log shows that I'm missing the termios.h file. I
>> can see that I have a termios.h file located in /usr/include though,
>> from the results above, I am assuming it is not the correct one. I've
>> searched google for termios.h, the package contents for ubuntu for
>> termios.h
>> (http://packages.ubuntu.com/cgi-bin/s...ord=termios.h&...)
>> and I have no clue what to try next.
>>
>> Any ideas? Am I missing something simple here?
>> Thanks in advance,
>> Jonathan




--
Ken Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/
I've added a signing subkey to my GPG key. Please update your keyring.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't install//use the scrubyt gem? LoadError: no such file to load-- parse_tree_reloaded. What did I wrong with installing this gem? kazaam Ruby 1 08-29-2007 02:42 PM
RubyGems 0.9.1 calling a gem with gem '<gem>' Austin 7873 Ruby 5 01-27-2007 10:05 PM
ruby-termios Robin Stephens Ruby 0 01-24-2007 08:31 AM
Error Installing 'termios' [ld: fatal: file crt1.o: open failed: No such file or directory] x1 Ruby 0 10-30-2005 06:50 AM
ruby-termios: Patch to make it work under both 1.8 and 1.9 Lloyd Zusman Ruby 2 05-27-2005 07:59 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57