# Help w/ rb-termios, rb-mysql installation

**URL:** <https://www.ruby-forum.com/t/help-w-rb-termios-rb-mysql-installation/107432>\
**Category:** Rails\
**Created:** [June 21, 2007, 7:37pm UTC](https://www.ruby-forum.com/t/help-w-rb-termios-rb-mysql-installation/107432 "2007-06-21T19:37:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [June 21, 2007, 7:37pm UTC](https://www.ruby-forum.com/t/help-w-rb-termios-rb-mysql-installation/107432/1 "2007-06-21T19:37:11Z")

</div>

I’m following the tutorial at  
[http://blog.duncandavidson.com/2006/04/sandboxing\_rail.html](http://blog.duncandavidson.com/2006/04/sandboxing_rail.html)  
to install Rails using Macports, but I’m running into some trouble with  
the rb-termios and rb-mysql installations:

> sudo port install rb-termios  
> Password:  
> —\> Configuring rb-termios  
> Error: Target com.apple.configure returned: configure failure: shell  
> command " cd  
> “/opt/local/var/db/dports/build/\_opt\_local\_var\_db\_dports\_sources\_rsync.rsync.darwinports.org\_dpupdate\_dports\_ruby\_rb-termios/work/ruby-termios-0.9.4”  
> && /opt/local/bin/ruby -rvendor-specific extconf.rb --prefix=/opt/local  
> " returned error 1  
> Command output: /opt/local/bin/ruby: no such file to load –  
> vendor-specific (LoadError)

Error: Status 1 encountered during processing.

Any idea what’s wrong? I tried making a symlink from /opt/usr/bin/ruby  
to /opt/local/bin/ruby, but no dice.

Thanks

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [June 21, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/help-w-rb-termios-rb-mysql-installation/107432/2 "2007-06-21T19:53:19Z")

</div>

On 6/21/07, Iskaldur [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Error: Target com.apple.configure returned: configure failure: shell
> 
> Any idea what’s wrong? I tried making a symlink from /opt/usr/bin/ruby  
> to /opt/local/bin/ruby, but no dice.

did you change your macports install prefix for ruby (to /opt/usr/ ) but  
not  
for termios (which seems to be using /opt/local)?

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [June 21, 2007, 8:09pm UTC](https://www.ruby-forum.com/t/help-w-rb-termios-rb-mysql-installation/107432/3 "2007-06-21T20:09:06Z")

</div>

I don’t think so (not deliberately)–I just downloaded and ran the .dmg.  
So I should change the install prefix for termios? How would I do this?

unknown wrote:

> On 6/21/07, Iskaldur [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Error: Target com.apple.configure returned: configure failure: shell
> > 
> > Any idea what’s wrong? I tried making a symlink from /opt/usr/bin/ruby  
> > to /opt/local/bin/ruby, but no dice.
> 
> did you change your macports install prefix for ruby (to /opt/usr/ ) but  
> not  
> for termios (which seems to be using /opt/local)?
