[sharp-discuss] installation error "during host resources" on Mac OS X 10.5.4

Claus Flensburg claus at globalphasing.com
Wed Jul 2 08:03:44 UTC 2008


Hi Enrico,

On Tue, Jul 01, 2008 at 01:45:09PM -0500, Enrico Malito wrote:
> Hello,
> I have seen the installation problem I am experiencing has been  
> already discussed, and exactly here:
> http://www.globalphasing.com/pipermail/sharp-discuss/2008-May/001914.html
> 
> I was now wondering if by any chance it has been addressed.
> Is there anybody that was able to install sharp on leopard?

here is a solution suggested by Andrey S Krasilnikov:

================================
OS X 10.5 SHARP installation
   
An issue with SHARP installation under OS 10.5 (Leopard) was reported
(SHARP-DISCUSS Digest V 38,##3,4: ERROR: unable to use the "echo -n" wrapper '
message)).
The problem is apparently related to the UNIX 03 conformance of OS X 10.5: the
installSHARP script (used for the automatic installation of SHARP) is written
for sh shell, which does not recognize the "echo -n" command in OS X 10.5 (as
opposed to OS X 10.4 and the earlier versions). This does not allow the
straightforward installation of SHARP with OS X 10.5.
   
The following safe and easy walk-around is suggested:
   
Before attempting to run installSHARP script, the sh shell should be switched
to the LEGACY mode. For example, in bash you should say;
   
$            COMMAND_MODE=legacy sh
   
You can test if this changed the sh behavior:
   
In sh try issuing "echo -n TEST" command:
OS X 10.5 in the default mode will give you  the wrong "-n TEST" output; after
you switch to the legacy mode, you will get the proper "TEST" response.
   
   
This has allowed me to install SHARP with OS X 10.5, and the installation seems
to be working (at least with the provided examples).

Andrey Krasilnikov

===============================

Additionally after installation you can add the two lines:

COMMAND_MODE=legacy
export COMMAND_MODE

to the top of $BDG_home/.bdgrc and $BDG_home/opsys/Darwin.


Thanks to Andrey for the helpful suggestion.


With best wishes,

ClAuS


More information about the sharp-discuss mailing list