I am attempting to install SRSS on SuSE Enterprise 10 but the install
fails due to several "ProductName: is read only" errors. It looks
like the best fix is to repair the RPM. According to Bill Quayle the
library called "iu_lib" needs a small adjustment.

My question is this: Has someone (preferably someone from Sun) posted
the .spec file for building this RPM?

Thanks,
Jimmy

Bill's Original find and explanation:
Quayle, Bill
Wed, 13 Sep 2006 11:05:47 -0700

I'm also trying to do the install on RHEL AS 3 u4, and having the same
"read only" issue.

The SUNWuti-3.1-32.i386.rpm contains a library called "iu_lib"
On line 466 of that file, and within the GetPackagePath function is the
line:
 typeset -r ProductName="$1"
When the GetPackagePath function is called from the installer, it tries
to set ProductName, which is, of course, read only and cannot be set.
I'm not sure why this works under Solaris, but if you change the line to
read:
 typeset ProductName="$1"
re-build the rpm and stuff it back in place, you should be good to go.

I'm assuming this beta was tested on Linux - so it seems like an install
script should work...

Anyone at Sun care to comment?

Bill Quayle
Technical Specialist - Distributed Computing Research Lab
Chicago Mercantile Exchange
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to