Alan Hargreaves' Weblog

The ramblings of an Australian SaND TSC* Principal Field Technologist

* Solaris and Network Domain Technology Support Centre - The group I work for

Tags

(update 1) acoustic bind birthday blues bugs cec cec2007 cec2008 china cmt contention cringley debugging dogs dtrace earthquake encumbered-binaries extra flash funny google guitar halloween huron install kids linux liveupgrade locking mdb music mysql newyear niagra openjava opensolaris oracle patches patents percussion performance redhat secondlife security solaris sru sun support sxcr t2 t2000 timeslider ufs upgrade virtualbox windows youtube zfs
pageicon Tuesday Mar 01, 2005

Fixing Mozilla on Solaris Express 2/05

I mentioned the other day that there was a well used script that does not (yet) deal with uname -r returning 5.10.1.

You guessed it, the script in question is /usr/sfw/bin/mozilla.

The bug1 has the effect that if you double click on the mozilla icon, nothing happens. If you try to run mozilla, you get it telling you:

    Mozilla 1.7 requires Solaris 8 or later

Fortunately this is pretty easy to fix.

On lines 217-218 of /usr/sfw/bin/mozilla, you will see the following:

        case "$OS_VERSION" in
        "5.8" | "5.9" | "5.10" ) ;;

Simply change this to read :

        case "$OS_VERSION" in
        "5.8" | "5.9" | "5.10" | "5.10.1") ;;

I believe the real fix will be to remove this code entirely and has been done for build 10.

Technorati Tag:


1. 6212965 mozilla needs to understand uname -r returning 5.10.1 for nevada

Comments:

Post a Comment:
Comments are closed for this entry.