[Tinyos-help] error tinyos-tools rpms install

Phoebus Wei-chih Chen phoebusc at imail.EECS.Berkeley.EDU
Tue Sep 18 19:47:29 PDT 2007


I'm getting the same error.  When I run

 	rpm -qp --scripts tinyos-tools-1.2.4-3.i386.rpm

I see that the postinstall script does not have one of the variables,
$tinyoslibdir defined.

> rpm -qp --scripts tinyos-tools-1.2.4-3.i386.rpm | grep tinyoslibdir -n
26:for lib in $tinyoslibdir/*-$bits.so; do

Apparently, this is a problem with the rpms
 	tinyos-tools-1.2.4-xxx
at http://www.tinyos.net/dist-2.0.0/tinyos/linux/ but was not a problem
in tinyos-tools-1.2.3-1.i386.rpm .  I believe $tinyoslibdir should be
/usr/lib/tinyos/ .  Could someone with access to the RPM files fix this?

Phoebus


> I am getting the following error when attempting to install the
> tinyos-tools rpms package:
> 
> sudo rpm -ivh --force tinyos-tools-1.2.4-3.i386.rpm
> Preparing... 
> ###########################################
> [100%]
>    1:tinyos-tools 
> ###########################################
> [100%]
> Installing 32-bit Java JNI code in /usr/java/default/jre/bin ...
> install: cannot stat `/*-32.so': No such file or directory
> error: %post(tinyos-tools-1.2.4-3.i386) scriptlet failed, exit status 
> 1
> 
> My /usr/java/default references the IBM Java 5 JDK, and I am running
> CentOS 5 (RHEL 5).  What is this *-32.so?  Can anyone help?
>
> Thanks,
> Paula



More information about the Tinyos-help mailing list