You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by Apache Wiki <wi...@apache.org> on 2009/01/21 17:48:10 UTC
[Thrift Wiki] Update of "GettingUbuntuPackages" by MarcoMolteni
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change notification.
The following page has been changed by MarcoMolteni:
http://wiki.apache.org/thrift/GettingUbuntuPackages
The comment on the change is:
Add the non-invasive workaround with the CONFIG_SHELL environment variable
------------------------------------------------------------------------------
The issue has been traced to {{{/bin/sh }}} which in Ubuntu 8.10 is a symlink to {{{/bin/dash}}}.
- '''A workaround:'''
+ '''workaround 1:''' (invasive)
- Symlink {{{/bin/sh}}} to a more capable shell like {{{/bin/bash}}}:
+ Symlink {{{/bin/sh}}} to {{{/bin/bash}}}:
{{{
- cd /bin
- sudo mv sh sh.bak
- sudo ln -s /bin/bash sh
+ sudo ln -f -s /bin/bash /bin/sh
+ }}}
- Now re-run ./configure in the thrift directory
+ Now re-run ./configure in the thrift directory.
- make
- sudo make install
+
+ '''Workaround 2:''' (non invasive)
+ Just set the environment variable CONFIG_SHELL:
+ {{{
+ $ CONFIG_SHELL=/bin/bash ./configure
}}}
== Unofficial packages ==