Quite probably this should be changed not to use a GNU extension, but
there are several platforms where the vendor sed is unable to handle
some of our C WS service packages. That's probably why it hasn't been
much of an issue before, since we list it as a requirement on our
software prereq page. I'll talk to the script owner about it.
Charles
On Aug 14, 2008, at 4:22 PM, Mei-Hui Su wrote:
Hi Charles,
Do you have GNU sed installed?
I don't think this solaris box has gnu sed. It has minimal gnu
utilities on it. It is not my machine but I could install a local copy
of gnu sed if that is really necessary. I did work out a replacement
script and rest of the globus code(that I needed) build with no
problem.
#!/bin/sh
. $GLOBUS_LOCATION/etc/globus-user-env.sh
hn=`$GLOBUS_LOCATION/bin/globus-hostname`
perl -i.bak -pe "s{@@HOST@@}{$hn}g"
$GLOBUS_LOCATION/etc/globus_wsrf_mds_index/default
_providers/*.xml
perl $GLOBUS_LOCATION/setup/globus/setup-mds-example-provider.pl
exit 0
note, I also replaced the 'source' to '.' in the script.
thanks
mei