I had the same problem and posted this to one of the TinyOS lists at the
end of October or thereabouts.  I didn't know about the file until I had
reinstalled RedHat from scratch.

locate-jre is definitely a big problem.  I couldn't even log in as root
properly without cancelling out first.

Elaine

On Fri, 28 Nov 2003, Mads Bondo Dydensborg wrote:

> Hi everyone
>
> I have spend the last day struggling with a fresh RH9.0 install and the
> RPMS from 2003.09.10 (September). We use them for a course, which is why I
> am not using the newer release. Anyway, there is a nasty error in the
> script that gets installed in
>
> /usr/local/bin/locate-jre
>
> This script is called from a login shell, from
> /etc/profile.d/tinyos.sh
>
> The script include the following lines:
>
>   # On Linux, we first try to find it from the rpm
>   j=`rpm -ql IBMJava2-SDK | grep '/javac$'`
>   if [ $? != 0 ]; then
>     # Next we try the path. But a nasty rpm may have removed them, so we
>     # recreate our default path...
>     PATH=`bash --login -c 'echo $PATH'`
>
> The problem is, that if you do not have any java installed, the line
>     PATH=`bash --login -c 'echo $PATH'`
> will run /usr/local/bin/locate-jre again....
>
> This took me more time to realize than I am prepared to tell you :-/
>
> This error may not be present in newer versions of the RPM - but if it is,
> please consider removing this problem.
>
> Thanks,
>
> Mads
>
> --
> +----------------------------------------------------------------------+
> |  Mads Bondo Dydensborg.               http://www.distlab.dk/madsdyd/ |
> |  +45 35 32 14 18                                                     |
> +----------------------------------------------------------------------+
> _______________________________________________
> Tinyos-users mailing list
> [EMAIL PROTECTED]
> http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
>


_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to