Help w/ rb-termios, rb-mysql installation

I’m following the tutorial at
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

On 6/21/07, Iskaldur [email protected] 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)?

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 [email protected] 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)?