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 ==

Reply via email to